iPXE
Functions | Variables
rsa_md5.c File Reference
#include <ipxe/rsa.h>
#include <ipxe/md5.h>
#include <ipxe/asn1.h>

Go to the source code of this file.

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
 

Variables

static uint8_t oid_md5_with_rsa_encryption []
 "md5WithRSAEncryption" object identifier More...
 
struct asn1_algorithm md5_with_rsa_encryption_algorithm __asn1_algorithm
 "md5WithRSAEncryption" OID-identified algorithm More...
 
static const uint8_t rsa_md5_prefix_data []
 MD5 digestInfo prefix. More...
 
struct rsa_digestinfo_prefix rsa_md5_prefix __rsa_digestinfo_prefix
 MD5 digestInfo prefix. More...
 

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )

Variable Documentation

◆ oid_md5_with_rsa_encryption

uint8_t oid_md5_with_rsa_encryption[]
static
Initial value:
=
#define ASN1_OID_MD5WITHRSAENCRYPTION
ASN.1 OID for md5WithRSAEncryption (1.2.840.113549.1.1.4)
Definition: asn1.h:129

"md5WithRSAEncryption" object identifier

Definition at line 31 of file rsa_md5.c.

◆ __asn1_algorithm

struct asn1_algorithm md5_with_rsa_encryption_algorithm __asn1_algorithm
Initial value:
= {
.name = "md5WithRSAEncryption",
.pubkey = &rsa_algorithm,
.digest = &md5_algorithm,
}
static uint8_t oid_md5_with_rsa_encryption[]
"md5WithRSAEncryption" object identifier
Definition: rsa_md5.c:31
#define ASN1_OID_CURSOR(oid_value)
Define an ASN.1 cursor containing an OID.
Definition: asn1.h:292
struct pubkey_algorithm rsa_algorithm
RSA public-key algorithm.
Definition: rsa.c:626
struct digest_algorithm md5_algorithm
MD5 algorithm.
Definition: md5.c:287

"md5WithRSAEncryption" OID-identified algorithm

Definition at line 35 of file rsa_md5.c.

◆ rsa_md5_prefix_data

const uint8_t rsa_md5_prefix_data[]
static
Initial value:
=
#define ASN1_OID_MD5
ASN.1 OID for id-md5 (1.2.840.113549.2.5)
Definition: asn1.h:171
#define RSA_DIGESTINFO_PREFIX(digest_size,...)
RSA digestInfo prefix.
Definition: rsa.h:33
#define MD5_DIGEST_SIZE
MD5 digest size.
Definition: md5.h:69

MD5 digestInfo prefix.

Definition at line 43 of file rsa_md5.c.

◆ __rsa_digestinfo_prefix

struct rsa_digestinfo_prefix rsa_md5_prefix __rsa_digestinfo_prefix
Initial value:
= {
.digest = &md5_algorithm,
.len = sizeof ( rsa_md5_prefix_data ),
}
static const uint8_t rsa_md5_prefix_data[]
MD5 digestInfo prefix.
Definition: rsa_md5.c:43
struct digest_algorithm md5_algorithm
MD5 algorithm.
Definition: md5.c:287

MD5 digestInfo prefix.

Definition at line 47 of file rsa_md5.c.