openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_CFG_GetCipherByID()

const HITLS_Cipher * HITLS_CFG_GetCipherByID ( uint16_t  cipherSuite)

Obtain the cipher suite pointer based on the cipher suite ID.

参数
cipherSuite[IN] Cipher suite ID
返回值
HITLS_CONFIG_UNSUPPORT_CIPHER_SUITE,Unsupportedcipher suites
Pointerto the obtained cipher suite information.