summaryrefslogtreecommitdiffstats
path: root/src/config/crypto.h
diff options
context:
space:
mode:
authorSimon Rettberg2026-01-28 12:53:53 +0100
committerSimon Rettberg2026-01-28 12:53:53 +0100
commit8e82785c584dc13e20f9229decb95bd17bbe9cd1 (patch)
treea8b359e59196be5b2e3862bed189107f4bc9975f /src/config/crypto.h
parentMerge branch 'master' into openslx (diff)
parent[prefix] Make unlzma.S compatible with 386 class CPUs (diff)
downloadipxe-openslx.tar.gz
ipxe-openslx.tar.xz
ipxe-openslx.zip
Merge branch 'master' into openslxopenslx
Diffstat (limited to 'src/config/crypto.h')
-rw-r--r--src/config/crypto.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/config/crypto.h b/src/config/crypto.h
index 589c4f0da..e28ba2777 100644
--- a/src/config/crypto.h
+++ b/src/config/crypto.h
@@ -8,6 +8,7 @@
*/
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+FILE_SECBOOT ( PERMITTED );
/** Minimum TLS version */
#define TLS_VERSION_MIN TLS_VERSION_TLS_1_1
@@ -24,6 +25,9 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
/** RSA public-key algorithm */
#define CRYPTO_PUBKEY_RSA
+/** ECDSA public-key algorithm */
+#define CRYPTO_PUBKEY_ECDSA
+
/** AES-CBC block cipher */
#define CRYPTO_CIPHER_AES_CBC
@@ -60,6 +64,12 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
/** X25519 elliptic curve */
#define CRYPTO_CURVE_X25519
+/** 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