openHiTLS API openHiTLS 0.1.0-Alpha1

◆ CRYPT_EAL_PkeyGetPara()

int32_t CRYPT_EAL_PkeyGetPara ( const CRYPT_EAL_PkeyCtx pkey,
CRYPT_EAL_PkeyPara para 
)

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

Parameters
pkey[IN] Key pair structure
para[OUT] Parameter to be received
Return values
#CRYPT_SUCCESS.For other error codes, see crypt_errno.h.