ecc_sign_determinisitic.c test for for deterministic ECDSA Prime Field for SECP256R1, SECP384R1, and SECP521R. With SHA256, SHA384, and SHA512 tests.
parent
ecd8ce1882
commit
49bfb703a7
Binary file not shown.
|
@ -58,7 +58,7 @@ static const char kMsg[] = "sample";
|
|||
#endif
|
||||
|
||||
/* Choose Test Key Curve */
|
||||
#if 0
|
||||
#if 1
|
||||
|
||||
/* SECP256R1 */
|
||||
#define ECC_KEY_CURVE ECC_SECP256R1
|
||||
|
@ -118,7 +118,7 @@ static const char kMsg[] = "sample";
|
|||
0x73, 0x44, 0xFD, 0x25, 0x33, 0x26, 0x47, 0x20
|
||||
};
|
||||
|
||||
#elif 1
|
||||
#elif 0
|
||||
|
||||
/* The test for SECP521R1 does not work in this example yet */
|
||||
/* SECP521R1 */
|
||||
|
|
Loading…
Reference in New Issue