other versions
CRYPTO_SHASH_IMPORT(9) | Programming Interface | CRYPTO_SHASH_IMPORT(9) |
NAME¶
crypto_shash_import - import operational stateSYNOPSIS¶
int
crypto_shash_import(struct shash_desc * desc,
const void * in);
ARGUMENTS¶
descreference to the operational state handle the state
imported into
in
buffer holding the state
DESCRIPTION¶
This function imports the hash state into the operational state 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 occurredAUTHORS¶
Stephan Mueller <smueller@chronox.de>Author.
Marek Vasut <marek@denx.de>
Author.
COPYRIGHT¶
January 2017 | Kernel Hackers Manual 4.8. |