diff options
author | tb <> | 2023-03-26 18:49:48 +0000 |
---|---|---|
committer | tb <> | 2023-03-26 18:49:48 +0000 |
commit | a33eac24d1b12c05bf5085edd5462d6898cc2db0 (patch) | |
tree | 91a9d01480166f0c7000d76fa494e2650e4582ea /src/lib/libcrypto/dsa/dsa_ossl.c | |
parent | 77bafc3f8a72ec4bbe1f903f61f7f9913eed392b (diff) | |
download | openbsd-a33eac24d1b12c05bf5085edd5462d6898cc2db0.tar.gz openbsd-a33eac24d1b12c05bf5085edd5462d6898cc2db0.tar.bz2 openbsd-a33eac24d1b12c05bf5085edd5462d6898cc2db0.zip |
Correctly reduce negative inpot to BN_mod_exp2_mont()
Negative bases could result in a negative modulus being returned. This is
not strictly speaking incorrect but slightly surprising. This is all a
consequence of the shortcut of defining BN_mod() as a macro using BN_div().
Fixes ossfuzz #55997
ok jsing
Diffstat (limited to 'src/lib/libcrypto/dsa/dsa_ossl.c')
0 files changed, 0 insertions, 0 deletions