diff options
| author | jsing <> | 2023-02-03 05:06:20 +0000 |
|---|---|---|
| committer | jsing <> | 2023-02-03 05:06:20 +0000 |
| commit | e89b3fff04261fbe70d2fcb24f92e4689c8ce8f4 (patch) | |
| tree | 64e3aa7df0ba5d330f8370d337810a97c6a04572 /src/regress/lib/libc/regex/split.c | |
| parent | 83f58ecbf919acef70e84da8fd2f8f71544141fc (diff) | |
| download | openbsd-e89b3fff04261fbe70d2fcb24f92e4689c8ce8f4.tar.gz openbsd-e89b3fff04261fbe70d2fcb24f92e4689c8ce8f4.tar.bz2 openbsd-e89b3fff04261fbe70d2fcb24f92e4689c8ce8f4.zip | |
Simplify BN_mod_{lshift1,sub}_quick().
The BN_mod_.*_quick() functions require that their inputs are non-negative
and are already reduced. As such, they can and should use BN_ucmp() and
BN_usub() instead of BN_cmp() and BN_add()/BN_sub() (which internally call
BN_uadd()/BN_usub() and potentially BN_cmp()).
ok tb@
Diffstat (limited to 'src/regress/lib/libc/regex/split.c')
0 files changed, 0 insertions, 0 deletions
