RSA private key. All values are in biginteger format (size followed by word value array, least significant word first)
n | RSA modulus (n) |
e | Public exponent (e) |
d | Private exponent (d) |
p | Prime 1 (p) |
q | Prime 2 (q) |
dp | d mod (p-1) |
dq | d mod (q-1) |
coefficient | crt coefficient q^(-1) mod p |
Data Fields | |
uint32_t | n [ASYM_CRYPT_LEN(RSA_KEY_N_MAXLEN)] |
uint32_t | e [ASYM_CRYPT_LEN(RSA_KEY_E_MAXLEN)] |
uint32_t | d [ASYM_CRYPT_LEN(RSA_KEY_N_MAXLEN)] |
uint32_t | p [ASYM_CRYPT_LEN(RSA_KEY_PQ_MAXLEN)] |
uint32_t | q [ASYM_CRYPT_LEN(RSA_KEY_PQ_MAXLEN)] |
uint32_t | dp [ASYM_CRYPT_LEN(RSA_KEY_PQ_MAXLEN)] |
uint32_t | dq [ASYM_CRYPT_LEN(RSA_KEY_PQ_MAXLEN)] |
uint32_t | coefficient [ASYM_CRYPT_LEN(RSA_KEY_PQ_MAXLEN)] |
uint32_t AsymCrypt_RSAPrivkey::n[ASYM_CRYPT_LEN(RSA_KEY_N_MAXLEN)] |
RSA modulus (n)
uint32_t AsymCrypt_RSAPrivkey::e[ASYM_CRYPT_LEN(RSA_KEY_E_MAXLEN)] |
Public exponent (e)
uint32_t AsymCrypt_RSAPrivkey::d[ASYM_CRYPT_LEN(RSA_KEY_N_MAXLEN)] |
Private exponent (d)
uint32_t AsymCrypt_RSAPrivkey::p[ASYM_CRYPT_LEN(RSA_KEY_PQ_MAXLEN)] |
Prime 1 (p)
uint32_t AsymCrypt_RSAPrivkey::q[ASYM_CRYPT_LEN(RSA_KEY_PQ_MAXLEN)] |
Prime 2 (q)
uint32_t AsymCrypt_RSAPrivkey::dp[ASYM_CRYPT_LEN(RSA_KEY_PQ_MAXLEN)] |
d mod (p-1)
uint32_t AsymCrypt_RSAPrivkey::dq[ASYM_CRYPT_LEN(RSA_KEY_PQ_MAXLEN)] |
d mod (q-1)
uint32_t AsymCrypt_RSAPrivkey::coefficient[ASYM_CRYPT_LEN(RSA_KEY_PQ_MAXLEN)] |
crt coefficient q^(-1) mod p