Lines Matching defs:secret

286 ChapMS_NT(rchallenge, secret, secret_len, response)
288 char *secret;
303 /* Initialize the Unicode version of the secret (== password). */
307 unicodePassword[i * 2] = (u_char)secret[i];
321 ChapMS_LANMan(rchallenge, secret, secret_len, response)
323 char *secret;
335 islower(secret[i]) ? toupper(secret[i]) : secret[i]);
343 ChapMS(cstate, rchallenge, rchallenge_len, secret, secret_len)
347 char *secret;
358 CHAPDEBUG((LOG_INFO, "ChapMS: secret is '%.*s'", secret_len, secret));
363 ChapMS_NT(rchallenge, secret, secret_len, &response);
366 ChapMS_LANMan(rchallenge, secret, secret_len, &response);
394 ChapMSValidate(cstate, response, response_len, secret, secret_len)
398 char *secret;
409 ChapMS_NT(cstate->challenge, secret, secret_len, &ckresp);
415 ChapMS_LANMan(cstate->challenge, secret, secret_len, &ckresp);
452 ChapMSv2_NT(username, rchallenge, secret, secret_len, response)
455 char *secret;
471 /* Initialize the Unicode version of the secret (== password). */
475 if ((unicodePassword[i * 2] = (u_char)secret[i]) == '\0')
489 ChapMSv2(cstate, rchallenge, rchallenge_len, secret, secret_len)
493 char *secret;
511 ChapMSv2_NT(cstate->resp_name, rchallenge, secret, secret_len, &response);
518 ChapMSv2Success(cstate, msresp, authchall, rhostname, secret, secret_len)
522 char *rhostname, *secret;
545 /* Initialize the Unicode version of the secret (== password). */
549 if ((unicodePassword[i * 2] = (u_char)secret[i]) == '\0')
603 ChapMSv2Validate(cstate, rhostname, response, response_len, secret, secret_len)
608 char *secret;
624 ChapMSv2_NT(rhostname, cstate->challenge, secret, secret_len, &ckresp);
631 rhostname, secret, secret_len);