other versions
- stretch 4.9.168-1
CRYPTO_SHASH_EXPORT(9) | Programming Interface | CRYPTO_SHASH_EXPORT(9) |
NAME¶
crypto_shash_export - extract operational state for message digestSYNOPSIS¶
int crypto_shash_export(struct shash_desc * desc, void * out);
ARGUMENTS¶
descreference to the operational state handle whose state is
exported
out
output buffer of sufficient size that can hold the hash
state
DESCRIPTION¶
This function exports the hash state of the operational state handle into the caller-allocated output buffer out which must have sufficient size (e.g. by calling crypto_shash_descsize).RETURN¶
0 if the export creation was successful; < 0 if an error occurredAUTHORS¶
Stephan Mueller <smueller@chronox.de>Author.
Marek Vasut <marek@denx.de>
Author.
COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |