aboutsummaryrefslogtreecommitdiffstats
path: root/agent/protect.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2011-01-31 08:27:06 +0000
committerWerner Koch <[email protected]>2011-01-31 08:27:06 +0000
commit0fb0bb8d9a960a2473ab70a021d20639a43227e0 (patch)
tree8dcce4f17931a3da45890db635a6474231224db0 /agent/protect.c
parentUpdate gitignore (diff)
downloadgnupg-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.c5
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 }
};