iPXE
Data Fields
rsa_encrypt_decrypt_test Struct Reference

An RSA encryption and decryption self-test. More...

Data Fields

const void * private
 Private key.
size_t private_len
 Private key length.
const void * public
 Public key.
size_t public_len
 Public key length.
const void * plaintext
 Plaintext.
size_t plaintext_len
 Plaintext length.
const void * ciphertext
 Ciphertext.
size_t ciphertext_len
 Ciphertext length.

Detailed Description

An RSA encryption and decryption self-test.

Definition at line 62 of file rsa_test.c.


Field Documentation

Private key.

Definition at line 64 of file rsa_test.c.

Private key length.

Definition at line 66 of file rsa_test.c.

Public key.

Definition at line 68 of file rsa_test.c.

Public key length.

Definition at line 70 of file rsa_test.c.

Plaintext.

Definition at line 72 of file rsa_test.c.

Plaintext length.

Definition at line 74 of file rsa_test.c.

Ciphertext.

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

Definition at line 81 of file rsa_test.c.

Ciphertext length.

Definition at line 83 of file rsa_test.c.


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