crypto: tcrypt - fix skcipher multi-buffer tests for 1420B blocks
authorHoria Geantă <horia.geanta@nxp.com>
Fri, 15 Oct 2021 07:39:18 +0000 (10:39 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 22 Oct 2021 12:25:03 +0000 (20:25 +0800)
commit3ae88f676aa63366ffa9eebb8ae787c7e19f0c57
treeac1f23a562b64c4f8c00052fb2e91777c90d0c22
parent7e75c33756c980d0ec1cca83082fef960f1dcc1f
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>
crypto/tcrypt.c