summaryrefslogtreecommitdiff
path: root/crypto/algapi.c
diff options
context:
space:
mode:
authorHoria Geantă <horia.geanta@nxp.com>2021-10-15 10:39:18 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2021-10-22 20:25:03 +0800
commite3804e630b83b9f8f51a42690f63c407c1bc4c11 (patch)
tree0e14050beac9d83eef3374f4633da1c0801e889f /crypto/algapi.c
parent5c734c638aa1a3dbfd96248703e070706343284b (diff)
downloadlinux-crypto-e3804e630b83b9f8f51a42690f63c407c1bc4c11.tar.gz
linux-crypto-e3804e630b83b9f8f51a42690f63c407c1bc4c11.zip
crypto: tcrypt - fix skcipher multi-buffer tests for 1420B blocks
Commit a8f0e3a397cd6 ("crypto: tcrypt - include 1420 byte blocks in aead and skcipher benchmarks") mentions: > power-of-2 block size. So let's add 1420 bytes explicitly, and round > it up to the next blocksize multiple of the algo in question if it > does not support 1420 byte blocks. but misses updating skcipher multi-buffer tests. Fix this by using the proper (rounded) input size. Fixes: a8f0e3a397cd6 ("crypto: tcrypt - include 1420 byte blocks in aead and skcipher benchmarks") Signed-off-by: Horia Geantă <horia.geanta@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/algapi.c')
0 files changed, 0 insertions, 0 deletions