summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2022-12-23 03:15:36 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2022-12-23 03:15:36 +0000
commitdcda49c37183dfad67fb4305766d0fb92701f5be (patch)
treef8337cfea6d0a2900ab2107fec1c3d5e0d71fe78 /sys
parente0bad4766b30ef1deef6734bf6c11e77f8fb4bbd (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')
0 files changed, 0 insertions, 0 deletions