Lines Matching refs:u_char
99 static void eap_input(ppp_pcb *pcb, u_char *inp, int inlen);
104 static int eap_printpkt(const u_char *inp, int inlen,
141 static const u_char wkmodulus[] = {
252 u_char *outp; in eap_send_failure()
262 outp = (u_char*)p->payload; in eap_send_failure()
283 u_char *outp; in eap_send_success()
293 outp = (u_char*)p->payload; in eap_send_success()
320 u_char dig[SHA_DIGESTSIZE]; in pncrypt_setkey()
347 u_char *inp;
349 u_char *outp;
373 u_char *outp;
395 u_char *inp;
397 u_char *outp;
433 u_char vals[2]; in eap_figure_next_state()
525 mytce.modulus.data = (u_char *)wkmodulus; in eap_figure_next_state()
527 mytce.generator.data = (u_char *)"\002"; in eap_figure_next_state()
640 u_char *outp; in eap_send_request()
641 u_char *lenloc; in eap_send_request()
647 u_char clear[8], cipher[8], dig[SHA_DIGESTSIZE], *optr, *cp; in eap_send_request()
694 outp = (u_char*)p->payload; in eap_send_request()
1015 static void eap_send_response(ppp_pcb *pcb, u_char id, u_char typenum, const u_char *str, int lenst… in eap_send_response()
1017 u_char *outp; in eap_send_response()
1020 msglen = EAP_HEADERLEN + sizeof (u_char) + lenstr; in eap_send_response()
1029 outp = (u_char*)p->payload; in eap_send_response()
1048 static void eap_chap_response(ppp_pcb *pcb, u_char id, u_char *hash, const char *name, int namelen)… in eap_chap_response()
1050 u_char *outp; in eap_chap_response()
1053 msglen = EAP_HEADERLEN + 2 * sizeof (u_char) + MD5_SIGNATURE_SIZE + in eap_chap_response()
1063 outp = (u_char*)p->payload; in eap_chap_response()
1089 u_char id;
1090 u_char subtypenum;
1091 u_char *str;
1096 u_char *outp;
1099 msglen = EAP_HEADERLEN + 2 * sizeof (u_char) + lenstr;
1131 u_char id;
1133 u_char *str;
1137 u_char *outp;
1140 msglen = EAP_HEADERLEN + 2 * sizeof (u_char) + sizeof (u32_t) +
1167 static void eap_send_nak(ppp_pcb *pcb, u_char id, u_char type) { in eap_send_nak()
1169 u_char *outp; in eap_send_nak()
1172 msglen = EAP_HEADERLEN + 2 * sizeof (u_char); in eap_send_nak()
1181 outp = (u_char*)p->payload; in eap_send_nak()
1252 u_char *inp;
1255 u_char val;
1256 u_char *datp, *digp;
1258 u_char dig[SHA_DIGESTSIZE];
1311 static void eap_request(ppp_pcb *pcb, u_char *inp, int id, int len) { in eap_request()
1312 u_char typenum; in eap_request()
1313 u_char vallen; in eap_request()
1318 u_char hash[MD5_SIGNATURE_SIZE]; in eap_request()
1322 u_char vals[2]; in eap_request()
1324 u_char dig[SHA_DIGESTSIZE]; in eap_request()
1384 eap_send_response(pcb, id, typenum, (const u_char*)pcb->eap.es_client.ea_name, in eap_request()
1450 lwip_md5_update(&mdContext, (u_char *)secret, secret_len); in eap_request()
1546 gval.data = (u_char *)"\002"; in eap_request()
1560 Nval.data = (u_char *)wkmodulus; in eap_request()
1725 static void eap_response(ppp_pcb *pcb, u_char *inp, int id, int len) { in eap_response()
1726 u_char typenum; in eap_response()
1727 u_char vallen; in eap_response()
1732 u_char hash[MD5_SIGNATURE_SIZE]; in eap_response()
1737 u_char dig[SHA_DIGESTSIZE]; in eap_response()
1877 lwip_md5_update(&mdContext, (u_char *)secret, secret_len); in eap_response()
2017 static void eap_success(ppp_pcb *pcb, u_char *inp, int id, int len) { in eap_success()
2043 static void eap_failure(ppp_pcb *pcb, u_char *inp, int id, int len) { in eap_failure()
2070 static void eap_input(ppp_pcb *pcb, u_char *inp, int inlen) { in eap_input()
2071 u_char code, id; in eap_input()
2135 static int eap_printpkt(const u_char *inp, int inlen, void (*printer) (void *, const char *, ...), … in eap_printpkt()
2137 const u_char *pstart; in eap_printpkt()