diff options
author | Michael Brown <mcb30@ipxe.org> | 2025-01-22 13:07:23 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2025-01-28 16:57:40 +0000 |
commit | bc5f3dbe3e03bc67a846981c1fb93206f5557283 (patch) | |
tree | 7f330866ceef7bb972b5e3bdf130e6b7eddd0c8e /src/config/crypto.h | |
parent | be9ce490768dd4060fa4737ca5f50777ba6a15a8 (diff) | |
download | ipxe-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/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 589c4f0da..5e96be4aa 100644 --- a/src/config/crypto.h +++ b/src/config/crypto.h @@ -60,6 +60,9 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); /** X25519 elliptic curve */ #define CRYPTO_CURVE_X25519 +/** P-256 elliptic curve */ +#define CRYPTO_CURVE_P256 + /** Margin of error (in seconds) allowed in signed timestamps * * We default to allowing a reasonable margin of error: 12 hours to |