openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_CFG_GetCipherSuite()

int32_t HITLS_CFG_GetCipherSuite ( const HITLS_Cipher cipher,
uint16_t *  cipherSuite 
)

Obtain the encryption ID in the cipher suite.

参数
cipher[IN] Cipher suite.
cipherSuite[OUT] Cipher suite ID.
返回值
HITLS_CONFIG_UNSUPPORT_CIPHER_SUITE,Unsupportedcipher suites.
MinimumTLS version supported by the given cipher suite.