iPXE
oid_sha512_256.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_256 [] = { ASN1_OID_SHA512_256 }
 "sha512_256" object identifier
struct asn1_algorithm oid_sha512_256_algorithm __asn1_algorithm
 "sha512_256" OID-identified algorithm

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )

◆ FILE_SECBOOT()

FILE_SECBOOT ( PERMITTED )

Variable Documentation

◆ oid_sha512_256

uint8_t oid_sha512_256[] = { ASN1_OID_SHA512_256 }
static

"sha512_256" object identifier

Definition at line 31 of file oid_sha512_256.c.

#define ASN1_OID_SHA512_256
ASN.1 OID for id-sha512-256 (2.16.840.1.101.3.4.2.6)
Definition asn1.h:315

Referenced by PROVIDE_REQUIRING_SYMBOL().

◆ __asn1_algorithm

struct asn1_algorithm oid_sha512_256_algorithm __asn1_algorithm
Initial value:
= {
.name = "sha512/256",
}
#define ASN1_CURSOR(value)
Define an ASN.1 cursor for a static value.
Definition asn1.h:402
static uint8_t oid_sha512_256[]
"sha512_256" object identifier
struct digest_algorithm sha512_256_algorithm
SHA-512/256 algorithm.
Definition sha512_256.c:65

"sha512_256" OID-identified algorithm

Generic elliptic curve container algorithm.

Definition at line 34 of file oid_sha512_256.c.

34 {
35 .name = "sha512/256",
36 .digest = &sha512_256_algorithm,
37 .oid = ASN1_CURSOR ( oid_sha512_256 ),
38};