Lines Matching refs:response

117 ChallengeResponse(challenge, pwHash, response)  in ChallengeResponse()  argument
120 u_char *response; /* OUT 24 octets */
132 DesEncrypt(challenge, ZPasswordHash + 0, response + 0);
133 DesEncrypt(challenge, ZPasswordHash + 7, response + 8);
134 DesEncrypt(challenge, ZPasswordHash + 14, response + 16);
137 dbglog("ChallengeResponse - response %.24B", response);
279 ChapMS_NT(rchallenge, secret, secret_len, response) in ChapMS_NT() argument
283 MS_ChapResponse *response;
307 ChallengeResponse(rchallenge, hash, response->NTResp);
314 ChapMS_LANMan(rchallenge, secret, secret_len, response) in ChapMS_LANMan() argument
318 MS_ChapResponse *response;
331 ChallengeResponse(rchallenge, PasswordHash, response->LANManResp);
343 MS_ChapResponse response; local
353 BZERO(&response, sizeof(response));
356 ChapMS_NT(rchallenge, secret, secret_len, &response);
359 ChapMS_LANMan(rchallenge, secret, secret_len, &response);
362 response.UseNT = !ms_lanman;
364 response.UseNT = 1;
367 BCOPY(&response, cstate->response, MS_CHAP_RESPONSE_LEN);
387 ChapMSValidate(cstate, response, response_len, secret, secret_len) in ChapMSValidate() argument
389 u_char *response;
401 if (response[MS_CHAP_RESPONSE_LEN-1]) {
403 return (ChapMSStatus(cstate, memcmp(ckresp.NTResp, response+24,
410 memcmp(ckresp.LANManResp, response, 24) == 0));
445 ChapMSv2_NT(username, rchallenge, secret, secret_len, response) in ChapMSv2_NT() argument
450 MS_Chapv2Response *response;
471 ChallengeHash(response->PeerChallenge, rchallenge, username, challenge);
478 ChallengeResponse(challenge, hash, response->NTResp);
489 MS_Chapv2Response response; local
498 BZERO(&response, sizeof(response));
500 ptr = response.PeerChallenge;
504 ChapMSv2_NT(cstate->resp_name, rchallenge, secret, secret_len, &response);
506 BCOPY(&response, cstate->response, MS_CHAPV2_RESPONSE_LEN);
596 ChapMSv2Validate(cstate, rhostname, response, response_len, secret, secret_len) in ChapMSv2Validate() argument
599 u_char *response;
615 BCOPY(response, ckresp.PeerChallenge, 16);
618 if (memcmp(ckresp.NTResp, response+24, 24) != 0) {
623 ChapMSv2Success(cstate, (MS_Chapv2Response *)response, cstate->challenge,