iPXE
|
An RSA context. More...
Data Fields | |
void * | dynamic |
Allocated memory. More... | |
bigint_element_t * | modulus0 |
Modulus. More... | |
unsigned int | size |
Modulus size. More... | |
size_t | max_len |
Modulus length. More... | |
bigint_element_t * | exponent0 |
Exponent. More... | |
unsigned int | exponent_size |
Exponent size. More... | |
bigint_element_t * | input0 |
Input buffer. More... | |
bigint_element_t * | output0 |
Output buffer. More... | |
void * | tmp |
Temporary working space for modular exponentiation. More... | |
void* rsa_context::dynamic |
bigint_element_t* rsa_context::modulus0 |
Modulus.
Definition at line 55 of file rsa.c.
Referenced by rsa_alloc(), rsa_cipher(), and rsa_init().
unsigned int rsa_context::size |
Modulus size.
Definition at line 57 of file rsa.c.
Referenced by rsa_alloc(), rsa_cipher(), and rsa_init().
size_t rsa_context::max_len |
Modulus length.
Definition at line 59 of file rsa.c.
Referenced by rsa_alloc(), rsa_cipher(), rsa_decrypt(), rsa_encode_digest(), rsa_encrypt(), rsa_sign(), and rsa_verify().
bigint_element_t* rsa_context::exponent0 |
Exponent.
Definition at line 61 of file rsa.c.
Referenced by rsa_alloc(), rsa_cipher(), and rsa_init().
unsigned int rsa_context::exponent_size |
Exponent size.
Definition at line 63 of file rsa.c.
Referenced by rsa_alloc(), rsa_cipher(), and rsa_init().
bigint_element_t* rsa_context::input0 |
Input buffer.
Definition at line 65 of file rsa.c.
Referenced by rsa_alloc(), rsa_cipher(), rsa_decrypt(), and rsa_verify().
bigint_element_t* rsa_context::output0 |
Output buffer.
Definition at line 67 of file rsa.c.
Referenced by rsa_alloc(), rsa_cipher(), rsa_encrypt(), rsa_sign(), and rsa_verify().
void* rsa_context::tmp |
Temporary working space for modular exponentiation.
Definition at line 69 of file rsa.c.
Referenced by rsa_alloc(), and rsa_cipher().