iPXE
Functions | Variables
rsa_sha224.c File Reference
#include <ipxe/rsa.h>
#include <ipxe/sha256.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)
 

Variables

static uint8_t oid_sha224_with_rsa_encryption []
 "sha224WithRSAEncryption" object identifier More...
 
struct asn1_algorithm sha224_with_rsa_encryption_algorithm __asn1_algorithm
 "sha224WithRSAEncryption" OID-identified algorithm More...
 
static const uint8_t rsa_sha224_prefix_data []
 SHA-224 digestInfo prefix. More...
 
struct rsa_digestinfo_prefix rsa_sha224_prefix __rsa_digestinfo_prefix
 SHA-224 digestInfo prefix. More...
 
struct tls_signature_hash_algorithm tls_rsa_sha224 __tls_sig_hash_algorithm
 RSA with SHA-224 signature hash algorithm. More...
 

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )

Variable Documentation

◆ oid_sha224_with_rsa_encryption

uint8_t oid_sha224_with_rsa_encryption[]
static
Initial value:
=
#define ASN1_OID_SHA224WITHRSAENCRYPTION
ASN.1 OID for sha224WithRSAEncryption (1.2.840.113549.1.1.14)
Definition: asn1.h:167

"sha224WithRSAEncryption" object identifier

Definition at line 32 of file rsa_sha224.c.

◆ __asn1_algorithm

struct asn1_algorithm sha224_with_rsa_encryption_algorithm __asn1_algorithm
Initial value:
= {
.name = "sha224WithRSAEncryption",
.pubkey = &rsa_algorithm,
.digest = &sha224_algorithm,
}
static uint8_t oid_sha224_with_rsa_encryption[]
"sha224WithRSAEncryption" object identifier
Definition: rsa_sha224.c:32
#define ASN1_CURSOR(value)
Define an ASN.1 cursor for a static value.
Definition: asn1.h:305
struct pubkey_algorithm rsa_algorithm
RSA public-key algorithm.
Definition: rsa.c:632
struct digest_algorithm sha224_algorithm
SHA-224 algorithm.
Definition: sha224.c:63

"sha224WithRSAEncryption" OID-identified algorithm

"md4" OID-identified algorithm

Definition at line 36 of file rsa_sha224.c.

◆ rsa_sha224_prefix_data

const uint8_t rsa_sha224_prefix_data[]
static
Initial value:
=
#define ASN1_OID_SHA224
ASN.1 OID for id-sha224 (2.16.840.1.101.3.4.2.4)
Definition: asn1.h:217
#define RSA_DIGESTINFO_PREFIX(digest_size,...)
RSA digestInfo prefix.
Definition: rsa.h:33
#define SHA224_DIGEST_SIZE
SHA-224 digest size.
Definition: sha256.h:80

SHA-224 digestInfo prefix.

Definition at line 44 of file rsa_sha224.c.

◆ __rsa_digestinfo_prefix

struct rsa_digestinfo_prefix rsa_sha224_prefix __rsa_digestinfo_prefix
Initial value:
= {
.digest = &sha224_algorithm,
.len = sizeof ( rsa_sha224_prefix_data ),
}
static const uint8_t rsa_sha224_prefix_data[]
SHA-224 digestInfo prefix.
Definition: rsa_sha224.c:44
struct digest_algorithm sha224_algorithm
SHA-224 algorithm.
Definition: sha224.c:63

SHA-224 digestInfo prefix.

Definition at line 48 of file rsa_sha224.c.

◆ __tls_sig_hash_algorithm

struct tls_signature_hash_algorithm tls_rsa_sha224 __tls_sig_hash_algorithm
Initial value:
= {
.code = {
.signature = TLS_RSA_ALGORITHM,
},
.pubkey = &rsa_algorithm,
.digest = &sha224_algorithm,
}
#define TLS_RSA_ALGORITHM
Definition: tls.h:115
#define TLS_SHA224_ALGORITHM
Definition: tls.h:109
struct pubkey_algorithm rsa_algorithm
RSA public-key algorithm.
Definition: rsa.c:632
struct digest_algorithm sha224_algorithm
SHA-224 algorithm.
Definition: sha224.c:63

RSA with SHA-224 signature hash algorithm.

Definition at line 55 of file rsa_sha224.c.