]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: aesni - fix typo in generic_gcmaes_decrypt
authorSabrina Dubroca <sd@queasysnail.net>
Wed, 13 Dec 2017 13:53:43 +0000 (14:53 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 22 Dec 2017 08:52:46 +0000 (19:52 +1100)
commitfa465befdf4c3b6c00edb0857086fcde94d5b5aa
treea816c0240f2edcb1ab0017434c101e0021dab9e3
parent43402999446d9d8143fe1a3690e59ef51071ed85
crypto: aesni - fix typo in generic_gcmaes_decrypt

generic_gcmaes_decrypt needs to use generic_gcmaes_ctx, not
aesni_rfc4106_gcm_ctx. This is actually harmless because the fields in
struct generic_gcmaes_ctx share the layout of the same fields in
aesni_rfc4106_gcm_ctx.

Fixes: 713605f9c4c4 ("crypto: aesni - add generic gcm(aes)")
Cc: <stable@vger.kernel.org>
Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Reviewed-by: Stefano Brivio <sbrivio@redhat.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/x86/crypto/aesni-intel_glue.c