WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
uapi_drv_cipher_pke_rsa_priv_key_t结构体 参考

RSA私钥结构体 更多...

#include <unified_cipher_pke.h>

成员变量

uint8_t * n
 
uint8_t * e
 
uint8_t * d
 
uint8_t * p
 
uint8_t * q
 
uint8_t * dp
 
uint8_t * dq
 
uint8_t * qp
 
uint16_t n_len
 
uint16_t e_len
 
uint16_t d_len
 
uint16_t p_len
 
uint16_t q_len
 
uint16_t dp_len
 
uint16_t dq_len
 
uint16_t qp_len
 

详细描述

RSA私钥结构体

结构体成员变量说明

◆ d

uint8_t* uapi_drv_cipher_pke_rsa_priv_key_t::d

RSA私钥参数d。

◆ d_len

uint16_t uapi_drv_cipher_pke_rsa_priv_key_t::d_len

RSA私钥参数d的长度。

◆ dp

uint8_t* uapi_drv_cipher_pke_rsa_priv_key_t::dp

D % (P - 1)的结果。

◆ dp_len

uint16_t uapi_drv_cipher_pke_rsa_priv_key_t::dp_len

D % (P - 1)结果的长度,应该是u16NLen的一半。

◆ dq

uint8_t* uapi_drv_cipher_pke_rsa_priv_key_t::dq

D % (Q - 1)的结果。

◆ dq_len

uint16_t uapi_drv_cipher_pke_rsa_priv_key_t::dq_len

D % (Q - 1)结果的长度,应该是u16NLen的一半。

◆ e

uint8_t* uapi_drv_cipher_pke_rsa_priv_key_t::e

RSA公钥参数e。

◆ e_len

uint16_t uapi_drv_cipher_pke_rsa_priv_key_t::e_len

RSA公钥参数e的长度。

◆ n

uint8_t* uapi_drv_cipher_pke_rsa_priv_key_t::n

RSA秘钥参数n。

◆ n_len

uint16_t uapi_drv_cipher_pke_rsa_priv_key_t::n_len

RSA秘钥参数n的长度。

◆ p

uint8_t* uapi_drv_cipher_pke_rsa_priv_key_t::p

RSA第一素数因子。

◆ p_len

uint16_t uapi_drv_cipher_pke_rsa_priv_key_t::p_len

RSA第一素因子的长度,应该是u16NLen的一半。

◆ q

uint8_t* uapi_drv_cipher_pke_rsa_priv_key_t::q

RSA第二素数因子。

◆ q_len

uint16_t uapi_drv_cipher_pke_rsa_priv_key_t::q_len

RSA第二素因子的长度,应该是u16NLen的一半。

◆ qp

uint8_t* uapi_drv_cipher_pke_rsa_priv_key_t::qp

1 / (Q % P)的结果。

◆ qp_len

uint16_t uapi_drv_cipher_pke_rsa_priv_key_t::qp_len

1 / (Q % P)结果的长度,应该是u16NLen的一半。


该结构体的文档由以下文件生成: