openHiTLS API openHiTLS 0.1.0-Alpha1

◆ CRYPT_EAL_PkeyVerify()

int32_t CRYPT_EAL_PkeyVerify ( const CRYPT_EAL_PkeyCtx pkey,
CRYPT_MD_AlgId  id,
const uint8_t *  data,
uint32_t  dataLen,
const uint8_t *  sign,
uint32_t  signLen 
)

Signature verification interface

参数
pkey[IN] Key session
id[IN] Hash algorithm ID.
data[IN] Plaintext data
dataLen[IN] Plaintext length. The maximum length is [0,0xffffffff].
sign[IN] Signature data
signLen[IN] Length of the signature data
返回值
#CRYPT_SUCCESS.For other error codes, see crypt_errno.h.