Re: [PATCH 3/4] crypto: arm64/aes-ce-ccm - fix decrypt path with new skcipher interface

2016-11-30 Thread Ard Biesheuvel
On 30 November 2016 at 13:14, Herbert Xu wrote: > On Tue, Nov 29, 2016 at 01:05:32PM +, Ard Biesheuvel wrote: >> The new skcipher walk interface does not take into account whether we >> are encrypting or decrypting. In the latter case, the walk should >> disregard

Re: [PATCH 3/4] crypto: arm64/aes-ce-ccm - fix decrypt path with new skcipher interface

2016-11-30 Thread Herbert Xu
On Wed, Nov 30, 2016 at 09:14:07PM +0800, Herbert Xu wrote: > On Tue, Nov 29, 2016 at 01:05:32PM +, Ard Biesheuvel wrote: > > The new skcipher walk interface does not take into account whether we > > are encrypting or decrypting. In the latter case, the walk should > > disregard the MAC. Fix

Re: [PATCH 3/4] crypto: arm64/aes-ce-ccm - fix decrypt path with new skcipher interface

2016-11-30 Thread Herbert Xu
On Tue, Nov 29, 2016 at 01:05:32PM +, Ard Biesheuvel wrote: > The new skcipher walk interface does not take into account whether we > are encrypting or decrypting. In the latter case, the walk should > disregard the MAC. Fix this in the arm64 CE driver. > > Signed-off-by: Ard Biesheuvel

[PATCH 3/4] crypto: arm64/aes-ce-ccm - fix decrypt path with new skcipher interface

2016-11-29 Thread Ard Biesheuvel
The new skcipher walk interface does not take into account whether we are encrypting or decrypting. In the latter case, the walk should disregard the MAC. Fix this in the arm64 CE driver. Signed-off-by: Ard Biesheuvel --- arch/arm64/crypto/aes-ce-ccm-glue.c | 7