diff options
author | Werner Koch <[email protected]> | 2011-01-31 08:27:06 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2011-01-31 08:27:06 +0000 |
commit | 0fb0bb8d9a960a2473ab70a021d20639a43227e0 (patch) | |
tree | 8dcce4f17931a3da45890db635a6474231224db0 /agent/protect.c | |
parent | Update gitignore (diff) | |
download | gnupg-0fb0bb8d9a960a2473ab70a021d20639a43227e0.tar.gz gnupg-0fb0bb8d9a960a2473ab70a021d20639a43227e0.zip |
Reworked the ECC changes to better fit into the Libgcrypt API.
See ChangeLog for details. Key generation, signing and verification works.
Encryption does not yet work. Requires latest Libgcrypt changes.
Diffstat (limited to '')
-rw-r--r-- | agent/protect.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/agent/protect.c b/agent/protect.c index d0a5fe9e3..61ed8ee38 100644 --- a/agent/protect.c +++ b/agent/protect.c @@ -52,8 +52,9 @@ static struct { { "rsa", "nedpqu", 2, 5 }, { "dsa", "pqgyx", 4, 4 }, { "elg", "pgyx", 3, 3 }, - { "ecdsa","cqd", 2, 2 }, - { "ecdh", "cqpd", 3, 3 }, + { "ecdsa","pabgnqd", 6, 6 }, + { "ecdh", "pabgnqd", 6, 6 }, + { "ecc", "pabgnqd", 6, 6 }, { NULL } }; |