iPXE
Functions | Variables
rsa_sha512.c File Reference
#include <ipxe/rsa.h>
#include <ipxe/sha512.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_sha512_with_rsa_encryption []
 "sha512WithRSAEncryption" object identifier
struct asn1_algorithm
sha512_with_rsa_encryption_algorithm 
__asn1_algorithm
 "sha512WithRSAEncryption" OID-identified algorithm
static const uint8_t rsa_sha512_prefix_data []
 SHA-512 digestInfo prefix.
struct rsa_digestinfo_prefix
rsa_sha512_prefix 
__rsa_digestinfo_prefix
 SHA-512 digestInfo prefix.
struct
tls_signature_hash_algorithm
tls_rsa_sha512 
__tls_sig_hash_algorithm
 RSA with SHA-512 signature hash algorithm.

Function Documentation

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )

Variable Documentation

Initial value:

"sha512WithRSAEncryption" object identifier

Definition at line 32 of file rsa_sha512.c.

struct asn1_algorithm sha512_with_rsa_encryption_algorithm __asn1_algorithm
Initial value:
 {
        .name = "sha512WithRSAEncryption",
        .pubkey = &rsa_algorithm,
        .digest = &sha512_algorithm,
        .oid = ASN1_OID_CURSOR ( oid_sha512_with_rsa_encryption ),
}

"sha512WithRSAEncryption" OID-identified algorithm

Definition at line 36 of file rsa_sha512.c.

const uint8_t rsa_sha512_prefix_data[] [static]
Initial value:

SHA-512 digestInfo prefix.

Definition at line 44 of file rsa_sha512.c.

Initial value:
 {
        .digest = &sha512_algorithm,
        .data = rsa_sha512_prefix_data,
        .len = sizeof ( rsa_sha512_prefix_data ),
}

SHA-512 digestInfo prefix.

Definition at line 48 of file rsa_sha512.c.

Initial value:
 {
        .code = {
                .signature = TLS_RSA_ALGORITHM,
                .hash = TLS_SHA512_ALGORITHM,
        },
        .pubkey = &rsa_algorithm,
        .digest = &sha512_algorithm,
}

RSA with SHA-512 signature hash algorithm.

Definition at line 55 of file rsa_sha512.c.