Searched defs:in_decrypted (Results 1 - 10 of 10) sorted by relevance

/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/
H A Deap_tls_common.c851 * @in_decrypted: Buffer for returning a pointer to the decrypted message
856 struct wpabuf **in_decrypted)
880 *in_decrypted = wpabuf_alloc(buf_len ? buf_len : 1);
881 if (*in_decrypted == NULL) {
889 wpabuf_mhead(*in_decrypted), buf_len);
895 wpabuf_put(*in_decrypted, res);
854 eap_peer_tls_decrypt(struct eap_sm *sm, struct eap_ssl_data *data, const struct wpabuf *in_data, struct wpabuf **in_decrypted) argument
H A Deap_peap.c762 struct wpabuf *in_decrypted = NULL; local
776 in_decrypted = data->pending_phase2_req;
801 res = eap_peer_tls_decrypt(sm, &data->ssl, in_data, &in_decrypted);
807 in_decrypted);
809 hdr = wpabuf_mhead(in_decrypted);
810 if (wpabuf_len(in_decrypted) == 5 && hdr->code == EAP_CODE_REQUEST &&
812 eap_get_type(in_decrypted) == EAP_TYPE_IDENTITY) {
817 if (wpabuf_len(in_decrypted) >= 5 && hdr->code == EAP_CODE_REQUEST &&
818 eap_get_type(in_decrypted) == EAP_TYPE_TLV) {
825 wpabuf_len(in_decrypted));
[all...]
H A Deap_fast.c1258 struct wpabuf *in_decrypted; local
1270 in_decrypted = data->pending_phase2_req;
1282 res = eap_peer_tls_decrypt(sm, &data->ssl, in_data, &in_decrypted);
1288 in_decrypted);
1290 if (wpabuf_len(in_decrypted) < 4) {
1293 (unsigned long) wpabuf_len(in_decrypted));
1294 wpabuf_free(in_decrypted);
1299 in_decrypted, out_data);
1301 wpabuf_free(in_decrypted);
H A Deap_ttls.c1181 static int eap_ttls_parse_avps(struct wpabuf *in_decrypted, argument
1188 pos = wpabuf_mhead(in_decrypted);
1189 left = wpabuf_len(in_decrypted);
1425 struct wpabuf *in_decrypted,
1486 data->pending_phase2_req = wpabuf_dup(in_decrypted);
1584 struct wpabuf *in_decrypted = NULL; local
1600 in_decrypted = data->pending_phase2_req;
1602 if (wpabuf_len(in_decrypted) == 0) {
1603 wpabuf_free(in_decrypted);
1623 retval = eap_peer_tls_decrypt(sm, &data->ssl, in_data, &in_decrypted);
1420 eap_ttls_process_decrypted(struct eap_sm *sm, struct eap_ttls_data *data, struct eap_method_ret *ret, u8 identifier, struct ttls_parse_avp *parse, struct wpabuf *in_decrypted, struct wpabuf **out_data) argument
[all...]
/external/wpa_supplicant/
H A Deap_peap.c397 u8 *in_decrypted; local
418 in_decrypted = data->pending_phase2_req;
446 in_decrypted = os_malloc(buf_len);
447 if (in_decrypted == NULL) {
457 msg, msg_len, in_decrypted, buf_len);
464 os_free(in_decrypted);
470 wpa_hexdump(MSG_DEBUG, "EAP-PEAP: Decrypted Phase 2 EAP", in_decrypted,
473 hdr = (struct eap_hdr *) in_decrypted;
476 in_decrypted[4] == EAP_TYPE_IDENTITY) {
482 in_decrypted[
[all...]
H A Deap_ttls.c1079 u8 *in_decrypted = NULL, *pos; local
1105 in_decrypted = data->pending_phase2_req;
1109 os_free(in_decrypted);
1110 in_decrypted = NULL;
1139 in_decrypted = os_malloc(buf_len);
1140 if (in_decrypted == NULL) {
1146 hdr = (struct eap_hdr *) in_decrypted;
1150 in_decrypted[sizeof(*hdr)] = EAP_TYPE_IDENTITY;
1162 in_decrypted = os_malloc(buf_len);
1163 if (in_decrypted
[all...]
H A Deap_fast.c1527 u8 *in_decrypted, *pos, *end; local
1553 in_decrypted = os_malloc(buf_len);
1554 if (in_decrypted == NULL) {
1565 in_decrypted, buf_len);
1572 os_free(in_decrypted);
1577 in_decrypted, len_decrypted);
1580 os_free(in_decrypted);
1586 pos = in_decrypted;
1587 end = in_decrypted + len_decrypted;
1596 os_free(in_decrypted);
[all...]
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/
H A Deap_fast.c1376 u8 *in_decrypted; local
1408 in_decrypted = os_malloc(buf_len);
1409 if (in_decrypted == NULL) {
1417 in_decrypted, buf_len);
1421 os_free(in_decrypted);
1427 in_decrypted, len_decrypted);
1429 eap_fast_process_phase2_tlvs(sm, data, in_decrypted, len_decrypted);
1435 data->pending_phase2_resp = wpabuf_alloc_copy(in_decrypted,
1439 os_free(in_decrypted);
H A Deap_peap.c1031 struct wpabuf *in_decrypted; local
1063 in_decrypted = wpabuf_alloc(buf_len);
1064 if (in_decrypted == NULL) {
1072 wpabuf_mhead(in_decrypted),
1077 wpabuf_free(in_decrypted);
1081 wpabuf_put(in_decrypted, len_decrypted);
1084 in_decrypted);
1086 hdr = wpabuf_head(in_decrypted);
1093 wpabuf_len(in_decrypted));
1095 wpabuf_free(in_decrypted);
[all...]
H A Deap_ttls.c1129 u8 *in_decrypted; local
1162 in_decrypted = os_malloc(buf_len);
1163 if (in_decrypted == NULL) {
1171 in_decrypted, buf_len);
1175 os_free(in_decrypted);
1193 os_free(in_decrypted);
1198 in_decrypted, len_decrypted);
1200 if (eap_ttls_avp_parse(in_decrypted, len_decrypted, &parse) < 0) {
1202 os_free(in_decrypted);
1260 os_free(in_decrypted);
[all...]

Completed in 104 milliseconds