iPXE
oid_x25519.c File Reference
#include <byteswap.h>
#include <ipxe/x25519.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_group tls_x25519_named_group __tls_named_group (01)
 X25519 named group.

Variables

static uint8_t oid_x25519 [] = { ASN1_OID_X25519 }
 "x25519" object identifier
struct asn1_algorithm oid_x25519_algorithm __asn1_algorithm
 "x25519" OID-identified algorithm

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )

◆ FILE_SECBOOT()

FILE_SECBOOT ( PERMITTED )

◆ __tls_named_group()

struct tls_named_group tls_x25519_named_group __tls_named_group ( 01 )

X25519 named group.

References __tls_named_group, htons, TLS_NAMED_GROUP_X25519, and x25519_algorithm.

Variable Documentation

◆ oid_x25519

uint8_t oid_x25519[] = { ASN1_OID_X25519 }
static

"x25519" object identifier

Definition at line 33 of file oid_x25519.c.

#define ASN1_OID_X25519
ASN.1 OID for id-x25519 (1.3.101.110).
Definition asn1.h:234

Referenced by PROVIDE_REQUIRING_SYMBOL().

◆ __asn1_algorithm

struct asn1_algorithm oid_x25519_algorithm __asn1_algorithm
Initial value:
= {
.name = "x25519",
.oid = ASN1_CURSOR ( oid_x25519 ),
}
#define ASN1_CURSOR(value)
Define an ASN.1 cursor for a static value.
Definition asn1.h:408
static uint8_t oid_x25519[]
"x25519" object identifier
Definition oid_x25519.c:33

"x25519" OID-identified algorithm

Generic elliptic curve container algorithm.

Definition at line 36 of file oid_x25519.c.

36 {
37 .name = "x25519",
38 .oid = ASN1_CURSOR ( oid_x25519 ),
39};