summaryrefslogtreecommitdiff
path: root/src/regress/lib/libssl/unit/ssl_methods.c
diff options
context:
space:
mode:
authorjsing <>2023-02-16 11:13:05 +0000
committerjsing <>2023-02-16 11:13:05 +0000
commit78b6c67232479df5c8a2d1b39ea628f0341a4202 (patch)
treea71844b7fce221564ef504741b86d1f18d98a9eb /src/regress/lib/libssl/unit/ssl_methods.c
parent3c4a975cefd1abb53303b3878d5531bcd9212000 (diff)
downloadopenbsd-78b6c67232479df5c8a2d1b39ea628f0341a4202.tar.gz
openbsd-78b6c67232479df5c8a2d1b39ea628f0341a4202.tar.bz2
openbsd-78b6c67232479df5c8a2d1b39ea628f0341a4202.zip
Enable s2n-bignum word_clz() on amd64.
The BN_num_bits_word() function is a hot path, being called more than 80 million times during a libcrypto regress run. The word_clz() implementation uses five instructions to do the same as the generic code that uses more than 60 instructions. Discussed with tb@
Diffstat (limited to 'src/regress/lib/libssl/unit/ssl_methods.c')
0 files changed, 0 insertions, 0 deletions