ecc_sign_deterministic.c for SHA512 and SHA 384
parent
3b30dcba2c
commit
f6e6fecdfa
Binary file not shown.
|
@ -43,8 +43,8 @@ gcc -lwolfssl -o ecc_sign ecc_sign.c
|
||||||
|
|
||||||
/* message = "sample": */
|
/* message = "sample": */
|
||||||
static const char kMsg[] = "sample";
|
static const char kMsg[] = "sample";
|
||||||
#define DIGEST_SZ WC_SHA256_DIGEST_SIZE
|
#define DIGEST_SZ WC_SHA384_DIGEST_SIZE
|
||||||
#define HASH_FUNC crypto_sha256
|
#define HASH_FUNC crypto_sha384
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue