Correct setup for BN_mul/BN_sqr benchmarks.
authorjsing <jsing@openbsd.org>
Sun, 29 Jan 2023 15:22:12 +0000 (15:22 +0000)
committerjsing <jsing@openbsd.org>
Sun, 29 Jan 2023 15:22:12 +0000 (15:22 +0000)
commita3f053360593fe6022d75466607b03877b809d0b
tree5e2c229513b2e86499bc69b78fa36cc311b6befd
parent2900a9c1cd84b721ec6196dec3b965965e4557e3
Correct setup for BN_mul/BN_sqr benchmarks.

BN_rand() takes a bit length, not the top bit.
regress/lib/libcrypto/bn/bn_mul_div.c