openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_CFG_GetCipherId()

int32_t HITLS_CFG_GetCipherId ( const HITLS_Cipher cipher,
HITLS_CipherAlgo cipherAlg 
)

Obtain the symmetric encryption algorithm type based on the cipher suite.

参数
cipher[IN]Cipher suite
cipherAlg[OUT] Obtained symmetric encryption algorithm type.
返回值
HITLS_SUCCESS,ifsuccessful.
Forother error codes, see hitls_error.h.