From 373b52e69a6ca609a663a0c4a018358fdf52dc7e Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Mon, 15 Mar 2021 16:53:45 +0900 Subject: [PATCH] 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 --- common/openpgp-oid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" },