mirror of
https://github.com/ipxe/ipxe
synced 2026-01-21 09:57:23 +03:00
[crypto] Add definitions and tests for the NIST P-384 elliptic curve
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -93,6 +93,11 @@ REQUIRE_OBJECT ( oid_x25519 );
|
||||
REQUIRE_OBJECT ( oid_p256 );
|
||||
#endif
|
||||
|
||||
/* P-384 */
|
||||
#if defined ( CRYPTO_CURVE_P384 )
|
||||
REQUIRE_OBJECT ( oid_p384 );
|
||||
#endif
|
||||
|
||||
/* AES-CBC */
|
||||
#if defined ( CRYPTO_CIPHER_AES_CBC )
|
||||
REQUIRE_OBJECT ( oid_aes_cbc );
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user