diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2019-09-10 11:42:05 +1000 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-10-05 01:04:31 +1000 |
commit | 5b0fe9552336338acb52756daf65dd7a4eeca73f (patch) | |
tree | 7d2d1d608bf78d1944add60e1b77deadadde903e /Makefile | |
parent | 7a627db9cafdb173e255ec8bf67fd5ba91ae0664 (diff) | |
download | linux-stable-5b0fe9552336338acb52756daf65dd7a4eeca73f.tar.gz linux-stable-5b0fe9552336338acb52756daf65dd7a4eeca73f.tar.bz2 linux-stable-5b0fe9552336338acb52756daf65dd7a4eeca73f.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: 8ff590903d5f ("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 'Makefile')
0 files changed, 0 insertions, 0 deletions