iPXE
oid_p384.c File Reference
#include <byteswap.h>
#include <ipxe/p384.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)
struct tls_named_curve tls_secp384r1_named_curve __tls_named_curve (01)
 P-384 named curve.

Variables

static uint8_t oid_secp384r1 [] = { ASN1_OID_SECP384R1 }
 "secp384r1" object identifier
struct asn1_algorithm secp384r1_algorithm __asn1_algorithm
 "secp384r1" OID-identified algorithm

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )

◆ FILE_SECBOOT()

FILE_SECBOOT ( PERMITTED )

◆ __tls_named_curve()

struct tls_named_curve tls_secp384r1_named_curve __tls_named_curve ( 01 )

Variable Documentation

◆ oid_secp384r1

uint8_t oid_secp384r1[] = { ASN1_OID_SECP384R1 }
static

"secp384r1" object identifier

Definition at line 33 of file oid_p384.c.

#define ASN1_OID_SECP384R1
ASN.1 OID for secp384r1 (1.3.132.0.34)
Definition asn1.h:233

◆ __asn1_algorithm

struct asn1_algorithm secp384r1_algorithm __asn1_algorithm
Initial value:
= {
.name = "secp384r1",
.curve = &p384_curve,
}
#define ASN1_CURSOR(value)
Define an ASN.1 cursor for a static value.
Definition asn1.h:402
static uint8_t oid_secp384r1[]
"secp384r1" object identifier
Definition oid_p384.c:33
struct elliptic_curve p384_curve

"secp384r1" OID-identified algorithm

Generic elliptic curve container algorithm.

Definition at line 36 of file oid_p384.c.

36 {
37 .name = "secp384r1",
38 .curve = &p384_curve,
39 .oid = ASN1_CURSOR ( oid_secp384r1 ),
40};