You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the self_test_digest_sig() test fails when EC PCT is enabled because
ossl_ec_key_pairwise_check() consumes entropy when
generator * priv_key = pub_key
is calculated in EC_POINT_mul().
#0 RAND_priv_bytes_ex
openssl#1 bnrand
openssl#2 BN_priv_rand_ex
openssl#3 ec_GF2m_simple_ladder_pre
openssl#4 ec_point_ladder_pre
openssl#5 ossl_ec_scalar_mul_ladder
openssl#6 ec_GF2m_simple_points_mul
openssl#7 EC_POINT_mul
openssl#8 ossl_ec_key_pairwise_check
which led to the different signature then expected in the
ecdsa_prime_expected_sig.
Moving set_kat_drbg() after the EVP_PKEY_fromdata() fixed the problem.
Fixesopenssl/project#1302
Signed-off-by: Nikola Pajkovsky <[email protected]>
0 commit comments