crypto_ahash_init9
(re)initialize message digest handle
Usage
int crypto_ahash_init(struct ahash_request * req);
Arguments
req
ahash_request handle that already is initialized with all necessary data using the ahash_request_* API functions
Overview
The call (re-)initializes the message digest referenced by the ahash_request handle. Any potentially existing state created by previous operations is discarded.
Return
0 if the message digest initialization was successful; < 0 if an error occurred