crypto_ahash_import9
Import message digest state
Usage
int crypto_ahash_import(struct ahash_request * req, const void * in);
Arguments
req
reference to ahash_request handle the state is imported into
in
buffer holding the state
Overview
This function imports the hash state into the ahash_request handle from the input buffer. That buffer should have been generated with the crypto_ahash_export function.
Return
0 if the import was successful; < 0 if an error occurred