This commit is contained in:
petersssong 2024-06-11 02:10:56 +08:00 committed by GitHub
parent 2eb185c92b
commit 3045e6d4d9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -262,7 +262,7 @@ void test_exhaustive_sign(const secp256k1_context *ctx, const secp256k1_ge *grou
secp256k1_ecdsa_signature_load(ctx, &r, &s, &sig);
/* Note that we compute expected_r *after* signing -- this is important
* because our nonce-computing function function might change k during
* because our nonce-computing function might change k during
* signing. */
r_from_k(&expected_r, group, k);
CHECK(r == expected_r);
@ -335,7 +335,7 @@ void test_exhaustive_recovery_sign(const secp256k1_context *ctx, const secp256k1
secp256k1_ecdsa_recoverable_signature_convert(ctx, &sig, &rsig);
secp256k1_ecdsa_signature_load(ctx, &r, &s, &sig);
/* Note that we compute expected_r *after* signing -- this is important
* because our nonce-computing function function might change k during
* because our nonce-computing function might change k during
* signing. */
r_from_k(&expected_r, group, k);
CHECK(r == expected_r);