From: Tadeusz Struk Date: Fri, 6 Feb 2015 18:25:20 +0000 (-0800) Subject: crypto: aesni - make driver-gcm-aes-aesni helper a proper aead alg X-Git-Tag: omap-for-v4.1/fixes-rc1~140^2~152 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81e397d937a8e9f46f024a9f876cf14d8e2b45a7;p=pandora-kernel.git crypto: aesni - make driver-gcm-aes-aesni helper a proper aead alg Changed the __driver-gcm-aes-aesni to be a proper aead algorithm. This required a valid setkey and setauthsize functions to be added and also some changes to make sure that math context is not corrupted when the alg is used directly. Note that the __driver-gcm-aes-aesni should not be used directly by modules that can use it in interrupt context as we don't have a good fallback mechanism in this case. Signed-off-by: Adrian Hoban Signed-off-by: Tadeusz Struk Signed-off-by: Herbert Xu --- Reading git-diff-tree failed