aboutsummaryrefslogtreecommitdiffstats
path: root/src/config/config_crypto.c
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2025-01-22 13:07:23 +0000
committerMichael Brown <mcb30@ipxe.org>2025-01-28 16:57:40 +0000
commitbc5f3dbe3e03bc67a846981c1fb93206f5557283 (patch)
tree7f330866ceef7bb972b5e3bdf130e6b7eddd0c8e /src/config/config_crypto.c
parentbe9ce490768dd4060fa4737ca5f50777ba6a15a8 (diff)
downloadipxe-bc5f3dbe3e03bc67a846981c1fb93206f5557283.tar.gz
[crypto] Add definitions and tests for the NIST P-256 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 f118a9709..99acd3076 100644
--- a/src/config/config_crypto.c
+++ b/src/config/config_crypto.c
@@ -88,6 +88,11 @@ REQUIRE_OBJECT ( oid_sha512_256 );
REQUIRE_OBJECT ( oid_x25519 );
#endif
+/* P-256 */
+#if defined ( CRYPTO_CURVE_P256 )
+REQUIRE_OBJECT ( oid_p256 );
+#endif
+
/* AES-CBC */
#if defined ( CRYPTO_CIPHER_AES_CBC )
REQUIRE_OBJECT ( oid_aes_cbc );