diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2022-12-23 03:15:36 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2022-12-23 03:15:36 +0000 |
commit | dcda49c37183dfad67fb4305766d0fb92701f5be (patch) | |
tree | f8337cfea6d0a2900ab2107fec1c3d5e0d71fe78 /sys/kern | |
parent | e0bad4766b30ef1deef6734bf6c11e77f8fb4bbd (diff) |
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 'sys/kern')
0 files changed, 0 insertions, 0 deletions