iPXE
Data Fields
rsa_encrypt_decrypt_test Struct Reference

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...
 

Detailed Description

An RSA encryption and decryption self-test.

Definition at line 62 of file rsa_test.c.

Field Documentation

◆ private

const void* rsa_encrypt_decrypt_test::private

Private key.

Definition at line 64 of file rsa_test.c.

◆ private_len

size_t rsa_encrypt_decrypt_test::private_len

Private key length.

Definition at line 66 of file rsa_test.c.

◆ public

const void* rsa_encrypt_decrypt_test::public

Public key.

Definition at line 68 of file rsa_test.c.

◆ public_len

size_t rsa_encrypt_decrypt_test::public_len

Public key length.

Definition at line 70 of file rsa_test.c.

◆ plaintext

const void* rsa_encrypt_decrypt_test::plaintext

Plaintext.

Definition at line 72 of file rsa_test.c.

◆ plaintext_len

size_t rsa_encrypt_decrypt_test::plaintext_len

Plaintext length.

Definition at line 74 of file rsa_test.c.

◆ ciphertext

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.

◆ ciphertext_len

size_t rsa_encrypt_decrypt_test::ciphertext_len

Ciphertext length.

Definition at line 83 of file rsa_test.c.


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