openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_GetPeerFinishVerifyData()

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

Obtain the verification data and length of the peer end based on the received finished message.

参数
ctx[IN] TLS context
buf[OUT] verify data
bufLen[IN] Length of the buffer to be obtained
dataLen[OUT] Actual length of the buf
返回值
HITLS_SUCCESS,ifsuccessful. For details about other error codes, see hitls_error.h.