aboutsummaryrefslogtreecommitdiff
path: root/drivers/char
diff options
context:
space:
mode:
authorGravatar Jason A. Donenfeld <Jason@zx2c4.com> 2022-01-11 18:58:43 +0100
committerGravatar Jason A. Donenfeld <Jason@zx2c4.com> 2022-01-18 13:03:55 +0100
commit9a1536b093bb5bf60689021275fd24d513bb8db0 (patch)
tree47bfc2d4445f87785c45c18811941b3010aab450 /drivers/char
parentlib/crypto: blake2s: move hmac construction into wireguard (diff)
downloadlinux-9a1536b093bb5bf60689021275fd24d513bb8db0.tar.gz
linux-9a1536b093bb5bf60689021275fd24d513bb8db0.tar.bz2
linux-9a1536b093bb5bf60689021275fd24d513bb8db0.zip
lib/crypto: sha1: re-roll loops to reduce code size
With SHA-1 no longer being used for anything performance oriented, and also soon to be phased out entirely, we can make up for the space added by unrolled BLAKE2s by simply re-rolling SHA-1. Since SHA-1 is so much more complex, re-rolling it more or less takes care of the code size added by BLAKE2s. And eventually, hopefully we'll see SHA-1 removed entirely from most small kernel builds. Cc: Herbert Xu <herbert@gondor.apana.org.au> Cc: Ard Biesheuvel <ardb@kernel.org> Tested-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'drivers/char')
0 files changed, 0 insertions, 0 deletions