iPXE
|
A public-key encryption and decryption test. More...
#include <pubkey_test.h>
Data Fields | |
struct pubkey_algorithm * | pubkey |
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... | |
A public-key encryption and decryption test.
Definition at line 11 of file pubkey_test.h.
struct pubkey_algorithm* pubkey_test::pubkey |
Public-key algorithm.
Definition at line 13 of file pubkey_test.h.
const struct asn1_cursor pubkey_test::private |
Private key.
Definition at line 15 of file pubkey_test.h.
const struct asn1_cursor pubkey_test::public |
Public key.
Definition at line 17 of file pubkey_test.h.
const void* pubkey_test::plaintext |
Plaintext.
Definition at line 19 of file pubkey_test.h.
size_t pubkey_test::plaintext_len |
Length of plaintext.
Definition at line 21 of file pubkey_test.h.
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.
size_t pubkey_test::ciphertext_len |
Length of ciphertext.
Definition at line 30 of file pubkey_test.h.