summaryrefslogtreecommitdiff
path: root/crypto/blowfish_common.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2023-10-09 00:32:14 -0700
committerHerbert Xu <herbert@gondor.apana.org.au>2023-10-20 13:39:25 +0800
commit8a3684881087d6030988a99bea8b3299e88aaf17 (patch)
tree2ea31cd0ab78fb9595808cac332b74d10e3a4b06 /crypto/blowfish_common.c
parente5dcb2c03a0cecf042e52ca1c84f7c6595723fe5 (diff)
downloadlinux-crypto-8a3684881087d6030988a99bea8b3299e88aaf17.tar.gz
linux-crypto-8a3684881087d6030988a99bea8b3299e88aaf17.zip
crypto: shash - fold shash_digest_unaligned() into crypto_shash_digest()
Fold shash_digest_unaligned() into its only remaining caller. Also, avoid a redundant check of CRYPTO_TFM_NEED_KEY by replacing the call to crypto_shash_init() with shash->init(desc). Finally, replace shash_update_unaligned() + shash_final_unaligned() with shash_finup_unaligned() which does exactly that. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/blowfish_common.c')
0 files changed, 0 insertions, 0 deletions