crypto_ahash_export(9)

crypto_ahash_export9

Extract current message digest state

Usage

int crypto_ahash_export(struct ahash_request * req, void * out);

Arguments

req

reference to the ahash_request 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 ahash_request handle into the caller-allocated output buffer out which must have sufficient size (e.g. by calling crypto_ahash_reqsize).

Return

0 if the export 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.