iPXE
Data Fields
pubkey_test Struct Reference

A public-key encryption and decryption test. More...

#include <pubkey_test.h>

Data Fields

struct pubkey_algorithmpubkey
 Public-key algorithm. More...
 
const struct asn1_cursor private
 Private key. More...
 
const struct asn1_cursor public
 Public key. More...
 
const void * plaintext
 Plaintext. More...
 
size_t plaintext_len
 Length of plaintext. More...
 
const void * ciphertext
 Ciphertext. More...
 
size_t ciphertext_len
 Length of ciphertext. More...
 

Detailed Description

A public-key encryption and decryption test.

Definition at line 11 of file pubkey_test.h.

Field Documentation

◆ pubkey

struct pubkey_algorithm* pubkey_test::pubkey

Public-key algorithm.

Definition at line 13 of file pubkey_test.h.

◆ private

const struct asn1_cursor pubkey_test::private

Private key.

Definition at line 15 of file pubkey_test.h.

◆ public

const struct asn1_cursor pubkey_test::public

Public key.

Definition at line 17 of file pubkey_test.h.

◆ plaintext

const void* pubkey_test::plaintext

Plaintext.

Definition at line 19 of file pubkey_test.h.

◆ plaintext_len

size_t pubkey_test::plaintext_len

Length of plaintext.

Definition at line 21 of file pubkey_test.h.

◆ ciphertext

const void* pubkey_test::ciphertext

Ciphertext.

Note that the encryption process may include some random padding, so a given plaintext will encrypt to multiple different ciphertexts.

Definition at line 28 of file pubkey_test.h.

◆ ciphertext_len

size_t pubkey_test::ciphertext_len

Length of ciphertext.

Definition at line 30 of file pubkey_test.h.


The documentation for this struct was generated from the following file: