]> git.karo-electronics.de Git - linux-beck.git/commit
crypto: aesni - make driver-gcm-aes-aesni helper a proper aead alg
authorTadeusz Struk <tadeusz.struk@intel.com>
Fri, 6 Feb 2015 18:25:20 +0000 (10:25 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 28 Feb 2015 10:31:35 +0000 (23:31 +1300)
commit81e397d937a8e9f46f024a9f876cf14d8e2b45a7
treea1bd2c28113cf99ebc916e8ae76615ac11ffa356
parentd2e3ae6f3abad839214f7b05c34075a1a7c82470
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 <adrian.hoban@intel.com>
Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/x86/crypto/aesni-intel_glue.c