openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_CRYPT_RegisterDhMethod()

int32_t HITLS_CRYPT_RegisterDhMethod ( const HITLS_CRYPT_DhMethod userCryptCallBack)

Register the callback function of the DH.

参数
userCryptCallBack[IN] Callback function to be registered
返回值
HITLS_SUCCESS,ifsuccessful.
HITLS_NULL_INPUT,theinput parameter is NULL..