iPXE
|
An RSA encryption and decryption self-test. More...
Data Fields | |
const void * | private |
Private key. More... | |
size_t | private_len |
Private key length. More... | |
const void * | public |
Public key. More... | |
size_t | public_len |
Public key length. More... | |
const void * | plaintext |
Plaintext. More... | |
size_t | plaintext_len |
Plaintext length. More... | |
const void * | ciphertext |
Ciphertext. More... | |
size_t | ciphertext_len |
Ciphertext length. More... | |
An RSA encryption and decryption self-test.
Definition at line 62 of file rsa_test.c.
const void* rsa_encrypt_decrypt_test::private |
Private key.
Definition at line 64 of file rsa_test.c.
size_t rsa_encrypt_decrypt_test::private_len |
Private key length.
Definition at line 66 of file rsa_test.c.
const void* rsa_encrypt_decrypt_test::public |
Public key.
Definition at line 68 of file rsa_test.c.
size_t rsa_encrypt_decrypt_test::public_len |
Public key length.
Definition at line 70 of file rsa_test.c.
const void* rsa_encrypt_decrypt_test::plaintext |
Plaintext.
Definition at line 72 of file rsa_test.c.
size_t rsa_encrypt_decrypt_test::plaintext_len |
Plaintext length.
Definition at line 74 of file rsa_test.c.
const void* rsa_encrypt_decrypt_test::ciphertext |
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.
size_t rsa_encrypt_decrypt_test::ciphertext_len |
Ciphertext length.
Definition at line 83 of file rsa_test.c.