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.

Parameters
config[OUT] config Context
hint[IN] Hint
hintSize[IN] Hint length
Return values
HITLS_SUCCESS,ifsuccessful. For details about other error codes, see hitls_error.h.