openHiTLS API openHiTLS 0.1.0-Alpha1

◆ CRYPT_EAL_PkeySetPara()

int32_t CRYPT_EAL_PkeySetPara ( CRYPT_EAL_PkeyCtx pkey,
const CRYPT_EAL_PkeyPara para 
)

Set the key parameters, the key parameter marked as "para" is applied for and released by the caller.

参数
pkey[IN/OUT] Structure of the key pair to be set
para[IN] Parameter
返回值
#CRYPT_SUCCESS.For other error codes, see crypt_errno.h.