From: Jouni Malinen Date: Sun, 2 Jul 2017 09:36:28 +0000 (+0300) Subject: DPP: Rename Brainpool curve names for JSON X-Git-Tag: hostap_2_7~1245 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0d3d3fcebbee53b59ba0b37e6e5e6d6fc9737bd;p=thirdparty%2Fhostap.git DPP: Rename Brainpool curve names for JSON This removes the "R1" postfix from the names used in JSON. Signed-off-by: Jouni Malinen --- diff --git a/src/common/dpp.c b/src/common/dpp.c index d625abf00..96154a207 100644 --- a/src/common/dpp.c +++ b/src/common/dpp.c @@ -54,9 +54,9 @@ static const struct dpp_curve_params dpp_curves[] = { { "prime256v1", 32, 32, 16, 32, "P-256", 19 }, { "secp384r1", 48, 48, 24, 48, "P-384", 20 }, { "secp521r1", 64, 64, 32, 66, "P-521", 21 }, - { "brainpoolP256r1", 32, 32, 16, 32, "BP-256R1", 28 }, - { "brainpoolP384r1", 48, 48, 24, 48, "BP-384R1", 29 }, - { "brainpoolP512r1", 64, 64, 32, 64, "BP-512R1", 30 }, + { "brainpoolP256r1", 32, 32, 16, 32, "BP-256", 28 }, + { "brainpoolP384r1", 48, 48, 24, 48, "BP-384", 29 }, + { "brainpoolP512r1", 64, 64, 32, 64, "BP-512", 30 }, { NULL, 0, 0, 0, 0, NULL, 0 } };