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

/freebsd-11-stable/contrib/wpa/src/eap_peer/
H A Deap_peap.c748 struct wpabuf *in_decrypted = NULL; local
762 in_decrypted = data->pending_phase2_req;
787 res = eap_peer_tls_decrypt(sm, &data->ssl, in_data, &in_decrypted);
793 in_decrypted);
795 hdr = wpabuf_mhead(in_decrypted);
796 if (wpabuf_len(in_decrypted) == 5 && hdr->code == EAP_CODE_REQUEST &&
798 eap_get_type(in_decrypted) == EAP_TYPE_IDENTITY) {
803 if (wpabuf_len(in_decrypted) >= 5 && hdr->code == EAP_CODE_REQUEST &&
804 eap_get_type(in_decrypted) == EAP_TYPE_TLV) {
811 wpabuf_len(in_decrypted));
[all...]
H A Deap_tls_common.h128 struct wpabuf **in_decrypted);
H A Deap_ttls.c1001 static int eap_ttls_parse_avps(struct wpabuf *in_decrypted, argument
1008 pos = wpabuf_mhead(in_decrypted);
1009 left = wpabuf_len(in_decrypted);
1241 struct wpabuf *in_decrypted,
1303 data->pending_phase2_req = wpabuf_dup(in_decrypted);
1399 struct wpabuf *in_decrypted = NULL; local
1415 in_decrypted = data->pending_phase2_req;
1417 if (wpabuf_len(in_decrypted) == 0) {
1418 wpabuf_clear_free(in_decrypted);
1438 retval = eap_peer_tls_decrypt(sm, &data->ssl, in_data, &in_decrypted);
1236 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...]
H A Deap_teap.c1387 struct wpabuf *in_decrypted; local
1400 in_decrypted = data->pending_phase2_req;
1421 res = eap_peer_tls_decrypt(sm, &data->ssl, in_data, &in_decrypted);
1427 in_decrypted);
1429 if (wpabuf_len(in_decrypted) < 4) {
1432 (unsigned long) wpabuf_len(in_decrypted));
1433 wpabuf_free(in_decrypted);
1438 in_decrypted, out_data);
1440 wpabuf_free(in_decrypted);
H A Deap_fast.c1295 struct wpabuf *in_decrypted; local
1307 in_decrypted = data->pending_phase2_req;
1319 res = eap_peer_tls_decrypt(sm, &data->ssl, in_data, &in_decrypted);
1325 in_decrypted);
1327 if (wpabuf_len(in_decrypted) < 4) {
1330 (unsigned long) wpabuf_len(in_decrypted));
1331 wpabuf_clear_free(in_decrypted);
1336 in_decrypted, out_data);
1338 wpabuf_clear_free(in_decrypted);
H A Deap_tls_common.c1023 * @in_decrypted: Buffer for returning a pointer to the decrypted message
1028 struct wpabuf **in_decrypted)
1037 *in_decrypted = tls_connection_decrypt(data->ssl_ctx, data->conn, msg);
1039 if (*in_decrypted == NULL) {
1026 eap_peer_tls_decrypt(struct eap_sm *sm, struct eap_ssl_data *data, const struct wpabuf *in_data, struct wpabuf **in_decrypted) argument
/freebsd-11-stable/contrib/wpa/src/eap_server/
H A Deap_server_peap.c1063 struct wpabuf *in_decrypted; local
1080 in_decrypted = tls_connection_decrypt(sm->ssl_ctx, data->ssl.conn,
1082 if (in_decrypted == NULL) {
1090 in_decrypted);
1097 wpabuf_len(in_decrypted));
1099 wpabuf_free(in_decrypted);
1108 wpabuf_len(in_decrypted));
1109 wpabuf_put_buf(nbuf, in_decrypted);
1110 wpabuf_free(in_decrypted);
1112 in_decrypted
[all...]
H A Deap_server_fast.c1385 struct wpabuf *in_decrypted; local
1400 in_decrypted = tls_connection_decrypt(sm->ssl_ctx, data->ssl.conn,
1402 if (in_decrypted == NULL) {
1410 in_decrypted);
1412 eap_fast_process_phase2_tlvs(sm, data, in_decrypted);
1418 data->pending_phase2_resp = in_decrypted;
1422 wpabuf_free(in_decrypted);
H A Deap_server_ttls.c1008 struct wpabuf *in_decrypted; local
1025 in_decrypted = tls_connection_decrypt(sm->ssl_ctx, data->ssl.conn,
1027 if (in_decrypted == NULL) {
1035 in_decrypted);
1037 if (eap_ttls_avp_parse(in_decrypted, &parse) < 0) {
1039 wpabuf_free(in_decrypted);
1107 wpabuf_free(in_decrypted);
H A Deap_server_teap.c1531 struct wpabuf *in_decrypted; local
1547 in_decrypted = tls_connection_decrypt(sm->ssl_ctx, data->ssl.conn,
1549 if (!in_decrypted) {
1557 in_decrypted);
1559 eap_teap_process_phase2_tlvs(sm, data, in_decrypted);
1565 data->pending_phase2_resp = in_decrypted;
1569 wpabuf_free(in_decrypted);

Completed in 84 milliseconds