diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2021-09-10 21:15:04 +0900 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2021-09-10 21:16:24 +0900 |
commit | b82e66cf067b58b992e43b72938ac88d52d06385 (patch) | |
tree | 221b3fbc22938ebc1a65caae8f6c7a24f864f701 /tests/t-ecdsa.c | |
parent | 023b689d8f3aa98a71a7c943fe113d7a13ebe466 (diff) | |
download | libgcrypt-b82e66cf067b58b992e43b72938ac88d52d06385.tar.gz |
experiment: Implement ECDSA with NIST curves by PKEY API.
--
Need to fix _gcry_ecc_ecdsa_sign to support supplying K externally.
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'tests/t-ecdsa.c')
-rw-r--r-- | tests/t-ecdsa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/t-ecdsa.c b/tests/t-ecdsa.c index fb7f2741..18876273 100644 --- a/tests/t-ecdsa.c +++ b/tests/t-ecdsa.c @@ -210,7 +210,7 @@ one_test (const char *curvename, const char *sha_alg, size_t in_len[4]; unsigned char *out[2] = { NULL, NULL }; size_t out_len[2] = { 0, 0 }; - unsigned int flags = 0; + unsigned int flags = GCRY_PKEY_FLAG_PREHASH; int curve; int md_algo; |