1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

ecc-sos: public key is MPI with the prefix 0x40.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
NIIBE Yutaka 2019-12-03 09:42:43 +09:00
parent f27a581090
commit ed4c1e213a
5 changed files with 5 additions and 11 deletions

View file

@ -1274,7 +1274,7 @@ extract_private_key (gcry_sexp_t s_key, int req_private_key_data,
else if (!strcmp (name, "ecc") || !strcmp (name, "ecdsa"))
{
algoname = "ecc";
format = "/qd?";
format = "q/d?";
npkey = 1;
nskey = 2;
curve = gcry_sexp_find_token (list, "curve", 0);