openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_CIPHER_IsAead()

int32_t HITLS_CIPHER_IsAead ( const HITLS_Cipher cipher,
uint8_t *  isAead 
)

Determine whether to use the AEAD algorithm based on the cipher suite information.

参数
cipher[IN] Cipher suite information
isAead[OUT] Indicates whether to use the AEAD algorithm.
返回值
HITLS_SUCCESS,obtainedsuccessfully. HITLS_NULL_INPUT, the input parameter pointer is null.