iPXE
ecdsa_sha384.c File Reference
#include <ipxe/ecdsa.h>
#include <ipxe/sha512.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_sha384 [] = { ASN1_OID_ECDSA_WITH_SHA384 }
 "ecdsa-with-SHA384" object identifier
struct asn1_algorithm ecdsa_with_sha384_algorithm __asn1_algorithm
 "ecdsa-with-SHA384" OID-identified algorithm
struct tls_signature_hash_algorithm tls_ecdsa_sha384 __tls_sig_hash_algorithm
 ECDSA with SHA-384 signature hash algorithm.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )

◆ FILE_SECBOOT()

FILE_SECBOOT ( PERMITTED )

Variable Documentation

◆ oid_ecdsa_with_sha384

uint8_t oid_ecdsa_with_sha384[] = { ASN1_OID_ECDSA_WITH_SHA384 }
static

"ecdsa-with-SHA384" object identifier

Definition at line 33 of file ecdsa_sha384.c.

#define ASN1_OID_ECDSA_WITH_SHA384
ASN.1 OID for ecdsa-with-SHA384 (1.2.840.10045.4.3.3)
Definition asn1.h:156

◆ __asn1_algorithm

struct asn1_algorithm ecdsa_with_sha384_algorithm __asn1_algorithm
Initial value:
= {
.name = "ecdsaWithSHA384",
.pubkey = &ecdsa_algorithm,
.digest = &sha384_algorithm,
}
#define ASN1_CURSOR(value)
Define an ASN.1 cursor for a static value.
Definition asn1.h:402
struct pubkey_algorithm ecdsa_algorithm
ECDSA public-key algorithm.
Definition ecdsa.c:937
static uint8_t oid_ecdsa_with_sha384[]
"ecdsa-with-SHA384" object identifier
struct digest_algorithm sha384_algorithm
SHA-384 algorithm.
Definition sha384.c:64

"ecdsa-with-SHA384" OID-identified algorithm

Generic elliptic curve container algorithm.

Definition at line 36 of file ecdsa_sha384.c.

36 {
37 .name = "ecdsaWithSHA384",
38 .pubkey = &ecdsa_algorithm,
39 .digest = &sha384_algorithm,
41};

◆ __tls_sig_hash_algorithm

struct tls_signature_hash_algorithm tls_ecdsa_sha384 __tls_sig_hash_algorithm
Initial value:
= {
.code = {
.signature = TLS_ECDSA_ALGORITHM,
},
.pubkey = &ecdsa_algorithm,
.digest = &sha384_algorithm,
}
#define TLS_ECDSA_ALGORITHM
Definition tls.h:123
#define TLS_SHA384_ALGORITHM
Definition tls.h:118

ECDSA with SHA-384 signature hash algorithm.

Definition at line 45 of file ecdsa_sha384.c.

45 {
46 .code = {
47 .signature = TLS_ECDSA_ALGORITHM,
49 },
50 .pubkey = &ecdsa_algorithm,
51 .digest = &sha384_algorithm,
52};