openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_CFG_GetDhAutoSupport()

int32_t HITLS_CFG_GetDhAutoSupport ( HITLS_Config config,
uint8_t *  isSupport 
)

Query whether the DH parameter can be automatically selected by the user. If yes, the DH parameter will be automatically selected based on the length of the certificate private key.

参数
config[IN] Config handle
isSupport[OUT] Indicates whether to support the function of automatically selecting the DH parameter.
返回值
HITLS_SUCCESS,ifsuccessful.
HITLS_NULL_INPUT,configis null.