commit | 18d05ca4486fe38991c3166b1f4df26b8a029665 | [log] [tgz] |
---|---|---|
author | Arvind Sankar <nivedita@alum.mit.edu> | Sun Oct 25 10:31:19 2020 -0400 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri Oct 30 17:35:04 2020 +1100 |
tree | 5177e8c734e1f2b4379c23f4f5860dbde4be3f7f | |
parent | 63642d5c141f1bcbe97f7895467a724ad2e3f346 [diff] |
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>