Skip to content

Commit 1198a47

Browse files
Update packages/crypto/tests/wycheproof_secp256r1.rs
Co-authored-by: Mauro Lacy <maurolacy@users.noreply.github.com>
1 parent e60a344 commit 1198a47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/crypto/tests/wycheproof_secp256r1.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ fn ecdsa_secp256r1_sha3_512() {
289289
}
290290

291291
fn test_recover_pubkey(message_hash: &[u8], signature: &[u8], public_key: &[u8], params: [u8; 2]) {
292-
// Since the recovery param is missing in the test vectors, we try both 0 and 1
292+
// Since the recovery param is missing in the test vectors, we try both
293293
let recovered0 = secp256r1_recover_pubkey(message_hash, signature, params[0]).unwrap();
294294
let recovered1 = secp256r1_recover_pubkey(message_hash, signature, params[1]).unwrap();
295295
// Got two different pubkeys. Without the recovery param, we don't know which one is the right one.

0 commit comments

Comments
 (0)