summaryrefslogtreecommitdiff
path: root/crypto/testmgr.h
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2019-09-10 11:42:05 +1000
committerHerbert Xu <herbert@gondor.apana.org.au>2019-10-05 01:04:31 +1000
commit69e716c27aed0a841dc987fc980e6e9576887d74 (patch)
tree1d2c8d183d3023f61901be8a752c3bb0f88f7d2a /crypto/testmgr.h
parent356d87fcceff5d65defe43382a2b68e89a4554c4 (diff)
downloadlinux-crypto-69e716c27aed0a841dc987fc980e6e9576887d74.tar.gz
linux-crypto-69e716c27aed0a841dc987fc980e6e9576887d74.zip
crypto: algif_skcipher - Use chunksize instead of blocksize
When algif_skcipher does a partial operation it always process data that is a multiple of blocksize. However, for algorithms such as CTR this is wrong because even though it can process any number of bytes overall, the partial block must come at the very end and not in the middle. This is exactly what chunksize is meant to describe so this patch changes blocksize to chunksize. Fixes: fcbb8a3beda3 ("crypto: algif_skcipher - User-space...") Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/testmgr.h')
0 files changed, 0 insertions, 0 deletions