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 [PKA_BIGINT_LEN(PKA_RSA_KEY_N_MAXLEN)] |
uint32_t | e [PKA_BIGINT_LEN(PKA_RSA_KEY_E_MAXLEN)] |
uint32_t | d [PKA_BIGINT_LEN(PKA_RSA_KEY_N_MAXLEN)] |
uint32_t | p [PKA_BIGINT_LEN(PKA_RSA_KEY_PQ_MAXLEN)] |
uint32_t | q [PKA_BIGINT_LEN(PKA_RSA_KEY_PQ_MAXLEN)] |
uint32_t | dp [PKA_BIGINT_LEN(PKA_RSA_KEY_PQ_MAXLEN)] |
uint32_t | dq [PKA_BIGINT_LEN(PKA_RSA_KEY_PQ_MAXLEN)] |
uint32_t | coefficient [PKA_BIGINT_LEN(PKA_RSA_KEY_PQ_MAXLEN)] |
uint32_t PKA_RSAPrivkey::n[PKA_BIGINT_LEN(PKA_RSA_KEY_N_MAXLEN)] |
RSA modulus (n)
uint32_t PKA_RSAPrivkey::e[PKA_BIGINT_LEN(PKA_RSA_KEY_E_MAXLEN)] |
Public exponent (e)
uint32_t PKA_RSAPrivkey::d[PKA_BIGINT_LEN(PKA_RSA_KEY_N_MAXLEN)] |
Private exponent (d)
uint32_t PKA_RSAPrivkey::p[PKA_BIGINT_LEN(PKA_RSA_KEY_PQ_MAXLEN)] |
Prime 1 (p)
uint32_t PKA_RSAPrivkey::q[PKA_BIGINT_LEN(PKA_RSA_KEY_PQ_MAXLEN)] |
Prime 2 (q)
uint32_t PKA_RSAPrivkey::dp[PKA_BIGINT_LEN(PKA_RSA_KEY_PQ_MAXLEN)] |
d mod (p-1)
uint32_t PKA_RSAPrivkey::dq[PKA_BIGINT_LEN(PKA_RSA_KEY_PQ_MAXLEN)] |
d mod (q-1)
uint32_t PKA_RSAPrivkey::coefficient[PKA_BIGINT_LEN(PKA_RSA_KEY_PQ_MAXLEN)] |
crt coefficient q^(-1) mod p