AM64x MCU+ SDK  10.00.00
PKA_RSAPrivkey Struct Reference

Detailed Description

RSA private key. All values are in biginteger format (size followed by word value array, least significant word first)

Parameters
nRSA modulus (n)
ePublic exponent (e)
dPrivate exponent (d)
pPrime 1 (p)
qPrime 2 (q)
dpd mod (p-1)
dqd mod (q-1)
coefficientcrt 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)]
 

Field Documentation

◆ n

uint32_t PKA_RSAPrivkey::n[PKA_BIGINT_LEN(PKA_RSA_KEY_N_MAXLEN)]

RSA modulus (n)

◆ e

uint32_t PKA_RSAPrivkey::e[PKA_BIGINT_LEN(PKA_RSA_KEY_E_MAXLEN)]

Public exponent (e)

◆ d

uint32_t PKA_RSAPrivkey::d[PKA_BIGINT_LEN(PKA_RSA_KEY_N_MAXLEN)]

Private exponent (d)

◆ p

uint32_t PKA_RSAPrivkey::p[PKA_BIGINT_LEN(PKA_RSA_KEY_PQ_MAXLEN)]

Prime 1 (p)

◆ q

uint32_t PKA_RSAPrivkey::q[PKA_BIGINT_LEN(PKA_RSA_KEY_PQ_MAXLEN)]

Prime 2 (q)

◆ dp

uint32_t PKA_RSAPrivkey::dp[PKA_BIGINT_LEN(PKA_RSA_KEY_PQ_MAXLEN)]

d mod (p-1)

◆ dq

uint32_t PKA_RSAPrivkey::dq[PKA_BIGINT_LEN(PKA_RSA_KEY_PQ_MAXLEN)]

d mod (q-1)

◆ coefficient

uint32_t PKA_RSAPrivkey::coefficient[PKA_BIGINT_LEN(PKA_RSA_KEY_PQ_MAXLEN)]

crt coefficient q^(-1) mod p