Lines Matching defs:secret_len
286 ChapMS_NT(rchallenge, secret, secret_len, response)
289 int secret_len;
295 int mdlen = secret_len * 2;
297 int mdlen = secret_len * 2 * 8;
306 for (i = 0; i < secret_len; i++)
321 ChapMS_LANMan(rchallenge, secret, secret_len, response)
324 int secret_len;
333 for (i = 0; i < secret_len; i++)
343 ChapMS(cstate, rchallenge, rchallenge_len, secret, secret_len)
348 int secret_len;
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)
399 int secret_len;
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)
456 int secret_len;
462 int mdlen = secret_len * 2;
464 int mdlen = secret_len * 2 * 8;
474 for (i = 0; i < secret_len && i < MAX_NT_PASSWORD; i++)
489 ChapMSv2(cstate, rchallenge, rchallenge_len, secret, secret_len)
494 int secret_len;
511 ChapMSv2_NT(cstate->resp_name, rchallenge, secret, secret_len, &response);
518 ChapMSv2Success(cstate, msresp, authchall, rhostname, secret, secret_len)
523 int secret_len;
548 for (i = 0; i < secret_len && i < MAX_NT_PASSWORD; i++)
554 MD4Update(&md4Context, unicodePassword, secret_len * 2 * mdlen);
603 ChapMSv2Validate(cstate, rhostname, response, response_len, secret, secret_len)
609 int secret_len;
624 ChapMSv2_NT(rhostname, cstate->challenge, secret, secret_len, &ckresp);
631 rhostname, secret, secret_len);