mbox series

[0/2] crypto: shash optimizations

Message ID 20231009073214.423279-1-ebiggers@kernel.org
Headers show
Series crypto: shash optimizations | expand

Message

Eric Biggers Oct. 9, 2023, 7:32 a.m. UTC
This series fixes some inefficiencies in crypto_shash_digest() and
crypto_shash_finup(), particularly in cases where the algorithm doesn't
implement ->digest or ->finup respectively.

Eric Biggers (2):
  crypto: shash - optimize the default digest and finup
  crypto: shash - fold shash_digest_unaligned() into
    crypto_shash_digest()

 crypto/shash.c | 27 +++++++++++++++++++--------
 1 file changed, 19 insertions(+), 8 deletions(-)


base-commit: 8468516f9f93a41dc65158b6428a1a1039c68f20