Home | History | Annotate | Download | only in eap_server

Lines Matching refs:req

100 	struct wpabuf *req;
113 req = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, ms_len,
115 if (req == NULL) {
122 ms = wpabuf_put(req, sizeof(*ms));
127 wpabuf_put_u8(req, CHALLENGE_LEN);
129 wpabuf_put_data(req, data->auth_challenge, CHALLENGE_LEN);
131 wpabuf_put(req, CHALLENGE_LEN);
134 wpabuf_put_data(req, sm->server_id, sm->server_id_len);
136 return req;
143 struct wpabuf *req;
151 req = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, ms_len,
153 if (req == NULL) {
160 ms = wpabuf_put(req, sizeof(*ms));
166 wpabuf_put_u8(req, 'S');
167 wpabuf_put_u8(req, '=');
169 wpabuf_put(req, sizeof(data->auth_response) * 2),
172 wpabuf_put_u8(req, ' ');
173 wpabuf_put_u8(req, 'M');
174 wpabuf_put_u8(req, '=');
175 wpabuf_put_data(req, message, os_strlen(message));
180 return req;
187 struct wpabuf *req;
194 req = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_MSCHAPV2, ms_len,
196 if (req == NULL) {
203 ms = wpabuf_put(req, sizeof(*ms));
208 wpabuf_put_data(req, message, os_strlen(message));
213 return req;