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

/freebsd-10-stable/contrib/wpa/src/eap_peer/
H A Deap_peap.c758 struct wpabuf *in_decrypted = NULL; local
772 in_decrypted = data->pending_phase2_req;
797 res = eap_peer_tls_decrypt(sm, &data->ssl, in_data, &in_decrypted);
803 in_decrypted);
805 hdr = wpabuf_mhead(in_decrypted);
806 if (wpabuf_len(in_decrypted) == 5 && hdr->code == EAP_CODE_REQUEST &&
808 eap_get_type(in_decrypted) == EAP_TYPE_IDENTITY) {
813 if (wpabuf_len(in_decrypted) >= 5 && hdr->code == EAP_CODE_REQUEST &&
814 eap_get_type(in_decrypted) == EAP_TYPE_TLV) {
821 wpabuf_len(in_decrypted));
[all...]
H A Deap_tls_common.h116 struct wpabuf **in_decrypted);
H A Deap_ttls.c904 static int eap_ttls_parse_avps(struct wpabuf *in_decrypted, argument
911 pos = wpabuf_mhead(in_decrypted);
912 left = wpabuf_len(in_decrypted);
1143 struct wpabuf *in_decrypted,
1204 data->pending_phase2_req = wpabuf_dup(in_decrypted);
1299 struct wpabuf *in_decrypted = NULL; local
1315 in_decrypted = data->pending_phase2_req;
1317 if (wpabuf_len(in_decrypted) == 0) {
1318 wpabuf_free(in_decrypted);
1338 retval = eap_peer_tls_decrypt(sm, &data->ssl, in_data, &in_decrypted);
1138 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_fast.c1257 struct wpabuf *in_decrypted; local
1269 in_decrypted = data->pending_phase2_req;
1281 res = eap_peer_tls_decrypt(sm, &data->ssl, in_data, &in_decrypted);
1287 in_decrypted);
1289 if (wpabuf_len(in_decrypted) < 4) {
1292 (unsigned long) wpabuf_len(in_decrypted));
1293 wpabuf_free(in_decrypted);
1298 in_decrypted, out_data);
1300 wpabuf_free(in_decrypted);
H A Deap_tls_common.c887 * @in_decrypted: Buffer for returning a pointer to the decrypted message
892 struct wpabuf **in_decrypted)
901 *in_decrypted = tls_connection_decrypt(data->ssl_ctx, data->conn, msg);
903 if (*in_decrypted == NULL) {
890 eap_peer_tls_decrypt(struct eap_sm *sm, struct eap_ssl_data *data, const struct wpabuf *in_data, struct wpabuf **in_decrypted) argument
/freebsd-10-stable/contrib/wpa/src/eap_server/
H A Deap_server_peap.c1032 struct wpabuf *in_decrypted; local
1049 in_decrypted = tls_connection_decrypt(sm->ssl_ctx, data->ssl.conn,
1051 if (in_decrypted == NULL) {
1059 in_decrypted);
1066 wpabuf_len(in_decrypted));
1068 wpabuf_free(in_decrypted);
1077 wpabuf_len(in_decrypted));
1078 wpabuf_put_buf(nbuf, in_decrypted);
1079 wpabuf_free(in_decrypted);
1081 in_decrypted
[all...]
H A Deap_server_ttls.c950 struct wpabuf *in_decrypted; local
967 in_decrypted = tls_connection_decrypt(sm->ssl_ctx, data->ssl.conn,
969 if (in_decrypted == NULL) {
977 in_decrypted);
979 if (eap_ttls_avp_parse(in_decrypted, &parse) < 0) {
981 wpabuf_free(in_decrypted);
1040 wpabuf_free(in_decrypted);
H A Deap_server_fast.c1375 struct wpabuf *in_decrypted; local
1390 in_decrypted = tls_connection_decrypt(sm->ssl_ctx, data->ssl.conn,
1392 if (in_decrypted == NULL) {
1400 in_decrypted);
1402 eap_fast_process_phase2_tlvs(sm, data, in_decrypted);
1408 data->pending_phase2_resp = in_decrypted;
1412 wpabuf_free(in_decrypted);

Completed in 120 milliseconds