Skip to content

Commit

Permalink
sensible values in ec_curves for Ed448/X448
Browse files Browse the repository at this point in the history
  • Loading branch information
TJ-91 committed Nov 4, 2024
1 parent 3fe4fb5 commit 21c2f96
Showing 1 changed file with 24 additions and 25 deletions.
49 changes: 24 additions & 25 deletions src/lib/crypto/ec_curves.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -263,36 +263,35 @@ static const ec_curve_desc_t ec_curves[] = {
"0x32C4AE2C1F1981195F9904466A39C9948FE30BBFF2660BE1715A4589334C74C7",
"0xBC3736A2F4F6779C59BDCEE36B692153D0A9877CC62A474002DF32E52139F0A0",
},
/* TODO: correct values */
#if defined(ENABLE_CRYPTO_REFRESH)
{PGP_CURVE_ED448,
0,
{},
0,
"Ed25519",
"Ed25519",
255,
{0x2B, 0x65, 0x71},
3,
"Ed448",
"Ed448",
true,
"0x00",
"0x00",
"0x00",
"0x00",
"0x00",
"0x00",
"0x00"},
"",
"",
"",
"",
"",
"",
""},
{PGP_CURVE_448,
0,
{},
0x00,
"curve25519",
"Curve25519",
448,
{0x2B, 0x65, 0x6F},
3,
"X448",
"X448",
true,
"0x00",
"0x00",
"0x00",
"0x00",
"0x00",
"0x00",
"0x00"},
"",
"",
"",
"",
"",
"",
""},
#endif
};

Expand Down

0 comments on commit 21c2f96

Please sign in to comment.