From: jmlatten@linux.vnet.ibm.com Date: Wed, 14 Aug 2013 22:17:57 +0000 (-0500) Subject: crypto: nx - fix nx-aes-gcm verification X-Git-Tag: v3.12-rc1~108^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4eba0ca341fb6ad0199ab3f2244aa7e0c4cb34d;p=pandora-kernel.git crypto: nx - fix nx-aes-gcm verification 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 Reviewed-by: Marcelo Cerri Signed-off-by: Joy Latten Signed-off-by: Herbert Xu --- Reading git-diff-tree failed