summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bio/bio_lib.c
diff options
context:
space:
mode:
authorjsing <>2023-03-15 04:30:20 +0000
committerjsing <>2023-03-15 04:30:20 +0000
commit14ed158fa9549e635683f2563b9a55d2819664e7 (patch)
tree5adcfc16e56c46e606243a66fc8f3bfcc59c4085 /src/lib/libcrypto/bio/bio_lib.c
parent68d4a79dbefd9905bddd67b25a805bbe5ee1c220 (diff)
downloadopenbsd-14ed158fa9549e635683f2563b9a55d2819664e7.tar.gz
openbsd-14ed158fa9549e635683f2563b9a55d2819664e7.tar.bz2
openbsd-14ed158fa9549e635683f2563b9a55d2819664e7.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/libcrypto/bio/bio_lib.c')
0 files changed, 0 insertions, 0 deletions