openHiTLS API openHiTLS 0.1.0-Alpha1
|
types of crypto 更多...
结构体 | |
struct | CRYPT_Data |
struct | CRYPT_Range |
struct | CRYPT_RSA_PkcsV15Para |
struct | CRYPT_RSA_PssPara |
struct | CRYPT_RsaPrv |
struct | CRYPT_EccPara |
struct | CRYPT_RsaPub |
struct | CRYPT_RsaPara |
struct | CRYPT_DsaPara |
struct | CRYPT_DhPara |
struct | CRYPT_RandSeedMethod |
类型定义 | |
typedef CRYPT_Data | CRYPT_DsaPrv |
typedef CRYPT_Data | CRYPT_EccPrv |
typedef CRYPT_Data | CRYPT_EcdsaPrv |
typedef CRYPT_Data | CRYPT_Sm2Prv |
typedef CRYPT_Data | CRYPT_DhPrv |
typedef CRYPT_Data | CRYPT_EcdhPrv |
typedef CRYPT_Data | CRYPT_Curve25519Prv |
typedef CRYPT_Data | CRYPT_Curve448Prv |
typedef CRYPT_Data | CRYPT_DsaPub |
typedef CRYPT_Data | CRYPT_EccPub |
typedef CRYPT_Data | CRYPT_EcdsaPub |
typedef CRYPT_Data | CRYPT_Sm2Pub |
typedef CRYPT_Data | CRYPT_DhPub |
typedef CRYPT_Data | CRYPT_EcdhPub |
typedef CRYPT_Data | CRYPT_Curve25519Pub |
typedef CRYPT_Data | CRYPT_Curve448Pub |
typedef void(* | EventReport) (CRYPT_EVENT_TYPE oper, CRYPT_ALGO_TYPE type, int32_t id, int32_t err) |
event report. | |
函数 | |
void | CRYPT_EAL_RegEventReport (EventReport func) |
变量 | |
int32_t(* | getEntropy )(void *ctx, CRYPT_Data *entropy, uint32_t strength, CRYPT_Range *lenRange) |
void(* | cleanEntropy )(void *ctx, CRYPT_Data *entropy) |
The entropy source memory is cleared, this API is optional. | |
int32_t(* | getNonce )(void *ctx, CRYPT_Data *nonce, uint32_t strength, CRYPT_Range *lenRange) |
Obtain the random number. This API is not need to registered. For registration, the output data must meet requirements such as the length. The HiTLS does not check the entropy source, but will implement if provide the function. | |
void(* | cleanNonce )(void *ctx, CRYPT_Data *nonce) |
Random number memory clearance. this API is optional. | |
types of crypto