openHiTLS API openHiTLS 0.1.0-Alpha1

◆ CRYPT_EAL_PkeyPairCheck()

int32_t CRYPT_EAL_PkeyPairCheck ( CRYPT_EAL_PkeyCtx pubKey,
CRYPT_EAL_PkeyCtx prvKey 
)

Check whether the public and private keys match.

参数
pubKey[IN] Public key
prvKey[IN] private key
返回值
CRYPT_SUCCESS,ifsuccessful. For other error codes, see crypt_errno.h.