summaryrefslogtreecommitdiffstats
path: root/common/openpgp-oid.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2021-03-15 08:53:45 +0100
committerNIIBE Yutaka <gniibe@fsij.org>2021-03-15 08:53:45 +0100
commit373b52e69a6ca609a663a0c4a018358fdf52dc7e (patch)
tree61173c073d5f7b12a2528ba7b1ae5baf6d105404 /common/openpgp-oid.c
parentdoc: Typo fix in scdaemon.texi (diff)
downloadgnupg2-373b52e69a6ca609a663a0c4a018358fdf52dc7e.tar.xz
gnupg2-373b52e69a6ca609a663a0c4a018358fdf52dc7e.zip
common: Fix the NBITS of Ed448in OIDTABLE.
common/openpgp-oid.c (oidtable): Ed448 uses 456-bit signature. -- While the curve itself is 448-bit, the signature size is 456-bit. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'common/openpgp-oid.c')
-rw-r--r--common/openpgp-oid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/openpgp-oid.c b/common/openpgp-oid.c
index 02b87078b..ded7b0f7a 100644
--- a/common/openpgp-oid.c
+++ b/common/openpgp-oid.c
@@ -49,7 +49,7 @@ static struct {
{ "Curve25519", "1.3.6.1.4.1.3029.1.5.1", 255, "cv25519", PUBKEY_ALGO_ECDH },
{ "Ed25519", "1.3.6.1.4.1.11591.15.1", 255, "ed25519", PUBKEY_ALGO_EDDSA },
{ "X448", "1.3.101.111", 448, "cv448", PUBKEY_ALGO_ECDH },
- { "Ed448", "1.3.101.113", 448, "ed448", PUBKEY_ALGO_EDDSA },
+ { "Ed448", "1.3.101.113", 456, "ed448", PUBKEY_ALGO_EDDSA },
{ "NIST P-256", "1.2.840.10045.3.1.7", 256, "nistp256" },
{ "NIST P-384", "1.3.132.0.34", 384, "nistp384" },