The synchronous message digest API is used with the ciphers of type CRYPTO_ALG_TYPE_SHASH (listed as type “shash” in /proc/crypto)
The message digest API is able to maintain state information for the caller.
The synchronous message digest API can store user-related context in in its shash_desc request data structure.