summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorHoria Geantă <horia.geanta@nxp.com>2021-10-15 10:39:18 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-11-18 21:16:39 +0300
commit19bbbeb408d0aa3aa5591d17a664423b69fc08e2 (patch)
tree742cd0e7ed13450b5ab1e9f78cf91d822074b0c6 /security
parent48ae8d2243f0208bc0c6fd627c3353454abbe9c2 (diff)
downloadlinux-19bbbeb408d0aa3aa5591d17a664423b69fc08e2.tar.xz
crypto: tcrypt - fix skcipher multi-buffer tests for 1420B blocks
[ Upstream commit 3ae88f676aa63366ffa9eebb8ae787c7e19f0c57 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions