summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_lib.c
diff options
context:
space:
mode:
authorjsing <>2024-11-08 15:09:48 +0000
committerjsing <>2024-11-08 15:09:48 +0000
commit04e057f72ee941e676968c3b04b6dd1f0f220d9a (patch)
tree84d6d8d2658114716d976529462bcebc29b879ca /src/lib/libssl/ssl_lib.c
parent7bfb9335fb0ae857523adc3e3686eeb719aafd2e (diff)
downloadopenbsd-04e057f72ee941e676968c3b04b6dd1f0f220d9a.tar.gz
openbsd-04e057f72ee941e676968c3b04b6dd1f0f220d9a.tar.bz2
openbsd-04e057f72ee941e676968c3b04b6dd1f0f220d9a.zip
Provide a replacement assembly implementation for SHA-256 on amd64.
Replace the perlasm generated SHA-256 assembly implementation with one that is actually readable. Call the assembly implementation from a C wrapper that can, in the future, dispatch to alternate implementations. Performance is similar (or even better) on modern CPUs, while somewhat slower on older CPUs (this is in part due to the wrapper, the impact of which is more noticable with small block sizes). Thanks to gkoehler@ and tb@ for testing. ok tb@
Diffstat (limited to 'src/lib/libssl/ssl_lib.c')
0 files changed, 0 insertions, 0 deletions