crypto_shash_finup(9)

crypto_shash_finup9

Calculate message digest of buffer

Usage

int crypto_shash_finup(struct shash_desc * desc, const u8 * data, unsigned int len, u8 * out);

Arguments

desc

see crypto_shash_final

data

see crypto_shash_update

len

see crypto_shash_update

out

see crypto_shash_final

Overview

This function is a “short-hand” for the function calls of crypto_shash_update and crypto_shash_final. The parameters have the same meaning as discussed for those separate functions.

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.