Home |
Function xn_ipcp_want_compress Function xn_ipcp_want_dns_address Function cb_chap_get_random_value_fnc |
Function cb_chap_get_random_value_fncThis application callback calculates a random value for a CHAP challenge. void cb_chap_get_random_value_fnc(BYTE * rand_len, BYTE * rand_value); Parametersrand_lenLength of the random value. rand_valueRandom value. Calculates a random length and a random value for a CHAP challenge. The length must be at least MD5_DIGEST_LENGTH (16) bytes. Upon entry, *rand_len contains the maximum length of the random value to be calculated. The actual length of the random value calculated must be stored in *rand_len and the random value is stored in *rand_value.
|