aboutsummaryrefslogtreecommitdiffstats
path: root/src/config/crypto.h
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/crypto.h
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/crypto.h')
-rw-r--r--src/config/crypto.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config/crypto.h b/src/config/crypto.h
index 5e96be4aa..f2ee9fd0d 100644
--- a/src/config/crypto.h
+++ b/src/config/crypto.h
@@ -63,6 +63,9 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
/** P-256 elliptic curve */
#define CRYPTO_CURVE_P256
+/** P-384 elliptic curve */
+#define CRYPTO_CURVE_P384
+
/** Margin of error (in seconds) allowed in signed timestamps
*
* We default to allowing a reasonable margin of error: 12 hours to