| /components/net/lwip/lwip-2.1.2/src/netif/ppp/ |
| A D | chap_ms.c | 228 *challenge++ = 8; in chapms_generate_challenge() 231 memcpy(challenge, mschap_challenge, 8); in chapms_generate_challenge() 234 magic_random_bytes(challenge, 8); in chapms_generate_challenge() 240 *challenge++ = 16; in chapms2_generate_challenge() 243 memcpy(challenge, mschap_challenge, 16); in chapms2_generate_challenge() 246 magic_random_bytes(challenge, 16); in chapms2_generate_challenge() 293 challenge_len, challenge); in chapms_verify_response() 369 challenge_len, challenge, "Access denied"); in chapms2_verify_response() 380 challenge++; /* skip length, should be 8 */ in chapms_make_response() 389 challenge++; /* skip length, should be 16 */ in chapms2_make_response() [all …]
|
| A D | chap-md5.c | 63 const unsigned char *challenge, const unsigned char *response, in chap_md5_verify_response() argument 72 challenge_len = *challenge++; in chap_md5_verify_response() 80 lwip_md5_update(&ctx, challenge, challenge_len); in chap_md5_verify_response() 96 const unsigned char *challenge, const char *secret, int secret_len, in chap_md5_make_response() argument 100 int challenge_len = *challenge++; in chap_md5_make_response() 109 lwip_md5_update(&ctx, challenge, challenge_len); in chap_md5_make_response()
|
| A D | chap-new.c | 56 const unsigned char *challenge, const unsigned char *response, 97 const unsigned char *challenge, const unsigned char *response, 246 MEMCPY(p->payload, pcb->chap_server.challenge, pcb->chap_server.challenge_pktlen); in chap_timeout() 261 p = pcb->chap_server.challenge; in chap_generate_challenge() 272 p = pcb->chap_server.challenge + PPP_HDRLEN; in chap_generate_challenge() 298 if (id != pcb->chap_server.challenge[PPP_HDRLEN+1] || len < 2) 329 pcb->chap_server.challenge + PPP_HDRLEN + CHAP_HDRLEN, 333 pcb->chap_server.challenge + PPP_HDRLEN + CHAP_HDRLEN, 413 const unsigned char *challenge, const unsigned char *response, argument 424 ok = digest->verify_response(pcb, id, name, secret, secret_len, challenge,
|
| /components/net/lwip/lwip-2.0.3/src/netif/ppp/ |
| A D | chap_ms.c | 228 *challenge++ = 8; in chapms_generate_challenge() 231 memcpy(challenge, mschap_challenge, 8); in chapms_generate_challenge() 234 magic_random_bytes(challenge, 8); in chapms_generate_challenge() 240 *challenge++ = 16; in chapms2_generate_challenge() 243 memcpy(challenge, mschap_challenge, 16); in chapms2_generate_challenge() 246 magic_random_bytes(challenge, 16); in chapms2_generate_challenge() 293 challenge_len, challenge); in chapms_verify_response() 369 challenge_len, challenge, "Access denied"); in chapms2_verify_response() 380 challenge++; /* skip length, should be 8 */ in chapms_make_response() 389 challenge++; /* skip length, should be 16 */ in chapms2_make_response() [all …]
|
| A D | chap-md5.c | 63 const unsigned char *challenge, const unsigned char *response, in chap_md5_verify_response() argument 72 challenge_len = *challenge++; in chap_md5_verify_response() 80 lwip_md5_update(&ctx, challenge, challenge_len); in chap_md5_verify_response() 96 const unsigned char *challenge, const char *secret, int secret_len, in chap_md5_make_response() argument 100 int challenge_len = *challenge++; in chap_md5_make_response() 109 lwip_md5_update(&ctx, challenge, challenge_len); in chap_md5_make_response()
|
| A D | chap-new.c | 56 const unsigned char *challenge, const unsigned char *response, 97 const unsigned char *challenge, const unsigned char *response, 246 MEMCPY(p->payload, pcb->chap_server.challenge, pcb->chap_server.challenge_pktlen); in chap_timeout() 261 p = pcb->chap_server.challenge; in chap_generate_challenge() 272 p = pcb->chap_server.challenge + PPP_HDRLEN; in chap_generate_challenge() 298 if (id != pcb->chap_server.challenge[PPP_HDRLEN+1] || len < 2) 329 pcb->chap_server.challenge + PPP_HDRLEN + CHAP_HDRLEN, 333 pcb->chap_server.challenge + PPP_HDRLEN + CHAP_HDRLEN, 413 const unsigned char *challenge, const unsigned char *response, argument 424 ok = digest->verify_response(pcb, id, name, secret, secret_len, challenge,
|
| /components/net/lwip/lwip-2.1.2/src/include/netif/ppp/ |
| A D | chap-new.h | 139 void (*generate_challenge)(ppp_pcb *pcb, unsigned char *challenge); 142 const unsigned char *challenge, const unsigned char *response, 146 const unsigned char *challenge, const char *secret, int secret_len, 171 unsigned char challenge[CHAL_MAX_PKTLEN]; member 180 unsigned char *challenge, unsigned char *response,
|
| /components/net/lwip/lwip-2.0.3/src/include/netif/ppp/ |
| A D | chap-new.h | 135 void (*generate_challenge)(ppp_pcb *pcb, unsigned char *challenge); 138 const unsigned char *challenge, const unsigned char *response, 142 const unsigned char *challenge, const char *secret, int secret_len, 167 unsigned char challenge[CHAL_MAX_PKTLEN]; member 176 unsigned char *challenge, unsigned char *response,
|
| /components/net/lwip/lwip-1.4.1/src/netif/ppp/ |
| A D | chpms.c | 126 u_char *challenge, /* IN 8 octets */ 143 ChallengeResponse( u_char *challenge, /* IN 8 octets */ in ChallengeResponse() argument 156 DesEncrypt(challenge, ZPasswordHash + 0, response + 0); in ChallengeResponse() 157 DesEncrypt(challenge, ZPasswordHash + 7, response + 8); in ChallengeResponse() 158 DesEncrypt(challenge, ZPasswordHash + 14, response + 16); in ChallengeResponse()
|
| A D | chap.h | 103 u_char challenge[MAX_CHALLENGE_LENGTH]; /* last challenge string sent */ member
|
| A D | chap.c | 603 MD5Update(&mdContext, cstate->challenge, cstate->chal_len); in ChapReceiveResponse() 728 BCOPY(cstate->challenge, outp, chal_len); in ChapSendChallenge() 785 u_char *ptr = cstate->challenge; in ChapGenChallenge()
|
| /components/net/lwip/lwip-2.0.3/doc/ |
| A D | ppp.txt | 126 printf("status_cb: Failed authentication challenge\n");
|
| /components/net/lwip/lwip-2.1.2/doc/ |
| A D | ppp.txt | 126 printf("status_cb: Failed authentication challenge\n");
|