Re: [PATCH v2 02/15] crypto: morus - fix handling chunked inputs

2019-02-05 Thread Ondrej Mosnacek
On Fri, Feb 1, 2019 at 8:52 AM Eric Biggers wrote: > From: Eric Biggers > > The generic MORUS implementations all fail the improved AEAD tests > because they produce the wrong result with some data layouts. The issue > is that they assume that if the skcipher_walk API gives 'nbytes' not >

[PATCH v2 02/15] crypto: morus - fix handling chunked inputs

2019-01-31 Thread Eric Biggers
From: Eric Biggers The generic MORUS implementations all fail the improved AEAD tests because they produce the wrong result with some data layouts. The issue is that they assume that if the skcipher_walk API gives 'nbytes' not aligned to the walksize (a.k.a. walk.stride), then it is the end of