[crypto] Add definitions and tests for the NIST P-256 elliptic curve

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2025-01-22 13:07:23 +00:00
parent be9ce49076
commit bc5f3dbe3e
9 changed files with 325 additions and 0 deletions

View File

@@ -88,6 +88,11 @@ REQUIRE_OBJECT ( oid_sha512_256 );
REQUIRE_OBJECT ( oid_x25519 );
#endif
/* P-256 */
#if defined ( CRYPTO_CURVE_P256 )
REQUIRE_OBJECT ( oid_p256 );
#endif
/* AES-CBC */
#if defined ( CRYPTO_CIPHER_AES_CBC )
REQUIRE_OBJECT ( oid_aes_cbc );