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.

Parameters
cipherSuite[IN] Cipher suite ID
Return values
HITLS_CONFIG_UNSUPPORT_CIPHER_SUITE,Unsupportedcipher suites
Pointerto the obtained cipher suite information.