diff options
author | jsing <> | 2022-12-23 03:15:35 +0000 |
---|---|---|
committer | jsing <> | 2022-12-23 03:15:35 +0000 |
commit | baf6f3e2cd652bf21f854e7aaad1e05f88077c25 (patch) | |
tree | 10949b74c3014c60c478fedad7cc924359851c6b /src/lib/libcrypto/man | |
parent | 8d2a4066281adb06dfb03f958f7b178286156e32 (diff) | |
download | openbsd-baf6f3e2cd652bf21f854e7aaad1e05f88077c25.tar.gz openbsd-baf6f3e2cd652bf21f854e7aaad1e05f88077c25.tar.bz2 openbsd-baf6f3e2cd652bf21f854e7aaad1e05f88077c25.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/man')
0 files changed, 0 insertions, 0 deletions