summaryrefslogtreecommitdiff
path: root/drivers/nvdimm/btt.h
diff options
context:
space:
mode:
authorThomas Bourgoin <thomas.bourgoin@foss.st.com>2023-07-13 17:15:16 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2023-07-22 13:59:38 +1200
commita10618f397062823a84cd4abedc51f46b9d4410f (patch)
tree182792fc7c9f693e3f2059850e9c009da2f39553 /drivers/nvdimm/btt.h
parentd9c83f71eeceed2cb54bb78be84f2d4055fd9a1f (diff)
crypto: stm32 - check request size and scatterlist size when using DMA.
When we are sending the data to HASH with the DMA, we send all the data provided in the scatterlists of the request. But in some cases (ex : tcrypt performances tests), we should only send req->nbytes When iterating through the scatterlist we verify if it is the last scatterlist or if the number of bytes sent plus the data of the current scatterlist is superior of the total number of bytes to hash. Signed-off-by: Thomas Bourgoin <thomas.bourgoin@foss.st.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/nvdimm/btt.h')
0 files changed, 0 insertions, 0 deletions