openHiTLS API openHiTLS 0.1.0-Alpha1

◆ CRYPT_EAL_PkeyCmp()

int32_t CRYPT_EAL_PkeyCmp ( const CRYPT_EAL_PkeyCtx a,
const CRYPT_EAL_PkeyCtx b 
)

Compare keys or parameters

参数
a[IN] Key session
b[IN] Key session
返回值
CRYPT_SUCCESS,aand b are the same(include both a and b are null)
CRYPT_NULL_INPUT,incorrectnull pointer input.
Forother error codes, see crypt_errno.h.