Messages in this thread | | | Date | Fri, 22 Oct 2021 20:36:40 +0800 | From | Herbert Xu <> | Subject | Re: [PATCH] crypto: tcrypt - fix skcipher multi-buffer tests for 1420B blocks |
| |
On Fri, Oct 15, 2021 at 10:39:18AM +0300, Horia Geantă wrote: > 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> > --- > crypto/tcrypt.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-)
Patch applied. Thanks. -- Email: Herbert Xu <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
| |