aboutsummaryrefslogtreecommitdiffstats
path: root/src/config/config_crypto.c
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2025-01-30 15:35:34 +0000
committerMichael Brown <mcb30@ipxe.org>2025-01-30 15:35:34 +0000
commitc85de315a601d95a6348c4caf5d3af6b146274b7 (patch)
treeaabf897aa6df9c4cca11fa9b67f1ab7d33dde99e /src/config/config_crypto.c
parentbc5f3dbe3e03bc67a846981c1fb93206f5557283 (diff)
downloadipxe-c85de315a601d95a6348c4caf5d3af6b146274b7.tar.gz
[crypto] Add definitions and tests for the NIST P-384 elliptic curve
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/config/config_crypto.c')
-rw-r--r--src/config/config_crypto.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/config/config_crypto.c b/src/config/config_crypto.c
index 99acd3076..19d6d032e 100644
--- a/src/config/config_crypto.c
+++ b/src/config/config_crypto.c
@@ -93,6 +93,11 @@ REQUIRE_OBJECT ( oid_x25519 );
REQUIRE_OBJECT ( oid_p256 );
#endif
+/* P-384 */
+#if defined ( CRYPTO_CURVE_P384 )
+REQUIRE_OBJECT ( oid_p384 );
+#endif
+
/* AES-CBC */
#if defined ( CRYPTO_CIPHER_AES_CBC )
REQUIRE_OBJECT ( oid_aes_cbc );