iPXE
Functions | Variables
ecdsa_sha512.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)
 

Variables

static uint8_t oid_ecdsa_with_sha512 [] = { ASN1_OID_ECDSA_WITH_SHA512 }
 "ecdsa-with-SHA512" object identifier More...
 
struct asn1_algorithm ecdsa_with_sha512_algorithm __asn1_algorithm
 "ecdsa-with-SHA512" OID-identified algorithm More...
 
struct tls_signature_hash_algorithm tls_ecdsa_sha512 __tls_sig_hash_algorithm
 ECDSA with SHA-512 signature hash algorithm. More...
 

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )

Variable Documentation

◆ oid_ecdsa_with_sha512

uint8_t oid_ecdsa_with_sha512[] = { ASN1_OID_ECDSA_WITH_SHA512 }
static

"ecdsa-with-SHA512" object identifier

Definition at line 32 of file ecdsa_sha512.c.

◆ __asn1_algorithm

struct asn1_algorithm ecdsa_with_sha512_algorithm __asn1_algorithm
Initial value:
= {
.name = "ecdsaWithSHA512",
.pubkey = &ecdsa_algorithm,
.digest = &sha512_algorithm,
}
struct digest_algorithm sha512_algorithm
SHA-512 algorithm.
Definition: sha512.c:284
static uint8_t oid_ecdsa_with_sha512[]
"ecdsa-with-SHA512" object identifier
Definition: ecdsa_sha512.c:32
#define ASN1_CURSOR(value)
Define an ASN.1 cursor for a static value.
Definition: asn1.h:401
struct pubkey_algorithm ecdsa_algorithm
ECDSA public-key algorithm.
Definition: ecdsa.c:936

"ecdsa-with-SHA512" OID-identified algorithm

Generic elliptic curve container algorithm.

Definition at line 35 of file ecdsa_sha512.c.

◆ __tls_sig_hash_algorithm

struct tls_signature_hash_algorithm tls_ecdsa_sha512 __tls_sig_hash_algorithm
Initial value:
= {
.code = {
.signature = TLS_ECDSA_ALGORITHM,
},
.pubkey = &ecdsa_algorithm,
.digest = &sha512_algorithm,
}
struct digest_algorithm sha512_algorithm
SHA-512 algorithm.
Definition: sha512.c:284
struct pubkey_algorithm ecdsa_algorithm
ECDSA public-key algorithm.
Definition: ecdsa.c:936
#define TLS_SHA512_ALGORITHM
Definition: tls.h:118
#define TLS_ECDSA_ALGORITHM
Definition: tls.h:122

ECDSA with SHA-512 signature hash algorithm.

Definition at line 44 of file ecdsa_sha512.c.