openHiTLS API openHiTLS 0.1.0-Alpha1

◆ CRYPT_EAL_PkeyGetPrv()

int32_t CRYPT_EAL_PkeyGetPrv ( const CRYPT_EAL_PkeyCtx pkey,
CRYPT_EAL_PkeyPrv key 
)

Obtain the private key. The caller applies for and releases memory for the private key marked as "key".

参数
pkey[IN] Key session
key[OUT] Private key data
返回值
#CRYPT_SUCCESS.For other error codes, see crypt_errno.h.