diff options
author | Eric Biggers <ebiggers@google.com> | 2023-10-09 10:53:27 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-10-20 08:39:25 +0300 |
commit | 1efcbf0eff1022f6a44f8c04691caa5f90606bac (patch) | |
tree | 73735cdb2d6feeb6ecbc75530a5fa5bac0b1756a /arch/x86/crypto | |
parent | 2e02c25ac93463d52bd7c1010cd647c944f179e1 (diff) | |
download | linux-1efcbf0eff1022f6a44f8c04691caa5f90606bac.tar.xz |
crypto: arm64/sha2-ce - implement ->digest for sha256
Implement a ->digest function for sha256-ce. This improves the
performance of crypto_shash_digest() with this algorithm by reducing the
number of indirect calls that are made. This only adds ~112 bytes of
code, mostly for the inlined init, as the finup function is tail-called.
For now, don't bother with this for sha224, since sha224 is rarely used.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/x86/crypto')
0 files changed, 0 insertions, 0 deletions