|
WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
|
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私钥结构体
| uint8_t* uapi_drv_cipher_pke_rsa_priv_key_t::d |
RSA私钥参数d。
| uint16_t uapi_drv_cipher_pke_rsa_priv_key_t::d_len |
RSA私钥参数d的长度。
| uint8_t* uapi_drv_cipher_pke_rsa_priv_key_t::dp |
D % (P - 1)的结果。
| uint16_t uapi_drv_cipher_pke_rsa_priv_key_t::dp_len |
D % (P - 1)结果的长度,应该是u16NLen的一半。
| uint8_t* uapi_drv_cipher_pke_rsa_priv_key_t::dq |
D % (Q - 1)的结果。
| uint16_t uapi_drv_cipher_pke_rsa_priv_key_t::dq_len |
D % (Q - 1)结果的长度,应该是u16NLen的一半。
| uint8_t* uapi_drv_cipher_pke_rsa_priv_key_t::e |
RSA公钥参数e。
| uint16_t uapi_drv_cipher_pke_rsa_priv_key_t::e_len |
RSA公钥参数e的长度。
| uint8_t* uapi_drv_cipher_pke_rsa_priv_key_t::n |
RSA秘钥参数n。
| uint16_t uapi_drv_cipher_pke_rsa_priv_key_t::n_len |
RSA秘钥参数n的长度。
| uint8_t* uapi_drv_cipher_pke_rsa_priv_key_t::p |
RSA第一素数因子。
| uint16_t uapi_drv_cipher_pke_rsa_priv_key_t::p_len |
RSA第一素因子的长度,应该是u16NLen的一半。
| uint8_t* uapi_drv_cipher_pke_rsa_priv_key_t::q |
RSA第二素数因子。
| uint16_t uapi_drv_cipher_pke_rsa_priv_key_t::q_len |
RSA第二素因子的长度,应该是u16NLen的一半。
| uint8_t* uapi_drv_cipher_pke_rsa_priv_key_t::qp |
1 / (Q % P)的结果。
| uint16_t uapi_drv_cipher_pke_rsa_priv_key_t::qp_len |
1 / (Q % P)结果的长度,应该是u16NLen的一半。