openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_CFG_SetPskIdentityHint()

int32_t HITLS_CFG_SetPskIdentityHint ( HITLS_Config config,
const uint8_t *  hint,
uint32_t  hintSize 
)

Set the PSK prompt information for PSK negotiation.

参数
config[OUT] config Context
hint[IN] Hint
hintSize[IN] Hint length
返回值
HITLS_SUCCESS,ifsuccessful. For details about other error codes, see hitls_error.h.