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;
262 outp = (u_char*)p->payload;
283 u_char *outp;
293 outp = (u_char*)p->payload;
320 u_char dig[SHA_DIGESTSIZE];
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];
525 mytce.modulus.data = (u_char *)wkmodulus;
527 mytce.generator.data = (u_char *)"\002";
640 u_char *outp;
641 u_char *lenloc;
647 u_char clear[8], cipher[8], dig[SHA_DIGESTSIZE], *optr, *cp;
694 outp = (u_char*)p->payload;
1015 static void eap_send_response(ppp_pcb *pcb, u_char id, u_char typenum, const u_char *str, int lenstr) {
1017 u_char *outp;
1020 msglen = EAP_HEADERLEN + sizeof (u_char) + lenstr;
1029 outp = (u_char*)p->payload;
1048 static void eap_chap_response(ppp_pcb *pcb, u_char id, u_char *hash, const char *name, int namelen) {
1050 u_char *outp;
1053 msglen = EAP_HEADERLEN + 2 * sizeof (u_char) + MD5_SIGNATURE_SIZE +
1063 outp = (u_char*)p->payload;
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) {
1169 u_char *outp;
1172 msglen = EAP_HEADERLEN + 2 * sizeof (u_char);
1181 outp = (u_char*)p->payload;
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) {
1312 u_char typenum;
1313 u_char vallen;
1318 u_char hash[MD5_SIGNATURE_SIZE];
1322 u_char vals[2];
1324 u_char dig[SHA_DIGESTSIZE];
1384 eap_send_response(pcb, id, typenum, (const u_char*)pcb->eap.es_client.ea_name,
1450 lwip_md5_update(&mdContext, (u_char *)secret, secret_len);
1546 gval.data = (u_char *)"\002";
1560 Nval.data = (u_char *)wkmodulus;
1725 static void eap_response(ppp_pcb *pcb, u_char *inp, int id, int len) {
1726 u_char typenum;
1727 u_char vallen;
1732 u_char hash[MD5_SIGNATURE_SIZE];
1737 u_char dig[SHA_DIGESTSIZE];
1877 lwip_md5_update(&mdContext, (u_char *)secret, secret_len);
2017 static void eap_success(ppp_pcb *pcb, u_char *inp, int id, int len) {
2043 static void eap_failure(ppp_pcb *pcb, u_char *inp, int id, int len) {
2070 static void eap_input(ppp_pcb *pcb, u_char *inp, int inlen) {
2071 u_char code, id;
2135 static int eap_printpkt(const u_char *inp, int inlen, void (*printer) (void *, const char *, ...), void *arg) {
2137 const u_char *pstart;