summaryrefslogtreecommitdiffstats
path: root/crypto/api.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
commit3ae88f676aa63366ffa9eebb8ae787c7e19f0c57 (patch)
treeac1f23a562b64c4f8c00052fb2e91777c90d0c22 /crypto/api.c
parent7e75c33756c980d0ec1cca83082fef960f1dcc1f (diff)
downloadlinux-3ae88f676aa63366ffa9eebb8ae787c7e19f0c57.tar.bz2
crypto: tcrypt - fix skcipher multi-buffer tests for 1420B blocks
Commit ad6d66bcac77e ("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: ad6d66bcac77e ("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/api.c')
0 files changed, 0 insertions, 0 deletions