Add BN_cmp()/BN_ucmp() tests with zero padded inputs.
authorjsing <jsing@openbsd.org>
Wed, 21 Jun 2023 07:16:08 +0000 (07:16 +0000)
committerjsing <jsing@openbsd.org>
Wed, 21 Jun 2023 07:16:08 +0000 (07:16 +0000)
commitda50f9d581c7921f15157441f5abbb6c6381891f
tree60b1e9f3a3062a92d31bfb6be91504eb983cacdc
parent36ba240090a6df24c201bdfd6f435983e6ced3a4
Add BN_cmp()/BN_ucmp() tests with zero padded inputs.

Currently BN_hex2bn() removes the leading zeros, however this will not be
the case in the future.
regress/lib/libcrypto/bn/bn_cmp.c