crypto_ahash_digest(9)

crypto_ahash_digest9

Calculate message digest for a buffer

Usage

int crypto_ahash_digest(struct ahash_request * req);

Arguments

req

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

Overview

This function is a “short-hand” for the function calls of crypto_ahash_init, crypto_ahash_update and crypto_ahash_final. The parameters have the same meaning as discussed for those separate three 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.