openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_GetFinishVerifyData()

int32_t HITLS_GetFinishVerifyData ( const HITLS_Ctx ctx,
void *  buf,
uint32_t  bufLen,
uint32_t *  dataLen 
)

Obtain the verification data and length of the local end based on the sent finished message.

Parameters
ctx[IN] TLS context
buf[OUT] verify data
bufLen[IN] Length of the buffer to be obtained
dataLen[OUT] Indicates the actual length of the buffer
Return values
HITLS_SUCCESS,ifsuccessful. For details about other error codes, see hitls_error.h.