crypto: x86/aesni - Correct the data type in struct aesni_xts_ctx
authorChang S. Bae <chang.seok.bae@intel.com>
Thu, 28 Sep 2023 07:25:07 +0000 (00:25 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 5 Oct 2023 10:16:30 +0000 (18:16 +0800)
commitd148736ff17de5db1fd0e9b03e9e77615162f613
tree9827667453f6d042b8b494bc1b5b48997e8779d5
parent62496a2dead7a1e483d6b3660a2145dad1f34225
crypto: x86/aesni - Correct the data type in struct aesni_xts_ctx

Currently, every field in struct aesni_xts_ctx is defined as a byte
array of the same size as struct crypto_aes_ctx. This data type
is obscure and the choice lacks justification.

To rectify this, update the field type in struct aesni_xts_ctx to
match its actual structure.

Suggested-by: Eric Biggers <ebiggers@kernel.org>
Link: https://lore.kernel.org/all/ZFWQ4sZEVu%2FLHq+Q@gmail.com/
Signed-off-by: Chang S. Bae <chang.seok.bae@intel.com>
Cc: linux-crypto@vger.kernel.org
Cc: x86@kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/x86/crypto/aesni-intel_glue.c