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

- From: Herbert Xu \<herbert@gondor.apana.org.au\>
- Date: 2013-08-21 11:50:45 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2013/08/8472792
- Thread: https://ratatoskr.run/linuxppc-dev/2013/08/8472780/t.md

```text
On Wed, Aug 14, 2013 at 05:17:57PM -0500, jmlatten@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 retrieve the input authtag from src
> instead of dst. 
> 
> Reviewed-by: Fionnuala Gunter <redacted>
> Reviewed-by: Marcelo Cerri <redacted>
> Signed-off-by: Joy Latten <redacted>

Patch applied.  Thanks!
-- 
Email: Herbert Xu [ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
```
