Re: [PATCH] crypto:nx - fix nx-aes-gcm verification

2013-08-21 Thread Herbert Xu
On Wed, Aug 14, 2013 at 05:17:57PM -0500, jmlat...@linux.vnet.ibm.com wrote: > This patch fixes a bug in the nx-aes-gcm implementation. > Corrected the code so that the authtag is always verified after > decrypting and not just when there is associated data included. > Also, corrected the code to r

[PATCH] crypto:nx - fix nx-aes-gcm verification

2013-08-14 Thread jmlatten
This patch fixes a bug in the nx-aes-gcm implementation. Corrected the code so that the authtag is always verified after decrypting and not just when there is associated data included. Also, corrected the code to retrieve the input authtag from src instead of dst. Reviewed-by: Fionnuala Gunter R