diff options
author | 2024-01-18 18:06:33 +0100 | |
---|---|---|
committer | 2024-01-26 16:39:32 +0800 | |
commit | c131098d6d9c5d0a580456f527dedefaf61acb7b (patch) | |
tree | 3590363572688ec2f298335fd677c25102e16e8d /crypto/testmgr.c | |
parent | crypto: arm64/aes-ccm - Pass short inputs via stack buffer (diff) | |
download | wireguard-linux-c131098d6d9c5d0a580456f527dedefaf61acb7b.tar.xz wireguard-linux-c131098d6d9c5d0a580456f527dedefaf61acb7b.zip |
crypto: arm64/aes-ccm - Replace bytewise tail handling with NEON permute
Implement the CCM tail handling using a single sequence that uses
permute vectors and overlapping loads and stores, rather than going over
the tail byte by byte in a loop, and using scalar operations. This is
more efficient, even though the measured speedup is only around 1-2% on
the CPUs I have tried.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/testmgr.c')
0 files changed, 0 insertions, 0 deletions