def METHOD_NAME(self, data):
    """Continue hashing of a message by consuming the next chunk of data.
    Args:
        data (byte string/byte array/memoryview): The next chunk of the message being hashed.
    """
    result = _raw_sha1_lib.SHA1_update(self._state.get(),
                                       c_uint8_ptr(data),
                                       c_size_t(len(data)))
    if result:
        raise ValueError("Error %d while instantiating SHA1"
                         % result)