openHiTLS API openHiTLS 0.1.0-Alpha1

◆ CRYPT_EAL_PkeyCtrl()

int32_t CRYPT_EAL_PkeyCtrl ( CRYPT_EAL_PkeyCtx pkey,
int32_t  opt,
void *  val,
uint32_t  len 
)

Make specific option for setting/obtain, supported option can see the structure of CRYPT_PkeyCtrl.

参数
pkey[IN] Key session
opt[IN] Option information
val[IN/OUT] Data to be set/obtained
len[IN] Length of the data marked as "val"
返回值
CRYPT_SUCCESS,ifsuccessful. For other error codes, see crypt_errno.h.