openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_SetEncryptThenMac()

int32_t HITLS_SetEncryptThenMac ( HITLS_Ctx ctx,
uint32_t  encryptThenMacType 
)

Setting the Encrypt-Then-Mac mode.

参数
ctx[IN] TLS connection handle.
isEncryptThenMac[IN] Indicates whether to enable the Encrypt-Then-Mac mode.
返回值
HITLS_NULL_INPUT,theinput parameter pointer is NULL.
HITLS_SUCCESS,ifsuccessful.