]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: arm64/gcm - use variably sized key struct
authorArd Biesheuvel <ardb@kernel.org>
Mon, 29 Jun 2020 07:39:23 +0000 (09:39 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 9 Jul 2020 12:14:32 +0000 (22:14 +1000)
commit17d0fb1febbc34839a1ed5af8622478691d870df
tree7b6875af644e64a5e24ef358f45349da5fe4925b
parent94fe4501cd2a9989d1a134423e12435482c12120
crypto: arm64/gcm - use variably sized key struct

Now that the ghash and gcm drivers are split, we no longer need to allocate
a key struct for the former that carries powers of H that are only used by
the latter. Also, take this opportunity to clean up the code a little bit.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/arm64/crypto/ghash-ce-glue.c