aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorArvind Sankar <[email protected]>2020-10-25 10:31:18 -0400
committerHerbert Xu <[email protected]>2020-10-30 17:35:03 +1100
commit63642d5c141f1bcbe97f7895467a724ad2e3f346 (patch)
tree35003e2ad39f82b068ab6df515c87e9db8dee19c /tools/perf/scripts/python
parentb8399819b2dd6f29195ed7535217b66c01b1e57d (diff)
crypto: lib/sha256 - Unroll SHA256 loop 8 times intead of 64
This reduces code size substantially (on x86_64 with gcc-10 the size of sha256_update() goes from 7593 bytes to 1952 bytes including the new SHA256_K array), and on x86 is slightly faster than the full unroll (tested on Broadwell Xeon). Signed-off-by: Arvind Sankar <[email protected]> Reviewed-by: Eric Biggers <[email protected]> Acked-by: Ard Biesheuvel <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions