Unused Bits 31 : 21
PKC_ALG_MODE Bits 20 : 16 R/W 0x0
PKC algorithm mode
For modular computation:
00000: modular exponent(RSA)
00001: modular add
00010: modular minus
00011: modular multiplication
others: reserved
For ECC:
00000: point add
00001: point double
00010: point multiplication
00011: point verification
00100: encryption
00101: decryption
00110: sign
00111: sign verify
others: reserved Unused Bits 15 : 8
ASYM_ALG_OPER Bits 7 : 0 R/W 0x0
Asymmetric algorithm operation width field
It indicates how much width this request apply, as words. Команда U-Boot для чтения регистра md 1904000 1 md 1904800 1
Bit fields structure
typedef union t_d_q_asymm_ctrl
{
struct
{
unsigned asym_alg_oper : 8;
unsigned unused0 : 8;
unsigned pkc_alg_mode : 5;
unsigned unused1 : 11;
} b;
unsigned long w;
} T_D_Q_ASYMM_CTRL
|