diff options
author | Eric Biggers <ebiggers@google.com> | 2023-10-09 11:19:00 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-10-20 08:39:25 +0300 |
commit | fdcac2ddc759752cb4886138d89a8c06bf5086a7 (patch) | |
tree | 2ad453e6a093fc19f7865487e3a58f29a356225c /drivers/crypto | |
parent | 1efcbf0eff1022f6a44f8c04691caa5f90606bac (diff) | |
download | linux-fdcac2ddc759752cb4886138d89a8c06bf5086a7.tar.xz |
crypto: x86/sha256 - implement ->digest for sha256
Implement a ->digest function for sha256-ssse3, sha256-avx, sha256-avx2,
and sha256-ni. This improves the performance of crypto_shash_digest()
with these algorithms by reducing the number of indirect calls that are
made.
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 'drivers/crypto')
0 files changed, 0 insertions, 0 deletions