From 76b2d214aeb1b4e42ca46ff186af8844aba72e43 Mon Sep 17 00:00:00 2001 From: Marco Date: Sat, 4 Jan 2025 15:41:16 +0100 Subject: [PATCH 1/4] typo ecdsa.rs --- p192/src/test_vectors/ecdsa.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p192/src/test_vectors/ecdsa.rs b/p192/src/test_vectors/ecdsa.rs index 9d232331..34d37f5e 100644 --- a/p192/src/test_vectors/ecdsa.rs +++ b/p192/src/test_vectors/ecdsa.rs @@ -9,7 +9,7 @@ use hex_literal::hex; /// (P-192, SHA-1, from `SigGen.txt` in `186-2ecdsatestvectors.zip`) /// /// -/// The `m` field contains a SHA-1 prehash of the `Msg` field in the +/// The `m` field contains an SHA-1 prehash of the `Msg` field in the /// original `SigTen.txt`. pub const ECDSA_TEST_VECTORS: &[TestVector; 15] = &[ From 7fd57a82f293763caa39d1725ccfe6ab58a5c12a Mon Sep 17 00:00:00 2001 From: Marco Date: Sat, 4 Jan 2025 15:41:41 +0100 Subject: [PATCH 2/4] typo ecdsa.rs --- p224/src/test_vectors/ecdsa.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p224/src/test_vectors/ecdsa.rs b/p224/src/test_vectors/ecdsa.rs index e5810f30..67d22c84 100644 --- a/p224/src/test_vectors/ecdsa.rs +++ b/p224/src/test_vectors/ecdsa.rs @@ -9,7 +9,7 @@ use hex_literal::hex; /// (P-224, SHA-224, from `SigGen.txt` in `186-4ecdsatestvectors.zip`) /// /// -/// The `m` field contains a SHA-224 prehash of the `Msg` field in the +/// The `m` field contains an SHA-224 prehash of the `Msg` field in the /// original `SigTen.txt`. pub const ECDSA_TEST_VECTORS: &[TestVector; 15] = &[ From 0818fe6ffdf4ad559cd34f390db46f1355dcfd11 Mon Sep 17 00:00:00 2001 From: Marco Date: Sat, 4 Jan 2025 15:42:06 +0100 Subject: [PATCH 3/4] typo ecdsa.rs --- p384/src/test_vectors/ecdsa.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p384/src/test_vectors/ecdsa.rs b/p384/src/test_vectors/ecdsa.rs index 2532a8dc..9b7340d8 100644 --- a/p384/src/test_vectors/ecdsa.rs +++ b/p384/src/test_vectors/ecdsa.rs @@ -9,7 +9,7 @@ use hex_literal::hex; /// (P-384, SHA-384, from `SigGen.txt` in `186-4ecdsatestvectors.zip`) /// /// -/// The `m` field contains a SHA-384 prehash of the `Msg` field in the +/// The `m` field contains an SHA-384 prehash of the `Msg` field in the /// original `SigTen.txt`. pub const ECDSA_TEST_VECTORS: &[TestVector; 15] = &[ TestVector { From 76dadc49e481930d97183fe549a3872cb0665026 Mon Sep 17 00:00:00 2001 From: Marco Date: Sat, 4 Jan 2025 15:42:31 +0100 Subject: [PATCH 4/4] typo ecdsa.rs --- p521/src/test_vectors/ecdsa.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p521/src/test_vectors/ecdsa.rs b/p521/src/test_vectors/ecdsa.rs index 2894828c..6151517d 100644 --- a/p521/src/test_vectors/ecdsa.rs +++ b/p521/src/test_vectors/ecdsa.rs @@ -9,7 +9,7 @@ use hex_literal::hex; /// (P-521, SHA-521, from `SigGen.txt` in `186-4ecdsatestvectors.zip`) /// /// -/// The `m` field contains a SHA-512 prehash of the `Msg` field in the +/// The `m` field contains an SHA-512 prehash of the `Msg` field in the /// original `SigTen.txt`. pub const ECDSA_TEST_VECTORS: &[TestVector] = &[