Scroll to navigation

CRYPTO_AHASH_FINUP(9) Programming Interface CRYPTO_AHASH_FINUP(9)

NAME

crypto_ahash_finup - update and finalize message digest

SYNOPSIS

int crypto_ahash_finup(struct ahash_request * req);

ARGUMENTS

req
reference to the ahash_request handle that holds all information needed to perform the cipher operation

DESCRIPTION

This function is a “short-hand” for the function calls of crypto_ahash_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 <smueller@chronox.de>
Author.

Marek Vasut <marek@denx.de>

Author.

COPYRIGHT

April 2019 Kernel Hackers Manual 4.9.