openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_CFG_GetDescription()

int32_t HITLS_CFG_GetDescription ( const HITLS_Cipher cipher,
uint8_t *  buf,
int32_t  len 
)

Outputs the description of the cipher suite as a string.

Parameters
cipherSuite[IN] Cipher suite
buf[OUT] Output the description.
len[IN] Description length
Return values
NULL,Failedto obtain the description.
Descriptionof the cipher suite