diff options
author | Michael Brown <mcb30@ipxe.org> | 2024-01-30 18:00:31 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2024-01-30 18:01:44 +0000 |
commit | a881a26061a75bbca68a709eb40b396c4ef5656b (patch) | |
tree | ea404b74b3e4b6d8212802e78b6529deba3c94f7 /src/config/crypto.h | |
parent | b234226dbc4f348c7e4a5c61bdf7b0f8f0aef16c (diff) | |
download | ipxe-a881a26061a75bbca68a709eb40b396c4ef5656b.tar.gz |
[crypto] Add X25519 OID-identified algorithm and TLS named curve
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/config/crypto.h')
-rw-r--r-- | src/config/crypto.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config/crypto.h b/src/config/crypto.h index 76bf14d41..637a06c0c 100644 --- a/src/config/crypto.h +++ b/src/config/crypto.h @@ -48,6 +48,9 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); /** SHA-512/256 digest algorithm */ //#define CRYPTO_DIGEST_SHA512_256 +/** X25519 elliptic curve */ +#define CRYPTO_CURVE_X25519 + /** Margin of error (in seconds) allowed in signed timestamps * * We default to allowing a reasonable margin of error: 12 hours to |