iPXE
oid_sha384.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_sha384 [] = { ASN1_OID_SHA384 }
 "sha384" object identifier
struct asn1_algorithm oid_sha384_algorithm __asn1_algorithm
 "sha384" OID-identified algorithm

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )

◆ FILE_SECBOOT()

FILE_SECBOOT ( PERMITTED )

Variable Documentation

◆ oid_sha384

uint8_t oid_sha384[] = { ASN1_OID_SHA384 }
static

"sha384" object identifier

Definition at line 31 of file oid_sha384.c.

#define ASN1_OID_SHA384
ASN.1 OID for id-sha384 (2.16.840.1.101.3.4.2.2)
Definition asn1.h:287

Referenced by PROVIDE_REQUIRING_SYMBOL().

◆ __asn1_algorithm

struct asn1_algorithm oid_sha384_algorithm __asn1_algorithm
Initial value:
= {
.name = "sha384",
.digest = &sha384_algorithm,
.oid = ASN1_CURSOR ( oid_sha384 ),
}
#define ASN1_CURSOR(value)
Define an ASN.1 cursor for a static value.
Definition asn1.h:402
static uint8_t oid_sha384[]
"sha384" object identifier
Definition oid_sha384.c:31
struct digest_algorithm sha384_algorithm
SHA-384 algorithm.
Definition sha384.c:64

"sha384" OID-identified algorithm

Generic elliptic curve container algorithm.

Definition at line 34 of file oid_sha384.c.

34 {
35 .name = "sha384",
36 .digest = &sha384_algorithm,
37 .oid = ASN1_CURSOR ( oid_sha384 ),
38};