diff options
author | jsing <> | 2022-12-23 03:15:35 +0000 |
---|---|---|
committer | jsing <> | 2022-12-23 03:15:35 +0000 |
commit | db8a9d746fb011d9ac658dfaf3f1a3ff37ee8848 (patch) | |
tree | 10949b74c3014c60c478fedad7cc924359851c6b /src/lib/libcrypto/objects/obj_dat.c | |
parent | 1101e96e6f22cacf21188ce1c4b32487463d8dd2 (diff) | |
download | openbsd-db8a9d746fb011d9ac658dfaf3f1a3ff37ee8848.tar.gz openbsd-db8a9d746fb011d9ac658dfaf3f1a3ff37ee8848.tar.bz2 openbsd-db8a9d746fb011d9ac658dfaf3f1a3ff37ee8848.zip |
Simplify BN_cmp() and BN_ucmp().
The only real difference between BN_cmp() and BN_ucmp() is that one has
to respect the sign of the BN (although BN_cmp() also gets to deal with
some insanity from accepting NULLs). Rewrite/cleanup BN_ucmp() and turn
BN_cmp() into code that handles differences in sign, before calling
BN_ucmp().
ok tb@
Diffstat (limited to 'src/lib/libcrypto/objects/obj_dat.c')
0 files changed, 0 insertions, 0 deletions