diff options
| author | jsing <> | 2023-03-15 04:30:20 +0000 |
|---|---|---|
| committer | jsing <> | 2023-03-15 04:30:20 +0000 |
| commit | d3cf2a2533c22b330e12679aad10a700eb6fc870 (patch) | |
| tree | 5adcfc16e56c46e606243a66fc8f3bfcc59c4085 /src/lib/libc/stdlib/llabs.c | |
| parent | ff8b9955b55cdb95151225a1cdf20fe993f2085e (diff) | |
| download | openbsd-d3cf2a2533c22b330e12679aad10a700eb6fc870.tar.gz openbsd-d3cf2a2533c22b330e12679aad10a700eb6fc870.tar.bz2 openbsd-d3cf2a2533c22b330e12679aad10a700eb6fc870.zip | |
Ensure negative input to BN_mod_exp_mont_consttime() is correctly reduced.
A negative input to BN_mod_exp_mont_consttime() is not correctly reduced,
remaining negative (when it should be in the range [0, m)). Fix this by
unconditionally calling BN_nnmod() on the input.
Fixes ossfuzz #55997.
ok tb@
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
