| /components/net/lwip/lwip-2.1.2/src/netif/ppp/ |
| A D | chap_ms.c | 250 const unsigned char *secret, int secret_len, in chapms_verify_response() argument 298 const unsigned char *secret, int secret_len, in chapms2_verify_response() argument 313 (const char *)secret, secret_len, md, in chapms2_verify_response() 382 ChapMS(pcb, challenge, secret, secret_len, response); in chapms_make_response() 397 our_name, secret, secret_len, response, private_, in chapms2_make_response() 577 lwip_md4_update(&md4Context, secret, secret_len); in NTPasswordHash() 588 ascii2unicode(secret, secret_len, unicodePassword); in ChapMS_NT() 622 for (i = 0; i < secret_len; i++) in ChapMS_LANMan() 691 const char *secret, int secret_len, in GenerateAuthenticatorResponsePlain() argument 848 ChapMS_LANMan(rchallenge, secret, secret_len, in ChapMS() [all …]
|
| A D | chap-md5.c | 62 const unsigned char *secret, int secret_len, in chap_md5_verify_response() argument 79 lwip_md5_update(&ctx, secret, secret_len); in chap_md5_verify_response() 96 const unsigned char *challenge, const char *secret, int secret_len, in chap_md5_make_response() argument 108 lwip_md5_update(&ctx, (const u_char *)secret, secret_len); in chap_md5_make_response()
|
| A D | chap-new.c | 417 int secret_len; local 420 if (!get_secret(pcb, name, ourname, (char *)secret, &secret_len, 1)) { 424 ok = digest->verify_response(pcb, id, name, secret, secret_len, challenge, 438 int secret_len; local 469 if (!get_secret(pcb, pcb->chap_client.name, rname, secret, &secret_len, 0)) { 470 secret_len = 0; /* assume null secret if can't find one */ 479 secret, secret_len, pcb->chap_client.priv); 480 memset(secret, 0, secret_len);
|
| A D | pppapi.c | 222 msg->msg.msg.l2tpcreate.secret_len, in pppapi_do_pppol2tp_create() 237 const u8_t *secret, u8_t secret_len, in pppapi_pppol2tp_create() argument 245 LWIP_UNUSED_ARG(secret_len); in pppapi_pppol2tp_create() 255 PPPAPI_VAR_REF(msg).msg.msg.l2tpcreate.secret_len = secret_len; in pppapi_pppol2tp_create()
|
| A D | pppol2tp.c | 111 const u8_t *secret, u8_t secret_len, in pppol2tp_create() argument 118 LWIP_UNUSED_ARG(secret_len); in pppol2tp_create() 150 l2tp->secret_len = secret_len; in pppol2tp_create() 624 lwip_md5_update(&md5_ctx, l2tp->secret, l2tp->secret_len); in pppol2tp_dispatch_control_packet() 640 lwip_md5_update(&md5_ctx, l2tp->secret, l2tp->secret_len); in pppol2tp_dispatch_control_packet()
|
| A D | eap.c | 1314 int secret_len; in eap_request() local 1441 rhostname, secret, &secret_len, 0)) { in eap_request() 1450 lwip_md5_update(&mdContext, (u_char *)secret, secret_len); in eap_request() 1728 int secret_len; in eap_response() local 1869 pcb->eap.es_server.ea_name, secret, &secret_len, 1)) { in eap_response() 1877 lwip_md5_update(&mdContext, (u_char *)secret, secret_len); in eap_response()
|
| A D | auth.c | 1904 int get_secret(ppp_pcb *pcb, const char *client, const char *server, char *secret, int *secret_len,… in get_secret() argument 1920 *secret_len = len; in get_secret() 1972 *secret_len = len; in get_secret()
|
| /components/net/lwip/lwip-2.0.3/src/netif/ppp/ |
| A D | chap_ms.c | 250 const unsigned char *secret, int secret_len, in chapms_verify_response() argument 298 const unsigned char *secret, int secret_len, in chapms2_verify_response() argument 313 (const char *)secret, secret_len, md, in chapms2_verify_response() 382 ChapMS(pcb, challenge, secret, secret_len, response); in chapms_make_response() 397 our_name, secret, secret_len, response, private_, in chapms2_make_response() 577 lwip_md4_update(&md4Context, secret, secret_len); in NTPasswordHash() 588 ascii2unicode(secret, secret_len, unicodePassword); in ChapMS_NT() 622 for (i = 0; i < secret_len; i++) in ChapMS_LANMan() 691 const char *secret, int secret_len, in GenerateAuthenticatorResponsePlain() argument 848 ChapMS_LANMan(rchallenge, secret, secret_len, in ChapMS() [all …]
|
| A D | chap-md5.c | 62 const unsigned char *secret, int secret_len, in chap_md5_verify_response() argument 79 lwip_md5_update(&ctx, secret, secret_len); in chap_md5_verify_response() 96 const unsigned char *challenge, const char *secret, int secret_len, in chap_md5_make_response() argument 108 lwip_md5_update(&ctx, (const u_char *)secret, secret_len); in chap_md5_make_response()
|
| A D | chap-new.c | 417 int secret_len; local 420 if (!get_secret(pcb, name, ourname, (char *)secret, &secret_len, 1)) { 424 ok = digest->verify_response(pcb, id, name, secret, secret_len, challenge, 438 int secret_len; local 469 if (!get_secret(pcb, pcb->chap_client.name, rname, secret, &secret_len, 0)) { 470 secret_len = 0; /* assume null secret if can't find one */ 479 secret, secret_len, pcb->chap_client.priv); 480 memset(secret, 0, secret_len);
|
| A D | pppapi.c | 222 msg->msg.msg.l2tpcreate.secret_len, in pppapi_do_pppol2tp_create() 237 const u8_t *secret, u8_t secret_len, in pppapi_pppol2tp_create() argument 245 LWIP_UNUSED_ARG(secret_len); in pppapi_pppol2tp_create() 255 PPPAPI_VAR_REF(msg).msg.msg.l2tpcreate.secret_len = secret_len; in pppapi_pppol2tp_create()
|
| A D | pppol2tp.c | 111 const u8_t *secret, u8_t secret_len, in pppol2tp_create() argument 118 LWIP_UNUSED_ARG(secret_len); in pppol2tp_create() 150 l2tp->secret_len = secret_len; in pppol2tp_create() 602 lwip_md5_update(&md5_ctx, l2tp->secret, l2tp->secret_len); in pppol2tp_dispatch_control_packet() 618 lwip_md5_update(&md5_ctx, l2tp->secret, l2tp->secret_len); in pppol2tp_dispatch_control_packet()
|
| A D | eap.c | 1314 int secret_len; in eap_request() local 1441 rhostname, secret, &secret_len, 0)) { in eap_request() 1450 lwip_md5_update(&mdContext, (u_char *)secret, secret_len); in eap_request() 1728 int secret_len; in eap_response() local 1869 pcb->eap.es_server.ea_name, secret, &secret_len, 1)) { in eap_response() 1877 lwip_md5_update(&mdContext, (u_char *)secret, secret_len); in eap_response()
|
| A D | auth.c | 1904 int get_secret(ppp_pcb *pcb, const char *client, const char *server, char *secret, int *secret_len,… in get_secret() argument 1920 *secret_len = len; in get_secret() 1972 *secret_len = len; in get_secret()
|
| /components/net/lwip/lwip-1.4.1/src/netif/ppp/ |
| A D | chpms.c | 134 int secret_len, 308 int secret_len, in ChapMS_NT() argument 321 for (i = 0; i < secret_len; i++) { in ChapMS_NT() 325 …MDupdate(&md4Context, unicodePassword, secret_len * 2 * 8); /* Unicode is 2 bytes/char, *8 for bi… in ChapMS_NT() 347 int secret_len, in ChapMS_LANMan() argument 356 for (i = 0; i < secret_len; i++) { in ChapMS_LANMan() 366 ChapMS( chap_state *cstate, char *rchallenge, int rchallenge_len, char *secret, int secret_len) in ChapMS() argument 374 CHAPDEBUG(LOG_INFO, ("ChapMS: secret is '%.*s'\n", secret_len, secret)); in ChapMS() 379 ChapMS_NT(rchallenge, rchallenge_len, secret, secret_len, &response); in ChapMS() 382 ChapMS_LANMan(rchallenge, rchallenge_len, secret, secret_len, &response); in ChapMS()
|
| A D | chap.c | 427 int secret_len; in ChapReceiveChallenge() local 474 secret, &secret_len, 0)) { in ChapReceiveChallenge() 475 secret_len = 0; /* assume null secret if can't find one */ in ChapReceiveChallenge() 494 MD5Update(&mdContext, (u_char*)secret, secret_len); in ChapReceiveChallenge() 503 ChapMS(cstate, rchallenge, rchallenge_len, secret, secret_len); in ChapReceiveChallenge() 524 int secret_len, old_state; in ChapReceiveResponse() local 589 secret, &secret_len, 1)) { in ChapReceiveResponse() 602 MD5Update(&mdContext, (u_char*)secret, secret_len); in ChapReceiveResponse()
|
| A D | auth.c | 1074 get_secret(int unit, char *client, char *server, char *secret, int *secret_len, int save_addrs) in get_secret() argument 1097 *secret_len = len; in get_secret() 1125 *secret_len = len; in get_secret()
|
| /components/net/lwip/lwip-2.0.3/src/include/netif/ppp/ |
| A D | pppol2tp.h | 173 u8_t secret_len; /* Secret string length */ member 197 const u8_t *secret, u8_t secret_len,
|
| A D | pppapi.h | 81 u8_t secret_len; member 120 const u8_t *secret, u8_t secret_len,
|
| A D | chap-new.h | 137 const unsigned char *secret, int secret_len, 142 const unsigned char *challenge, const char *secret, int secret_len,
|
| A D | ppp_impl.h | 577 int get_secret(ppp_pcb *pcb, const char *client, const char *server, char *secret, int *secret_len,…
|
| /components/net/lwip/lwip-2.1.2/src/include/netif/ppp/ |
| A D | pppol2tp.h | 177 u8_t secret_len; /* Secret string length */ member 201 const u8_t *secret, u8_t secret_len,
|
| A D | pppapi.h | 81 u8_t secret_len; member 120 const u8_t *secret, u8_t secret_len,
|
| A D | chap-new.h | 141 const unsigned char *secret, int secret_len, 146 const unsigned char *challenge, const char *secret, int secret_len,
|
| A D | ppp_impl.h | 578 int get_secret(ppp_pcb *pcb, const char *client, const char *server, char *secret, int *secret_len,…
|