iPXE
oid_sha512.c File Reference
#include <ipxe/sha512.h>
#include <ipxe/asn1.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_sha512 [] = { ASN1_OID_SHA512 }
 "sha512" object identifier
struct asn1_algorithm oid_sha512_algorithm __asn1_algorithm
 "sha512" OID-identified algorithm

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )

◆ FILE_SECBOOT()

FILE_SECBOOT ( PERMITTED )

Variable Documentation

◆ oid_sha512

uint8_t oid_sha512[] = { ASN1_OID_SHA512 }
static

"sha512" object identifier

Definition at line 31 of file oid_sha512.c.

#define ASN1_OID_SHA512
ASN.1 OID for id-sha512 (2.16.840.1.101.3.4.2.3)
Definition asn1.h:294

Referenced by PROVIDE_REQUIRING_SYMBOL().

◆ __asn1_algorithm

struct asn1_algorithm oid_sha512_algorithm __asn1_algorithm
Initial value:
= {
.name = "sha512",
.digest = &sha512_algorithm,
.oid = ASN1_CURSOR ( oid_sha512 ),
}
#define ASN1_CURSOR(value)
Define an ASN.1 cursor for a static value.
Definition asn1.h:402
static uint8_t oid_sha512[]
"sha512" object identifier
Definition oid_sha512.c:31
struct digest_algorithm sha512_algorithm
SHA-512 algorithm.
Definition sha512.c:285

"sha512" OID-identified algorithm

Generic elliptic curve container algorithm.

Definition at line 34 of file oid_sha512.c.

34 {
35 .name = "sha512",
36 .digest = &sha512_algorithm,
37 .oid = ASN1_CURSOR ( oid_sha512 ),
38};