Name

ahash_request_set_crypt — set data buffers

Synopsis

void ahash_request_set_crypt (struct ahash_request * req,
 struct scatterlist * src,
 u8 * result,
 unsigned int nbytes);
 

Arguments

req

ahash_request handle to be updated

src

source scatter/gather list

result

buffer that is filled with the message digest -- the caller must ensure that the buffer has sufficient space by, for example, calling crypto_ahash_digestsize

nbytes

number of bytes to process from the source scatter/gather list

Description

By using this call, the caller references the source scatter/gather list. The source scatter/gather list points to the data the message digest is to be calculated for.