Name
crypto_ahash_final —
calculate message digest
Synopsis
int crypto_ahash_final ( | struct ahash_request * req) ; |
Arguments
req
reference to the ahash_request handle that holds all information
needed to perform the cipher operation
Description
Finalize the message digest operation and create the message digest
based on all data added to the cipher handle. The message digest is placed
into the output buffer registered with the ahash_request handle.
Return
0 if the message digest creation was successful; < 0 if an error
occurred