Message ID | 20200629073925.127538-1-ardb@kernel.org (mailing list archive) |
---|---|
Headers | show |
Series | crypto: clean up ARM/arm64 glue code for GHASH and GCM | expand |
On Mon, Jun 29, 2020 at 09:39:20AM +0200, Ard Biesheuvel wrote: > Get rid of pointless indirect calls where the target of the call is decided > at boot and never changes. Also, make the size of the key struct variable, > and only carry the extra keys needed for aggregation when using a version > of the algorithm that makes use of them. > > Ard Biesheuvel (5): > crypto: arm64/ghash - drop PMULL based shash > crypto: arm64/gcm - disentangle ghash and gcm setkey() routines > crypto: arm64/gcm - use variably sized key struct > crypto: arm64/gcm - use inline helper to suppress indirect calls > crypto: arm/ghash - use variably sized key struct > > arch/arm/crypto/ghash-ce-glue.c | 51 ++-- > arch/arm64/crypto/ghash-ce-glue.c | 257 +++++++------------- > 2 files changed, 118 insertions(+), 190 deletions(-) All applied. Thanks.