openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_CFG_GetEncryptThenMac()

int32_t HITLS_CFG_GetEncryptThenMac ( const HITLS_Config config,
uint32_t *  encryptThenMacType 
)

Obtain the Encrypt-Then-Mac type.

Parameters
config[IN] TLS link configuration
encryptThenMacType[OUT] Current Encrypt-Then-Mac mode
Return values
HITLS_NULL_INPUT,theinput parameter pointer is null.
HITLS_SUCCESS,ifsuccessful.