| BearSSL
    | 
RSA private key. More...
#include <bearssl_rsa.h>
| Data Fields | |
| uint32_t | n_bitlen | 
| Modulus bit length (in bits, exact value). | |
| unsigned char * | p | 
| First prime factor. | |
| size_t | plen | 
| First prime factor length (in bytes). | |
| unsigned char * | q | 
| Second prime factor. | |
| size_t | qlen | 
| Second prime factor length (in bytes). | |
| unsigned char * | dp | 
| First reduced private exponent. | |
| size_t | dplen | 
| First reduced private exponent length (in bytes). | |
| unsigned char * | dq | 
| Second reduced private exponent. | |
| size_t | dqlen | 
| Second reduced private exponent length (in bytes). | |
| unsigned char * | iq | 
| CRT coefficient. | |
| size_t | iqlen | 
| CRT coefficient length (in bytes). | |
RSA private key.
The structure references the private factors, reduced private exponents, and CRT coefficient. It also contains the bit length of the modulus. The big integers use unsigned big-endian representation; extra leading bytes of value 0 are allowed. However, the modulus bit length (n_bitlen) MUST be exact. 
| unsigned char* br_rsa_private_key::dp | 
First reduced private exponent.
| size_t br_rsa_private_key::dplen | 
First reduced private exponent length (in bytes).
| unsigned char* br_rsa_private_key::dq | 
Second reduced private exponent.
| size_t br_rsa_private_key::dqlen | 
Second reduced private exponent length (in bytes).
| unsigned char* br_rsa_private_key::iq | 
CRT coefficient.
| size_t br_rsa_private_key::iqlen | 
CRT coefficient length (in bytes).
| uint32_t br_rsa_private_key::n_bitlen | 
Modulus bit length (in bits, exact value).
| unsigned char* br_rsa_private_key::p | 
First prime factor.
| size_t br_rsa_private_key::plen | 
First prime factor length (in bytes).
| unsigned char* br_rsa_private_key::q | 
Second prime factor.
| size_t br_rsa_private_key::qlen | 
Second prime factor length (in bytes).