summaryrefslogtreecommitdiff
path: root/src/lib/libc
diff options
context:
space:
mode:
authorjsing <>2023-03-15 04:30:20 +0000
committerjsing <>2023-03-15 04:30:20 +0000
commitd3cf2a2533c22b330e12679aad10a700eb6fc870 (patch)
tree5adcfc16e56c46e606243a66fc8f3bfcc59c4085 /src/lib/libc
parentff8b9955b55cdb95151225a1cdf20fe993f2085e (diff)
downloadopenbsd-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 'src/lib/libc')
0 files changed, 0 insertions, 0 deletions