iPXE
oid_rsa.c File Reference
#include <ipxe/rsa.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_rsa_encryption [] = { ASN1_OID_RSAENCRYPTION }
 "rsaEncryption" object identifier
struct asn1_algorithm rsa_encryption_algorithm __asn1_algorithm
 "rsaEncryption" OID-identified algorithm

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )

◆ FILE_SECBOOT()

FILE_SECBOOT ( PERMITTED )

Variable Documentation

◆ oid_rsa_encryption

uint8_t oid_rsa_encryption[] = { ASN1_OID_RSAENCRYPTION }
static

"rsaEncryption" object identifier

Definition at line 31 of file oid_rsa.c.

#define ASN1_OID_RSAENCRYPTION
ASN.1 OID for rsaEncryption (1.2.840.113549.1.1.1)
Definition asn1.h:168

◆ __asn1_algorithm

struct asn1_algorithm rsa_encryption_algorithm __asn1_algorithm
Initial value:
= {
.name = "rsaEncryption",
.pubkey = &rsa_algorithm,
.digest = NULL,
}
#define NULL
NULL pointer (VOID *)
Definition Base.h:322
#define ASN1_CURSOR(value)
Define an ASN.1 cursor for a static value.
Definition asn1.h:402
static uint8_t oid_rsa_encryption[]
"rsaEncryption" object identifier
Definition oid_rsa.c:31
struct pubkey_algorithm rsa_algorithm
RSA public-key algorithm.
Definition rsa.c:661

"rsaEncryption" OID-identified algorithm

Generic elliptic curve container algorithm.

Definition at line 34 of file oid_rsa.c.

34 {
35 .name = "rsaEncryption",
36 .pubkey = &rsa_algorithm,
37 .digest = NULL,
39};