Lines Matching refs:hash
25 * md4_vector - MD4 hash for data vector
29 * @mac: Buffer for the hash
35 * md5_vector - MD5 hash for data vector
39 * @mac: Buffer for the hash
46 * sha1_vector - SHA-1 hash for data vector
50 * @mac: Buffer for the hash
72 * sha256_vector - SHA256 hash for data vector
76 * @mac: Buffer for the hash
144 * crypto_hash_init - Initialize hash/HMAC function
146 * @key: Key for keyed hash (e.g., HMAC) or %NULL if not needed
148 * Returns: Pointer to hash context to use with other hash functions or %NULL
159 * crypto_hash_update - Add data to hash calculation
171 * crypto_hash_finish - Complete hash calculation
173 * @hash: Buffer for hash value or %NULL if caller is just freeing the hash
176 * hash context; on return, this is set to the actual length of the hash value
180 * This function calculates the hash value and frees the context buffer that
181 * was used for hash calculation.
187 int crypto_hash_finish(struct crypto_hash *ctx, u8 *hash, size_t *len);