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

/freebsd-9.3-release/contrib/wpa/src/eap_peer/
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_tls_common.h114 struct wpabuf **in_decrypted);
H A Deap_ttls.c1184 static int eap_ttls_parse_avps(struct wpabuf *in_decrypted, argument
1191 pos = wpabuf_mhead(in_decrypted);
1192 left = wpabuf_len(in_decrypted);
1428 struct wpabuf *in_decrypted,
1489 data->pending_phase2_req = wpabuf_dup(in_decrypted);
1587 struct wpabuf *in_decrypted = NULL; local
1603 in_decrypted = data->pending_phase2_req;
1605 if (wpabuf_len(in_decrypted) == 0) {
1606 wpabuf_free(in_decrypted);
1626 retval = eap_peer_tls_decrypt(sm, &data->ssl, in_data, &in_decrypted);
1423 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.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_tls_common.c844 * @in_decrypted: Buffer for returning a pointer to the decrypted message
849 struct wpabuf **in_decrypted)
858 *in_decrypted = tls_connection_decrypt(sm->ssl_ctx, data->conn, msg);
860 if (*in_decrypted == NULL) {
847 eap_peer_tls_decrypt(struct eap_sm *sm, struct eap_ssl_data *data, const struct wpabuf *in_data, struct wpabuf **in_decrypted) argument
/freebsd-9.3-release/contrib/wpa/src/eap_server/
H A Deap_server_peap.c1033 struct wpabuf *in_decrypted; local
1050 in_decrypted = tls_connection_decrypt(sm->ssl_ctx, data->ssl.conn,
1052 if (in_decrypted == NULL) {
1060 in_decrypted);
1062 hdr = wpabuf_head(in_decrypted);
1069 wpabuf_len(in_decrypted));
1071 wpabuf_free(in_decrypted);
1080 wpabuf_len(in_decrypted));
1081 wpabuf_put_buf(nbuf, in_decrypted);
1082 wpabuf_free(in_decrypted);
[all...]
H A Deap_server_ttls.c1107 struct wpabuf *in_decrypted; local
1124 in_decrypted = tls_connection_decrypt(sm->ssl_ctx, data->ssl.conn,
1126 if (in_decrypted == NULL) {
1134 if (wpabuf_len(in_decrypted) == 0 &&
1146 wpabuf_free(in_decrypted);
1151 in_decrypted);
1153 if (eap_ttls_avp_parse(in_decrypted, &parse) < 0) {
1155 wpabuf_free(in_decrypted);
1213 wpabuf_free(in_decrypted);
H A Deap_server_fast.c1380 struct wpabuf *in_decrypted; local
1395 in_decrypted = tls_connection_decrypt(sm->ssl_ctx, data->ssl.conn,
1397 if (in_decrypted == NULL) {
1405 in_decrypted);
1407 eap_fast_process_phase2_tlvs(sm, data, in_decrypted);
1413 data->pending_phase2_resp = in_decrypted;
1417 wpabuf_free(in_decrypted);

Completed in 80 milliseconds