Searched refs:chal_us (Results 1 - 6 of 6) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/l2tpd-0.69/
H A Daaa.c446 if (!t->chal_us.vector)
456 MD5Init (&t->chal_us.md5);
457 MD5Update (&t->chal_us.md5, (void *) &attr, 2);
458 MD5Update (&t->chal_us.md5, t->chal_us.secret,
459 strlen (t->chal_us.secret));
460 MD5Update (&t->chal_us.md5, t->chal_us.vector, t->chal_us.vector_len);
461 MD5Final (digest, &t->chal_us
[all...]
H A Davp.c365 t->chal_us.vector = (unsigned char *) &raw[3];
366 t->chal_us.vector_len = size;
1110 t->chal_us.challenge = malloc(size+1);
1111 if (t->chal_us.challenge == NULL)
1115 memset(t->chal_us.challenge, 0, size+1);
1116 bcopy (&raw[3], (t->chal_us.challenge), size);
1117 t->chal_us.state = STATE_CHALLENGED;
H A Dl2tp.h148 struct challenge chal_us; /* Their Challenge to us */ member in struct:tunnel
H A Dcontrol.c460 if (t->chal_us.state)
462 t->chal_us.ss = SCCRP;
463 handle_challenge (t, &t->chal_us);
464 add_chalresp_avp (buf, t->chal_us.response, MD_SIG_SIZE);
566 if (t->chal_us.state)
568 t->chal_us.ss = SCCCN;
569 if (handle_challenge (t, &t->chal_us))
596 if (t->chal_us.state)
597 add_chalresp_avp (buf, t->chal_us.response, MD_SIG_SIZE);
H A Dl2tpd.c1035 tmp->chal_us.state = 0;
1036 tmp->chal_us.secret[0] = 0;
1037 memset (tmp->chal_us.reply, 0, MD_SIG_SIZE);
1042 tmp->chal_us.vector = NULL;
H A Dnetwork.c462 c->container->chal_us.vector = NULL;

Completed in 189 milliseconds