summaryrefslogtreecommitdiff
path: root/src/lib/libtls/tls_util.c
diff options
context:
space:
mode:
authorjsing <>2023-05-12 10:10:55 +0000
committerjsing <>2023-05-12 10:10:55 +0000
commita16324e54a8b77c1b2e74836e3e7d439d2ed63fd (patch)
tree25dc8d0d7e0a5fa5ec348c5791ab2db5c1aabc7d /src/lib/libtls/tls_util.c
parent79eb9d80aeab6bbe2da6f947f46dc7b12696d2f5 (diff)
downloadopenbsd-a16324e54a8b77c1b2e74836e3e7d439d2ed63fd.tar.gz
openbsd-a16324e54a8b77c1b2e74836e3e7d439d2ed63fd.tar.bz2
openbsd-a16324e54a8b77c1b2e74836e3e7d439d2ed63fd.zip
Reduce the number of SHA-512 C implementations from three to one.
We currently have three C implementations for SHA-512 - a version that is optimised for CPUs with minimal registers (specifically i386), a regular implementation and a semi-unrolled implementation. Testing on a ~15 year old i386 CPU, the fastest version is actually the semi-unrolled version (not to mention that we still currently have an i586 assembly implementation that is used on i386 instead...). More decent architectures do not seem to care between the regular and semi-unrolled version, presumably since they are effectively doing the same thing in hardware during execution. Remove all except the semi-unrolled version. ok tb@
Diffstat (limited to 'src/lib/libtls/tls_util.c')
0 files changed, 0 insertions, 0 deletions