Synchronous Message Digest API

crypto_alloc_hash — allocate synchronous message digest handle
crypto_free_hash — zeroize and free message digest handle
crypto_has_hash — Search for the availability of a message digest
crypto_hash_blocksize — obtain block size for message digest
crypto_hash_digestsize — obtain message digest size
crypto_hash_init — (re)initialize message digest handle
crypto_hash_update — add data to message digest for processing
crypto_hash_final — calculate message digest
crypto_hash_digest — calculate message digest for a buffer
crypto_hash_setkey — set key for message digest

The synchronous message digest API is used with the ciphers of type CRYPTO_ALG_TYPE_HASH (listed as type hash in /proc/crypto)