Correct top for EC/DSA nonces if BN_DEBUG is on
authorTomas Mraz <tomas@openssl.org>
Tue, 30 Apr 2024 09:46:26 +0000 (11:46 +0200)
committerTomas Mraz <tomas@openssl.org>
Thu, 2 May 2024 07:21:30 +0000 (09:21 +0200)
commita380ae85be287045b1eaa64d23942101a426c080
tree0e6e5d34e2bdb4877ee452615d22edeec42a48b2
parent8a1f65468064e39f65ef4918c62db73a9eef80e4
Correct top for EC/DSA nonces if BN_DEBUG is on

Otherwise following operations would bail out in bn_check_top().

Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Neil Horman <nhorman@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24265)
crypto/bn/bn_rand.c
crypto/deterministic_nonce.c