openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_IsAead()

int32_t HITLS_IsAead ( const HITLS_Ctx ctx,
uint8_t *  isAead 
)

Obtain whether to use the AEAD algorithm.

参数
ctx[IN] TLS object
isAead[OUT] Indicates whether to use the AEAD algorithm.
返回值
HITLS_SUCCESS,obtainedsuccessfully. HITLS_NULL_INPUT, The input parameter pointer is null.