iPXE
ecdsa_sha224.c File Reference
#include <byteswap.h>
#include <ipxe/ecdsa.h>
#include <ipxe/sha256.h>
#include <ipxe/asn1.h>
#include <ipxe/tls.h>

Go to the source code of this file.

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
 FILE_SECBOOT (PERMITTED)

Variables

static uint8_t oid_ecdsa_with_sha224 [] = { ASN1_OID_ECDSA_WITH_SHA224 }
 "ecdsa-with-SHA224" object identifier
struct asn1_algorithm ecdsa_with_sha224_algorithm __asn1_algorithm
 "ecdsa-with-SHA224" OID-identified algorithm
struct tls_signature_hash_algorithm tls_ecdsa_sha224 __tls_sig_hash_algorithm
 ECDSA with SHA-224 signature hash algorithm.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )

◆ FILE_SECBOOT()

FILE_SECBOOT ( PERMITTED )

Variable Documentation

◆ oid_ecdsa_with_sha224

uint8_t oid_ecdsa_with_sha224[] = { ASN1_OID_ECDSA_WITH_SHA224 }
static

"ecdsa-with-SHA224" object identifier

Definition at line 34 of file ecdsa_sha224.c.

#define ASN1_OID_ECDSA_WITH_SHA224
ASN.1 OID for ecdsa-with-SHA224 (1.2.840.10045.4.3.1).
Definition asn1.h:144

◆ __asn1_algorithm

struct asn1_algorithm ecdsa_with_sha224_algorithm __asn1_algorithm
Initial value:
= {
.name = "ecdsaWithSHA224",
.pubkey = &ecdsa_algorithm,
.digest = &sha224_algorithm,
}
#define ASN1_CURSOR(value)
Define an ASN.1 cursor for a static value.
Definition asn1.h:408
struct pubkey_algorithm ecdsa_algorithm
ECDSA public-key algorithm.
Definition ecdsa.c:911
static uint8_t oid_ecdsa_with_sha224[]
"ecdsa-with-SHA224" object identifier
struct digest_algorithm sha224_algorithm

"ecdsa-with-SHA224" OID-identified algorithm

Generic elliptic curve container algorithm.

Definition at line 37 of file ecdsa_sha224.c.

37 {
38 .name = "ecdsaWithSHA224",
39 .pubkey = &ecdsa_algorithm,
40 .digest = &sha224_algorithm,
42};

◆ __tls_sig_hash_algorithm

struct tls_signature_hash_algorithm tls_ecdsa_sha224 __tls_sig_hash_algorithm
Initial value:
= {
.algorithm = &ecpubkey_algorithm,
.pubkey = &ecdsa_algorithm,
.digest = &sha224_algorithm,
}
#define htons(value)
Definition byteswap.h:136
#define TLS_ECDSA_SHA224_ALGORITHM
Definition tls.h:117

ECDSA with SHA-224 signature hash algorithm.

Definition at line 46 of file ecdsa_sha224.c.

46 {
48 .algorithm = &ecpubkey_algorithm,
49 .pubkey = &ecdsa_algorithm,
50 .digest = &sha224_algorithm,
51};