Skip to content

Commit 49bfb70

Browse files
committed
ecc_sign_determinisitic.c test for for deterministic ECDSA Prime Field for SECP256R1, SECP384R1, and SECP521R. With SHA256, SHA384, and SHA512 tests.
1 parent ecd8ce1 commit 49bfb70

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

pk/ecc/ecc_sign_deterministic

0 Bytes
Binary file not shown.

pk/ecc/ecc_sign_deterministic.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ static const char kMsg[] = "sample";
5858
#endif
5959

6060
/* Choose Test Key Curve */
61-
#if 0
61+
#if 1
6262

6363
/* SECP256R1 */
6464
#define ECC_KEY_CURVE ECC_SECP256R1
@@ -118,7 +118,7 @@ static const char kMsg[] = "sample";
118118
0x73, 0x44, 0xFD, 0x25, 0x33, 0x26, 0x47, 0x20
119119
};
120120

121-
#elif 1
121+
#elif 0
122122

123123
/* The test for SECP521R1 does not work in this example yet */
124124
/* SECP521R1 */

0 commit comments

Comments
 (0)