summaryrefslogtreecommitdiff
path: root/lib/libpcap
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2023-05-12 10:10:56 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2023-05-12 10:10:56 +0000
commitc79bb479726b1b2dd33e1553fa51c01d3a766a32 (patch)
tree5afc67f3391d0d7eda72d7a43d00b2197160c43f /lib/libpcap
parent3dc4bb2d1165eaac3ab81ad1e826c1180eb6edec (diff)
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 'lib/libpcap')
0 files changed, 0 insertions, 0 deletions