summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ecdsa/ecs_lib.c
diff options
context:
space:
mode:
authortb <>2023-03-26 18:49:48 +0000
committertb <>2023-03-26 18:49:48 +0000
commite7c1fe4923c04c3cbcc74b60d5dd714eb4a9e3c0 (patch)
tree91a9d01480166f0c7000d76fa494e2650e4582ea /src/lib/libcrypto/ecdsa/ecs_lib.c
parente38cf77b1ca206b636cffd867656a62dd8cf3d98 (diff)
downloadopenbsd-e7c1fe4923c04c3cbcc74b60d5dd714eb4a9e3c0.tar.gz
openbsd-e7c1fe4923c04c3cbcc74b60d5dd714eb4a9e3c0.tar.bz2
openbsd-e7c1fe4923c04c3cbcc74b60d5dd714eb4a9e3c0.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/ecdsa/ecs_lib.c')
0 files changed, 0 insertions, 0 deletions