crypto_shash_import(9)

crypto_shash_import9

Import operational state

Usage

int crypto_shash_import(struct shash_desc * desc, const void * in);

Arguments

desc

reference to the operational state handle the state imported into

in

buffer holding the state

Overview

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 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.