crypto_shash_export(9)

crypto_shash_export9

Extract operational state for message digest

Usage

int crypto_shash_export(struct shash_desc * desc, void * out);

Arguments

desc

reference to the operational state handle whose state is exported

out

output buffer of sufficient size that can hold the hash state

Overview

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 occurred

Authors

Stephan Mueller <[email protected]>

Author.

Marek Vasut <[email protected]>

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.