/dports/net/hostapd/hostapd-2.9/src/eapol_auth/ |
H A D | eapol_auth_sm.c | 30 sm->eapol->cb.set_port_authorized(sm->eapol->conf.ctx, sm->sta, 1) 32 sm->eapol->cb.set_port_authorized(sm->eapol->conf.ctx, sm->sta, 0) 55 eapol->cb.logger(eapol->conf.ctx, addr, level, txt); in eapol_auth_logger() 99 sm->eapol->cb.eapol_send(sm->eapol->conf.ctx, sm->sta, in eapol_auth_tx_canned_eap() 128 sm->eapol->cb.eapol_send(sm->eapol->conf.ctx, sm->sta, in eapol_auth_tx_req() 234 sm->eapol->cb.finished(sm->eapol->conf.ctx, sm->sta, 0, in SM_STATE() 292 sm->eapol->cb.finished(sm->eapol->conf.ctx, sm->sta, 0, in SM_STATE() 318 sm->eapol->cb.finished(sm->eapol->conf.ctx, sm->sta, 1, in SM_STATE() 793 sm->eapol = eapol; in eapol_auth_alloc() 910 struct eapol_authenticator *eapol = sm->eapol; in eapol_sm_step_run() local [all …]
|
/dports/net/wpa_supplicant_gui/wpa_supplicant-2.9/src/eapol_auth/ |
H A D | eapol_auth_sm.c | 30 sm->eapol->cb.set_port_authorized(sm->eapol->conf.ctx, sm->sta, 1) 32 sm->eapol->cb.set_port_authorized(sm->eapol->conf.ctx, sm->sta, 0) 55 eapol->cb.logger(eapol->conf.ctx, addr, level, txt); in eapol_auth_logger() 99 sm->eapol->cb.eapol_send(sm->eapol->conf.ctx, sm->sta, in eapol_auth_tx_canned_eap() 128 sm->eapol->cb.eapol_send(sm->eapol->conf.ctx, sm->sta, in eapol_auth_tx_req() 234 sm->eapol->cb.finished(sm->eapol->conf.ctx, sm->sta, 0, in SM_STATE() 292 sm->eapol->cb.finished(sm->eapol->conf.ctx, sm->sta, 0, in SM_STATE() 318 sm->eapol->cb.finished(sm->eapol->conf.ctx, sm->sta, 1, in SM_STATE() 793 sm->eapol = eapol; in eapol_auth_alloc() 910 struct eapol_authenticator *eapol = sm->eapol; in eapol_sm_step_run() local [all …]
|
/dports/security/wpa_supplicant/wpa_supplicant-2.9/src/eapol_auth/ |
H A D | eapol_auth_sm.c | 30 sm->eapol->cb.set_port_authorized(sm->eapol->conf.ctx, sm->sta, 1) 32 sm->eapol->cb.set_port_authorized(sm->eapol->conf.ctx, sm->sta, 0) 55 eapol->cb.logger(eapol->conf.ctx, addr, level, txt); in eapol_auth_logger() 99 sm->eapol->cb.eapol_send(sm->eapol->conf.ctx, sm->sta, in eapol_auth_tx_canned_eap() 128 sm->eapol->cb.eapol_send(sm->eapol->conf.ctx, sm->sta, in eapol_auth_tx_req() 234 sm->eapol->cb.finished(sm->eapol->conf.ctx, sm->sta, 0, in SM_STATE() 292 sm->eapol->cb.finished(sm->eapol->conf.ctx, sm->sta, 0, in SM_STATE() 318 sm->eapol->cb.finished(sm->eapol->conf.ctx, sm->sta, 1, in SM_STATE() 793 sm->eapol = eapol; in eapol_auth_alloc() 910 struct eapol_authenticator *eapol = sm->eapol; in eapol_sm_step_run() local [all …]
|
/dports/net/hostapd-devel/hostap-14ab4a816/src/eapol_auth/ |
H A D | eapol_auth_sm.c | 30 sm->eapol->cb.set_port_authorized(sm->eapol->conf.ctx, sm->sta, 1) 32 sm->eapol->cb.set_port_authorized(sm->eapol->conf.ctx, sm->sta, 0) 55 eapol->cb.logger(eapol->conf.ctx, addr, level, txt); in eapol_auth_logger() 100 sm->eapol->cb.eapol_send(sm->eapol->conf.ctx, sm->sta, in eapol_auth_tx_canned_eap() 129 sm->eapol->cb.eapol_send(sm->eapol->conf.ctx, sm->sta, in eapol_auth_tx_req() 235 sm->eapol->cb.finished(sm->eapol->conf.ctx, sm->sta, 0, in SM_STATE() 293 sm->eapol->cb.finished(sm->eapol->conf.ctx, sm->sta, 0, in SM_STATE() 319 sm->eapol->cb.finished(sm->eapol->conf.ctx, sm->sta, 1, in SM_STATE() 798 sm->eapol = eapol; in eapol_auth_alloc() 893 struct eapol_authenticator *eapol = sm->eapol; in eapol_sm_step_run() local [all …]
|
/dports/security/wpa_supplicant-devel/hostap-14ab4a816/src/eapol_auth/ |
H A D | eapol_auth_sm.c | 30 sm->eapol->cb.set_port_authorized(sm->eapol->conf.ctx, sm->sta, 1) 32 sm->eapol->cb.set_port_authorized(sm->eapol->conf.ctx, sm->sta, 0) 55 eapol->cb.logger(eapol->conf.ctx, addr, level, txt); in eapol_auth_logger() 100 sm->eapol->cb.eapol_send(sm->eapol->conf.ctx, sm->sta, in eapol_auth_tx_canned_eap() 129 sm->eapol->cb.eapol_send(sm->eapol->conf.ctx, sm->sta, in eapol_auth_tx_req() 235 sm->eapol->cb.finished(sm->eapol->conf.ctx, sm->sta, 0, in SM_STATE() 293 sm->eapol->cb.finished(sm->eapol->conf.ctx, sm->sta, 0, in SM_STATE() 319 sm->eapol->cb.finished(sm->eapol->conf.ctx, sm->sta, 1, in SM_STATE() 798 sm->eapol = eapol; in eapol_auth_alloc() 893 struct eapol_authenticator *eapol = sm->eapol; in eapol_sm_step_run() local [all …]
|
/dports/net/ipxe/ipxe-2265a65/src/net/ |
H A D | eapol.c | 54 struct eapol_header *eapol; in eapol_rx() local 61 if ( iob_len ( iobuf ) < sizeof ( *eapol ) ) { in eapol_rx() 68 eapol = iobuf->data; in eapol_rx() 70 len = ntohs ( eapol->len ); in eapol_rx() 73 "payload:\n", netdev->name, eapol->version, in eapol_rx() 74 eapol->type, len ); in eapol_rx() 85 if ( handler->type == eapol->type ) { in eapol_rx() 92 netdev->name, eapol->version, eapol->type ); in eapol_rx() 116 struct eapol_header *eapol; in eapol_eap_rx() local 120 assert ( iob_len ( iobuf ) >= sizeof ( *eapol ) ); in eapol_eap_rx() [all …]
|
/dports/net/hostapd/hostapd-2.9/src/ap/ |
H A D | pmksa_cache_auth.c | 142 struct eapol_state_machine *eapol) in pmksa_cache_from_eapol_data() argument 146 if (eapol == NULL) in pmksa_cache_from_eapol_data() 149 if (eapol->identity) { in pmksa_cache_from_eapol_data() 154 eapol->identity_len); in pmksa_cache_from_eapol_data() 158 if (eapol->radius_cui) in pmksa_cache_from_eapol_data() 184 if (entry == NULL || eapol == NULL) in pmksa_cache_to_eapol_data() 188 os_free(eapol->identity); in pmksa_cache_to_eapol_data() 190 if (eapol->identity) { in pmksa_cache_to_eapol_data() 196 eapol->identity, eapol->identity_len); in pmksa_cache_to_eapol_data() 200 wpabuf_free(eapol->radius_cui); in pmksa_cache_to_eapol_data() [all …]
|
/dports/net/hostapd-devel/hostap-14ab4a816/src/ap/ |
H A D | pmksa_cache_auth.c | 142 struct eapol_state_machine *eapol) in pmksa_cache_from_eapol_data() argument 146 if (eapol == NULL) in pmksa_cache_from_eapol_data() 149 if (eapol->identity) { in pmksa_cache_from_eapol_data() 154 eapol->identity_len); in pmksa_cache_from_eapol_data() 158 if (eapol->radius_cui) in pmksa_cache_from_eapol_data() 184 if (entry == NULL || eapol == NULL) in pmksa_cache_to_eapol_data() 188 os_free(eapol->identity); in pmksa_cache_to_eapol_data() 190 if (eapol->identity) { in pmksa_cache_to_eapol_data() 196 eapol->identity, eapol->identity_len); in pmksa_cache_to_eapol_data() 200 wpabuf_free(eapol->radius_cui); in pmksa_cache_to_eapol_data() [all …]
|
/dports/net/wpa_supplicant_gui/wpa_supplicant-2.9/src/ap/ |
H A D | pmksa_cache_auth.c | 142 struct eapol_state_machine *eapol) in pmksa_cache_from_eapol_data() argument 146 if (eapol == NULL) in pmksa_cache_from_eapol_data() 149 if (eapol->identity) { in pmksa_cache_from_eapol_data() 154 eapol->identity_len); in pmksa_cache_from_eapol_data() 158 if (eapol->radius_cui) in pmksa_cache_from_eapol_data() 184 if (entry == NULL || eapol == NULL) in pmksa_cache_to_eapol_data() 188 os_free(eapol->identity); in pmksa_cache_to_eapol_data() 190 if (eapol->identity) { in pmksa_cache_to_eapol_data() 196 eapol->identity, eapol->identity_len); in pmksa_cache_to_eapol_data() 200 wpabuf_free(eapol->radius_cui); in pmksa_cache_to_eapol_data() [all …]
|
/dports/security/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
H A D | pmksa_cache_auth.c | 142 struct eapol_state_machine *eapol) in pmksa_cache_from_eapol_data() argument 146 if (eapol == NULL) in pmksa_cache_from_eapol_data() 149 if (eapol->identity) { in pmksa_cache_from_eapol_data() 154 eapol->identity_len); in pmksa_cache_from_eapol_data() 158 if (eapol->radius_cui) in pmksa_cache_from_eapol_data() 184 if (entry == NULL || eapol == NULL) in pmksa_cache_to_eapol_data() 188 os_free(eapol->identity); in pmksa_cache_to_eapol_data() 190 if (eapol->identity) { in pmksa_cache_to_eapol_data() 196 eapol->identity, eapol->identity_len); in pmksa_cache_to_eapol_data() 200 wpabuf_free(eapol->radius_cui); in pmksa_cache_to_eapol_data() [all …]
|
/dports/security/wpa_supplicant-devel/hostap-14ab4a816/src/ap/ |
H A D | pmksa_cache_auth.c | 142 struct eapol_state_machine *eapol) in pmksa_cache_from_eapol_data() argument 146 if (eapol == NULL) in pmksa_cache_from_eapol_data() 149 if (eapol->identity) { in pmksa_cache_from_eapol_data() 154 eapol->identity_len); in pmksa_cache_from_eapol_data() 158 if (eapol->radius_cui) in pmksa_cache_from_eapol_data() 184 if (entry == NULL || eapol == NULL) in pmksa_cache_to_eapol_data() 188 os_free(eapol->identity); in pmksa_cache_to_eapol_data() 190 if (eapol->identity) { in pmksa_cache_to_eapol_data() 196 eapol->identity, eapol->identity_len); in pmksa_cache_to_eapol_data() 200 wpabuf_free(eapol->radius_cui); in pmksa_cache_to_eapol_data() [all …]
|
/dports/net/hostapd-devel/hostap-14ab4a816/tests/ |
H A D | README | 64 CC=afl-gcc make test-eapol TEST_FUZZ=y 65 mkdir eapol-auth-examples 66 ./test-eapol auth write eapol-auth-examples/auth.msg 67 afl-fuzz -i eapol-auth-examples -o eapol-auth-findings -- $PWD/test-eapol auth read @@ 72 mkdir eapol-supp-examples 73 ./test-eapol supp write eapol-supp-examples/supp.msg 74 afl-fuzz -i eapol-supp-examples -o eapol-supp-findings -- $PWD/test-eapol supp read @@ 99 cd eapol-fuzzer 102 mkdir eapol-examples 103 cp *.dat eapol-examples [all …]
|
/dports/security/wpa_supplicant-devel/hostap-14ab4a816/tests/ |
H A D | README | 64 CC=afl-gcc make test-eapol TEST_FUZZ=y 65 mkdir eapol-auth-examples 66 ./test-eapol auth write eapol-auth-examples/auth.msg 67 afl-fuzz -i eapol-auth-examples -o eapol-auth-findings -- $PWD/test-eapol auth read @@ 72 mkdir eapol-supp-examples 73 ./test-eapol supp write eapol-supp-examples/supp.msg 74 afl-fuzz -i eapol-supp-examples -o eapol-supp-findings -- $PWD/test-eapol supp read @@ 99 cd eapol-fuzzer 102 mkdir eapol-examples 103 cp *.dat eapol-examples [all …]
|
/dports/security/hashcat/hashcat-6.2.5/tools/test_modules/ |
H A D | m22000.pm | 28 my $eapol = shift; 103 if (!defined ($eapol)) 109 $eapol = gen_random_wpa_eapol ($keyver, $snonce); 113 $eapol = pack ("H*", $eapol); 115 my $key_info = unpack ("n*", substr ($eapol, 5, 2)); 119 $snonce = substr ($eapol, 17, 32); 157 $mic = hmac ($eapol, $ptk, \&md5); 161 $mic = hmac ($eapol, $ptk, \&sha1); 167 $omac1->add ($eapol); 194 my ($signature, $type, $pmkidmic, $macap, $macsta, $essid, $anonce, $eapol, $mp) = @data; [all …]
|
H A D | m02500.pm | 36 my $eapol = gen_random_wpa_eapol ($keyver, $snonce); 38 my $eapol_len = length ($eapol); 69 $mic = hmac ($eapol, $ptk, \&md5); 73 $mic = hmac ($eapol, $ptk, \&sha1); 79 $omac1->add ($eapol); 131 $hash_buf .= $eapol;
|
/dports/net/hostapd-devel/hostap-14ab4a816/tests/fuzzing/eapol-supp/ |
H A D | eapol-supp.c | 23 struct eapol_sm *eapol; member 36 eapol_sm_notify_portEnabled(ctx->eapol, true); in test_send_eapol() 47 if (eapol_sm_rx_eapol(ctx->eapol, src, ctx->data, ctx->data_len) <= 0) in test_send_eapol() 157 arg->eapol = eapol_sm_init(ctx); in init_eapol() 158 return arg->eapol ? 0 : -1; in init_eapol() 191 if (ctx.eapol) in LLVMFuzzerTestOneInput() 192 eapol_sm_deinit(ctx.eapol); in LLVMFuzzerTestOneInput()
|
H A D | Makefile | 1 ALL=eapol-supp 16 OBJS += eapol-supp.o 24 eapol-supp: $(OBJS) $(LIBS) 28 rm -f eapol-supp *~ *.o *.d ../*~ ../*.o ../*.d
|
/dports/security/wpa_supplicant-devel/hostap-14ab4a816/tests/fuzzing/eapol-supp/ |
H A D | eapol-supp.c | 23 struct eapol_sm *eapol; member 36 eapol_sm_notify_portEnabled(ctx->eapol, true); in test_send_eapol() 47 if (eapol_sm_rx_eapol(ctx->eapol, src, ctx->data, ctx->data_len) <= 0) in test_send_eapol() 157 arg->eapol = eapol_sm_init(ctx); in init_eapol() 158 return arg->eapol ? 0 : -1; in init_eapol() 191 if (ctx.eapol) in LLVMFuzzerTestOneInput() 192 eapol_sm_deinit(ctx.eapol); in LLVMFuzzerTestOneInput()
|
H A D | Makefile | 1 ALL=eapol-supp 16 OBJS += eapol-supp.o 24 eapol-supp: $(OBJS) $(LIBS) 28 rm -f eapol-supp *~ *.o *.d ../*~ ../*.o ../*.d
|
/dports/security/john/john-1.9.0-jumbo-1/src/ |
H A D | wpapcap2john.c | 416 memcpy(hccap.eapol, wivs2->eapol, wivs2->eapol_size); in convert_ivs2() 608 …].eapol->replay_cnt, apsta_db[apsta].M[sta_msg].eapol->replay_cnt) - MIN(apsta_db[apsta].M[ap_msg]… in dump_auth() 716 if (apsta_db[i].M[0].eapol) in dump_late() 722 if (apsta_db[i].M[1].eapol) in dump_late() 724 if (apsta_db[i].M[2].eapol) in dump_late() 726 if (apsta_db[i].M[3].eapol) in dump_late() 728 if (apsta_db[i].M[4].eapol) in dump_late() 1141 if (apsta_db[apsta].M[1].eapol) { in handle4way() 1184 if (apsta_db[apsta].M[2].eapol) { in handle4way() 1242 if (apsta_db[apsta].M[1].eapol) { in handle4way() [all …]
|
/dports/net/hostapd-devel/hostap-14ab4a816/tests/fuzzing/eapol-key-supp/ |
H A D | Makefile | 1 ALL=eapol-key-supp 18 OBJS += eapol-key-supp.o 26 eapol-key-supp: $(OBJS) $(LIBS) 30 rm -f eapol-key-supp *~ *.o *.d ../*~ ../*.o ../*.d
|
/dports/security/wpa_supplicant-devel/hostap-14ab4a816/tests/fuzzing/eapol-key-supp/ |
H A D | Makefile | 1 ALL=eapol-key-supp 18 OBJS += eapol-key-supp.o 26 eapol-key-supp: $(OBJS) $(LIBS) 30 rm -f eapol-key-supp *~ *.o *.d ../*~ ../*.o ../*.d
|
/dports/net/hostapd-devel/hostap-14ab4a816/tests/fuzzing/eapol-key-auth/ |
H A D | Makefile | 1 ALL=eapol-key-auth 22 OBJS += eapol-key-auth.o 30 eapol-key-auth: $(OBJS) $(LIBS) 34 rm -f eapol-key-auth *~ *.o *.d ../*~ ../*.o ../*.d
|
/dports/security/wpa_supplicant-devel/hostap-14ab4a816/tests/fuzzing/eapol-key-auth/ |
H A D | Makefile | 1 ALL=eapol-key-auth 22 OBJS += eapol-key-auth.o 30 eapol-key-auth: $(OBJS) $(LIBS) 34 rm -f eapol-key-auth *~ *.o *.d ../*~ ../*.o ../*.d
|
/dports/net/hostapd-devel/hostap-14ab4a816/wlantest/ |
H A D | rx_eapol.c | 69 const struct ieee802_1x_hdr *eapol; in rx_data_eapol_key_1_of_4() local 245 const struct ieee802_1x_hdr *eapol; in rx_data_eapol_key_2_of_4() local 621 const struct ieee802_1x_hdr *eapol; in rx_data_eapol_key_3_of_4() local 740 os_memcpy(pos, eapol, sizeof(*eapol)); in rx_data_eapol_key_3_of_4() 741 pos += sizeof(*eapol); in rx_data_eapol_key_3_of_4() 818 const struct ieee802_1x_hdr *eapol; in rx_data_eapol_key_4_of_4() local 877 const struct ieee802_1x_hdr *eapol; in rx_data_eapol_key_1_of_2() local 956 os_memcpy(pos, eapol, sizeof(*eapol)); in rx_data_eapol_key_1_of_2() 957 pos += sizeof(*eapol); in rx_data_eapol_key_1_of_2() 1005 const struct ieee802_1x_hdr *eapol; in rx_data_eapol_key_2_of_2() local [all …]
|