openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_GetEncryptThenMac()

int32_t HITLS_GetEncryptThenMac ( const HITLS_Ctx ctx,
uint32_t *  encryptThenMacType 
)

Obtains the Encrypt-Then-Mac type

参数
ctx[IN] TLS connection Handle.
encryptThenMacType[OUT] Current Encrypt-Then-Mac mode.
返回值
HITLS_NULL_INPUT,theinput parameter pointer is NULL.
HITLS_SUCCESS,ifsuccessful.