Re: [PATCH crypto] crypto: aesni - fix typo in generic_gcmaes_decrypt

2017-12-22 Thread Herbert Xu
On Wed, Dec 13, 2017 at 02:53:43PM +0100, Sabrina Dubroca wrote: > 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. > >

[PATCH crypto] crypto: aesni - fix typo in generic_gcmaes_decrypt

2017-12-13 Thread Sabrina Dubroca
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: cce2ea8d90fe ("crypto: aesni - add generic gcm(aes)") Signed-off-by: