summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/atmel-sha.c
diff options
context:
space:
mode:
authorArvind Sankar <nivedita@alum.mit.edu>2020-10-25 15:31:19 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2020-10-30 07:35:04 +0100
commit18d05ca4486fe38991c3166b1f4df26b8a029665 (patch)
tree5177e8c734e1f2b4379c23f4f5860dbde4be3f7f /drivers/crypto/atmel-sha.c
parentcrypto: lib/sha256 - Unroll SHA256 loop 8 times intead of 64 (diff)
downloadlinux-18d05ca4486fe38991c3166b1f4df26b8a029665.tar.xz
linux-18d05ca4486fe38991c3166b1f4df26b8a029665.zip
crypto: lib/sha256 - Unroll LOAD and BLEND loops
Unrolling the LOAD and BLEND loops improves performance by ~8% on x86_64 (tested on Broadwell Xeon) while not increasing code size too much. Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu> Reviewed-by: Eric Biggers <ebiggers@google.com> Acked-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/atmel-sha.c')
0 files changed, 0 insertions, 0 deletions