diff options
author | Horia Geantă <horia.geanta@nxp.com> | 2021-10-15 10:39:18 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-10-22 20:25:03 +0800 |
commit | e3804e630b83b9f8f51a42690f63c407c1bc4c11 (patch) | |
tree | 0e14050beac9d83eef3374f4633da1c0801e889f /crypto/algapi.c | |
parent | 5c734c638aa1a3dbfd96248703e070706343284b (diff) | |
download | linux-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