crypto_shash_final(9)

crypto_shash_final9

Calculate message digest

Usage

int crypto_shash_final(struct shash_desc * desc, u8 * out);

Arguments

desc

operational state handle that is already filled with data

out

output buffer filled with the message digest

Overview

Finalize the message digest operation and create the message digest based on all data added to the cipher handle. The message digest is placed into the output buffer. The caller must ensure that the output buffer is large enough by using crypto_shash_digestsize.

Return

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