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 struct asn1_cursor plaintext
 Plaintext. More...
 
const struct asn1_cursor ciphertext
 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 struct asn1_cursor pubkey_test::plaintext

Plaintext.

Definition at line 19 of file pubkey_test.h.

◆ ciphertext

const struct asn1_cursor 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 26 of file pubkey_test.h.


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