openHiTLS API openHiTLS 0.1.0-Alpha1

◆ CRYPT_EAL_PkeyCheck()

int32_t CRYPT_EAL_PkeyCheck ( const CRYPT_EAL_PkeyCtx pkey)

Check the key pair consistency. only supports CRYPT_PKEY_DH.

参数
pkey[IN] Key session
返回值
CRYPT_SUCCESS,ifsuccessful. For other error codes, see crypt_errno.h.