summaryrefslogtreecommitdiffstats
path: root/src/config/crypto.h
diff options
context:
space:
mode:
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