summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ec/ecp_methods.c
diff options
context:
space:
mode:
authorjsing <>2024-11-08 15:09:48 +0000
committerjsing <>2024-11-08 15:09:48 +0000
commit487da616d8ed3fd6ad6c30584c6405c6979ede11 (patch)
tree84d6d8d2658114716d976529462bcebc29b879ca /src/lib/libcrypto/ec/ecp_methods.c
parentacc652186bbeb9458b641b1bffef14c7599bf465 (diff)
downloadopenbsd-487da616d8ed3fd6ad6c30584c6405c6979ede11.tar.gz
openbsd-487da616d8ed3fd6ad6c30584c6405c6979ede11.tar.bz2
openbsd-487da616d8ed3fd6ad6c30584c6405c6979ede11.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/libcrypto/ec/ecp_methods.c')
0 files changed, 0 insertions, 0 deletions