Home
last modified time | relevance | path

Searched refs:wpa_hexdump_key (Results 1 – 25 of 70) sorted by relevance

123

/external/wpa_supplicant_8/src/eap_common/
Deap_sim_common.c52 wpa_hexdump_key(MSG_DEBUG, "EAP-SIM: MK", mk, EAP_SIM_MK_LEN); in eap_sim_derive_mk()
71 wpa_hexdump_key(MSG_DEBUG, "EAP-AKA: IK", ik, EAP_AKA_IK_LEN); in eap_aka_derive_mk()
72 wpa_hexdump_key(MSG_DEBUG, "EAP-AKA: CK", ck, EAP_AKA_CK_LEN); in eap_aka_derive_mk()
73 wpa_hexdump_key(MSG_DEBUG, "EAP-AKA: MK", mk, EAP_SIM_MK_LEN); in eap_aka_derive_mk()
94 wpa_hexdump_key(MSG_DEBUG, "EAP-SIM: K_encr", in eap_sim_derive_keys()
96 wpa_hexdump_key(MSG_DEBUG, "EAP-SIM: K_aut", in eap_sim_derive_keys()
98 wpa_hexdump_key(MSG_DEBUG, "EAP-SIM: keying material (MSK)", in eap_sim_derive_keys()
100 wpa_hexdump_key(MSG_DEBUG, "EAP-SIM: EMSK", emsk, EAP_EMSK_LEN); in eap_sim_derive_keys()
140 wpa_hexdump_key(MSG_DEBUG, "EAP-SIM: MK", mk, EAP_SIM_MK_LEN); in eap_sim_derive_keys_reauth()
194 wpa_hexdump_key(MSG_MSGDUMP, "EAP-SIM: Verify MAC - K_aut", in eap_sim_verify_mac()
[all …]
Deap_sake_common.c269 wpa_hexdump_key(MSG_DEBUG, "EAP-SAKE: Root-Secret-A", in eap_sake_derive_keys()
275 wpa_hexdump_key(MSG_DEBUG, "EAP-SAKE: SMS-A", sms_a, EAP_SAKE_SMS_LEN); in eap_sake_derive_keys()
279 wpa_hexdump_key(MSG_DEBUG, "EAP-SAKE: TEK-Auth", in eap_sake_derive_keys()
281 wpa_hexdump_key(MSG_DEBUG, "EAP-SAKE: TEK-Cipher", in eap_sake_derive_keys()
284 wpa_hexdump_key(MSG_DEBUG, "EAP-SAKE: Root-Secret-B", in eap_sake_derive_keys()
290 wpa_hexdump_key(MSG_DEBUG, "EAP-SAKE: SMS-B", sms_b, EAP_SAKE_SMS_LEN); in eap_sake_derive_keys()
296 wpa_hexdump_key(MSG_DEBUG, "EAP-SAKE: MSK", msk, EAP_MSK_LEN); in eap_sake_derive_keys()
297 wpa_hexdump_key(MSG_DEBUG, "EAP-SAKE: EMSK", emsk, EAP_EMSK_LEN); in eap_sake_derive_keys()
Deap_pax_common.c138 wpa_hexdump_key(MSG_MSGDUMP, "EAP-PAX: AK", ak, EAP_PAX_AK_LEN); in eap_pax_initial_key_derivation()
139 wpa_hexdump_key(MSG_MSGDUMP, "EAP-PAX: MK", mk, EAP_PAX_MK_LEN); in eap_pax_initial_key_derivation()
140 wpa_hexdump_key(MSG_MSGDUMP, "EAP-PAX: CK", ck, EAP_PAX_CK_LEN); in eap_pax_initial_key_derivation()
141 wpa_hexdump_key(MSG_MSGDUMP, "EAP-PAX: ICK", ick, EAP_PAX_ICK_LEN); in eap_pax_initial_key_derivation()
Deap_gpsk_common.c153 wpa_hexdump_key(MSG_DEBUG, "EAP-GPSK: Data to MK derivation", in eap_gpsk_derive_keys_helper()
161 wpa_hexdump_key(MSG_DEBUG, "EAP-GPSK: MK", mk, mk_len); in eap_gpsk_derive_keys_helper()
167 wpa_hexdump_key(MSG_DEBUG, "EAP-GPSK: MSK", pos, EAP_MSK_LEN); in eap_gpsk_derive_keys_helper()
171 wpa_hexdump_key(MSG_DEBUG, "EAP-GPSK: EMSK", pos, EAP_EMSK_LEN); in eap_gpsk_derive_keys_helper()
175 wpa_hexdump_key(MSG_DEBUG, "EAP-GPSK: SK", pos, sk_len); in eap_gpsk_derive_keys_helper()
180 wpa_hexdump_key(MSG_DEBUG, "EAP-GPSK: PK", pos, pk_len); in eap_gpsk_derive_keys_helper()
296 wpa_hexdump_key(MSG_DEBUG, "EAP-GPSK: PSK", psk, psk_len); in eap_gpsk_derive_keys()
435 wpa_hexdump_key(MSG_DEBUG, "EAP-GPSK: PSK", psk, psk_len); in eap_gpsk_derive_session_id()
Deap_fast_common.c91 wpa_hexdump_key(MSG_DEBUG, "EAP-FAST: master_secret", in eap_fast_derive_master_secret()
128 wpa_hexdump_key(MSG_MSGDUMP, "EAP-FAST: master_secret for key " in eap_fast_derive_key()
155 wpa_hexdump_key(MSG_DEBUG, "EAP-FAST: Derived key (MSK)", in eap_fast_derive_eap_msk()
171 wpa_hexdump_key(MSG_DEBUG, "EAP-FAST: Derived key (EMSK)", in eap_fast_derive_eap_emsk()
Dikev2_common.c731 wpa_hexdump_key(MSG_DEBUG, "IKEV2: SK_d", in ikev2_derive_sk_keys()
739 wpa_hexdump_key(MSG_DEBUG, "IKEV2: SK_ai", in ikev2_derive_sk_keys()
747 wpa_hexdump_key(MSG_DEBUG, "IKEV2: SK_ar", in ikev2_derive_sk_keys()
755 wpa_hexdump_key(MSG_DEBUG, "IKEV2: SK_ei", in ikev2_derive_sk_keys()
763 wpa_hexdump_key(MSG_DEBUG, "IKEV2: SK_er", in ikev2_derive_sk_keys()
771 wpa_hexdump_key(MSG_DEBUG, "IKEV2: SK_pi", in ikev2_derive_sk_keys()
779 wpa_hexdump_key(MSG_DEBUG, "IKEV2: SK_pr", in ikev2_derive_sk_keys()
/external/wpa_supplicant_8/src/crypto/
Drandom.c82 wpa_hexdump_key(MSG_EXCESSIVE, "random_mix_pool", buf, len); in random_mix_pool()
143 wpa_hexdump_key(MSG_EXCESSIVE, "random pool", in random_add_randomness()
147 wpa_hexdump_key(MSG_EXCESSIVE, "random pool", in random_add_randomness()
165 wpa_hexdump_key(MSG_EXCESSIVE, "random from os_get_random", in random_get_bytes()
174 wpa_hexdump_key(MSG_EXCESSIVE, "random from internal pool", in random_get_bytes()
193 wpa_hexdump_key(MSG_EXCESSIVE, "random from crypto module", in random_get_bytes()
202 wpa_hexdump_key(MSG_EXCESSIVE, "mixed random", buf, len); in random_get_bytes()
Daes-ccm.c43 wpa_hexdump_key(MSG_EXCESSIVE, "CCM B_0", b, AES_BLOCK_SIZE); in aes_ccm_auth_start()
122 wpa_hexdump_key(MSG_EXCESSIVE, "CCM T", x, M); in aes_ccm_encr_auth()
128 wpa_hexdump_key(MSG_EXCESSIVE, "CCM U", auth, M); in aes_ccm_encr_auth()
137 wpa_hexdump_key(MSG_EXCESSIVE, "CCM U", auth, M); in aes_ccm_decr_auth()
143 wpa_hexdump_key(MSG_EXCESSIVE, "CCM T", t, M); in aes_ccm_decr_auth()
Dmilenage.c285 wpa_hexdump_key(MSG_DEBUG, "Milenage: RES", res, *res_len); in milenage_check()
286 wpa_hexdump_key(MSG_DEBUG, "Milenage: CK", ck, 16); in milenage_check()
287 wpa_hexdump_key(MSG_DEBUG, "Milenage: IK", ik, 16); in milenage_check()
288 wpa_hexdump_key(MSG_DEBUG, "Milenage: AK", ak, 6); in milenage_check()
299 wpa_hexdump_key(MSG_DEBUG, "Milenage: AK*", ak, 6); in milenage_check()
/external/wpa_supplicant_8/src/utils/
Dwpa_debug.h27 #define wpa_hexdump_key(l,t,b,le) do { } while (0) macro
102 void wpa_hexdump_key(int level, const char *title, const u8 *buf, size_t len);
107 wpa_hexdump_key(level, title, buf ? wpabuf_head(buf) : NULL, in wpa_hexdump_buf_key()
/external/wpa_supplicant_8/src/wps/
Dwps_common.c99 wpa_hexdump_key(MSG_DEBUG, "WPS: DHKey", dhkey, sizeof(dhkey)); in wps_derive_keys()
110 wpa_hexdump_key(MSG_DEBUG, "WPS: KDK", kdk, sizeof(kdk)); in wps_derive_keys()
119 wpa_hexdump_key(MSG_DEBUG, "WPS: AuthKey", in wps_derive_keys()
121 wpa_hexdump_key(MSG_DEBUG, "WPS: KeyWrapKey", in wps_derive_keys()
123 wpa_hexdump_key(MSG_DEBUG, "WPS: EMSK", wps->emsk, WPS_EMSK_LEN); in wps_derive_keys()
144 wpa_hexdump_key(MSG_DEBUG, "WPS: PSK1", wps->psk1, WPS_PSK_LEN); in wps_derive_psk()
145 wpa_hexdump_key(MSG_DEBUG, "WPS: PSK2", wps->psk2, WPS_PSK_LEN); in wps_derive_psk()
/external/wpa_supplicant_8/src/rsn_supp/
Dwpa_ft.c38 wpa_hexdump_key(MSG_DEBUG, "FT: PMK-R0", sm->pmk_r0, PMK_LEN); in wpa_derive_ptk_ft()
43 wpa_hexdump_key(MSG_DEBUG, "FT: PMK-R1", sm->pmk_r1, PMK_LEN); in wpa_derive_ptk_ft()
49 wpa_hexdump_key(MSG_DEBUG, "FT: PTK", (u8 *) ptk, ptk_len); in wpa_derive_ptk_ft()
473 wpa_hexdump_key(MSG_DEBUG, "FT: PMK-R1", sm->pmk_r1, PMK_LEN); in wpa_ft_process_response()
482 wpa_hexdump_key(MSG_DEBUG, "FT: PTK", in wpa_ft_process_response()
550 wpa_hexdump_key(MSG_DEBUG, "FT: Received GTK in Reassoc Resp", in wpa_ft_process_gtk_subelem()
591 wpa_hexdump_key(MSG_DEBUG, "FT: GTK from Reassoc Resp", gtk, keylen); in wpa_ft_process_gtk_subelem()
618 wpa_hexdump_key(MSG_DEBUG, "FT: Received IGTK in Reassoc Resp", in wpa_ft_process_igtk_subelem()
642 wpa_hexdump_key(MSG_DEBUG, "FT: IGTK from Reassoc Resp", igtk, in wpa_ft_process_igtk_subelem()
Dwpa_ie.c289 wpa_hexdump_key(MSG_DEBUG, "WPA: GTK in EAPOL-Key", in wpa_parse_generic()
308 wpa_hexdump_key(MSG_DEBUG, "WPA: SMK in EAPOL-Key", in wpa_parse_generic()
346 wpa_hexdump_key(MSG_DEBUG, "WPA: IGTK in EAPOL-Key", in wpa_parse_generic()
380 wpa_hexdump_key(MSG_DEBUG, "WPA: Key Data", in wpa_supplicant_parse_ies()
/external/wpa_supplicant_8/src/eap_peer/
Dmschapv2.c64 wpa_hexdump_key(MSG_DEBUG, "MSCHAPV2: password hash", in mschapv2_derive_response()
105 wpa_hexdump_key(MSG_DEBUG, "MSCHAPV2: Master Key", in mschapv2_derive_response()
Deap_peap.c259 wpa_hexdump_key(MSG_DEBUG, "EAP-PEAP: TK", tk, 60); in eap_peap_derive_cmk()
265 wpa_hexdump_key(MSG_DEBUG, "EAP-PEAP: IPMK from TK", in eap_peap_derive_cmk()
268 wpa_hexdump_key(MSG_DEBUG, "EAP-PEAP: CMK from TK", in eap_peap_derive_cmk()
275 wpa_hexdump_key(MSG_DEBUG, "EAP-PEAP: ISK", isk, sizeof(isk)); in eap_peap_derive_cmk()
284 wpa_hexdump_key(MSG_DEBUG, "EAP-PEAP: TempKey", tk, 40); in eap_peap_derive_cmk()
289 wpa_hexdump_key(MSG_DEBUG, "EAP-PEAP: IMCK (IPMKj)", in eap_peap_derive_cmk()
293 wpa_hexdump_key(MSG_DEBUG, "EAP-PEAP: IPMK (S-IPMKj)", data->ipmk, 40); in eap_peap_derive_cmk()
295 wpa_hexdump_key(MSG_DEBUG, "EAP-PEAP: CMK (CMKj)", data->cmk, 20); in eap_peap_derive_cmk()
1104 wpa_hexdump_key(MSG_DEBUG, in eap_peap_process()
1271 wpa_hexdump_key(MSG_DEBUG, "EAP-PEAP: CSK", csk, sizeof(csk)); in eap_peap_getKey()
Deap_psk.c53 wpa_hexdump_key(MSG_DEBUG, "EAP-PSK: AK", data->ak, EAP_PSK_AK_LEN); in eap_psk_init()
54 wpa_hexdump_key(MSG_DEBUG, "EAP-PSK: KDK", data->kdk, EAP_PSK_KDK_LEN); in eap_psk_init()
255 wpa_hexdump_key(MSG_DEBUG, "EAP-PSK: TEK", data->tek, EAP_PSK_TEK_LEN); in eap_psk_process_3()
256 wpa_hexdump_key(MSG_DEBUG, "EAP-PSK: MSK", data->msk, EAP_MSK_LEN); in eap_psk_process_3()
257 wpa_hexdump_key(MSG_DEBUG, "EAP-PSK: EMSK", data->emsk, EAP_EMSK_LEN); in eap_psk_process_3()
Deap_fast.c279 wpa_hexdump_key(MSG_DEBUG, in eap_fast_derive_key_auth()
304 wpa_hexdump_key(MSG_DEBUG, in eap_fast_derive_key_provisioning()
311 wpa_hexdump_key(MSG_DEBUG, "EAP-FAST: server_challenge", in eap_fast_derive_key_provisioning()
314 wpa_hexdump_key(MSG_DEBUG, "EAP-FAST: client_challenge", in eap_fast_derive_key_provisioning()
696 wpa_hexdump_key(MSG_MSGDUMP, "EAP-FAST: ISK[j]", isk, sizeof(isk)); in eap_fast_get_cmk()
702 wpa_hexdump_key(MSG_MSGDUMP, "EAP-FAST: S-IMCK[j]", in eap_fast_get_cmk()
705 wpa_hexdump_key(MSG_MSGDUMP, "EAP-FAST: CMK[j]", in eap_fast_get_cmk()
819 wpa_hexdump_key(MSG_DEBUG, "EAP-FAST: PAC-Key", pos, len); in eap_fast_parse_pac_tlv()
/external/wpa_supplicant_8/src/tls/
Dpkcs5.c163 wpa_hexdump_key(MSG_DEBUG, "PKCS #5: DES key", hash, 8); in pkcs5_crypto_init()
164 wpa_hexdump_key(MSG_DEBUG, "PKCS #5: DES IV", hash + 8, 8); in pkcs5_crypto_init()
227 wpa_hexdump_key(MSG_MSGDUMP, "PKCS #5: message M (encrypted key)", in pkcs5_decrypt()
Dtlsv1_server.c41 wpa_hexdump_key(MSG_MSGDUMP, "TLSv1: pre_master_secret", in tlsv1_server_derive_keys()
54 wpa_hexdump_key(MSG_MSGDUMP, "TLSv1: master_secret", in tlsv1_server_derive_keys()
69 wpa_hexdump_key(MSG_MSGDUMP, "TLSv1: key_block", in tlsv1_server_derive_keys()
206 wpa_hexdump_key(MSG_MSGDUMP, "TLSv1: Plaintext AppData", in tlsv1_server_encrypt()
Dtlsv1_client.c59 wpa_hexdump_key(MSG_MSGDUMP, "TLSv1: pre_master_secret", in tls_derive_keys()
72 wpa_hexdump_key(MSG_MSGDUMP, "TLSv1: master_secret", in tls_derive_keys()
88 wpa_hexdump_key(MSG_MSGDUMP, "TLSv1: key_block", in tls_derive_keys()
279 wpa_hexdump_key(MSG_MSGDUMP, "TLSv1: Plaintext AppData", in tlsv1_client_encrypt()
/external/wpa_supplicant_8/src/eap_server/
Deap_server_peap.c249 wpa_hexdump_key(MSG_DEBUG, "EAP-PEAP: Encrypting Phase 2 data", in eap_peap_build_phase2_req()
291 wpa_hexdump_key(MSG_DEBUG, "EAP-PEAP: Encrypting Phase 2 SOH data", in eap_peap_build_phase2_soh()
335 wpa_hexdump_key(MSG_DEBUG, "EAP-PEAP: TK", tk, 60); in eap_peap_derive_cmk()
338 wpa_hexdump_key(MSG_DEBUG, "EAP-PEAP: ISK", isk, sizeof(isk)); in eap_peap_derive_cmk()
347 wpa_hexdump_key(MSG_DEBUG, "EAP-PEAP: TempKey", tk, 40); in eap_peap_derive_cmk()
354 wpa_hexdump_key(MSG_DEBUG, "EAP-PEAP: IMCK (IPMKj)", in eap_peap_derive_cmk()
361 wpa_hexdump_key(MSG_DEBUG, "EAP-PEAP: IPMK (S-IPMKj)", data->ipmk, 40); in eap_peap_derive_cmk()
363 wpa_hexdump_key(MSG_DEBUG, "EAP-PEAP: CMK (CMKj)", data->cmk, 20); in eap_peap_derive_cmk()
478 wpa_hexdump_key(MSG_DEBUG, "EAP-PEAP: Encrypting Phase 2 data", in eap_peap_build_phase2_term()
632 wpa_hexdump_key(MSG_DEBUG, "EAP-PEAP: CMK", data->cmk, 20); in eap_tlv_validate_cryptobinding()
[all …]
Deap_server_psk.c131 wpa_hexdump_key(MSG_DEBUG, "EAP-PSK: TEK", data->tek, EAP_PSK_TEK_LEN); in eap_psk_build_3()
132 wpa_hexdump_key(MSG_DEBUG, "EAP-PSK: MSK", data->msk, EAP_MSK_LEN); in eap_psk_build_3()
133 wpa_hexdump_key(MSG_DEBUG, "EAP-PSK: EMSK", data->emsk, EAP_EMSK_LEN); in eap_psk_build_3()
291 wpa_hexdump_key(MSG_DEBUG, "EAP-PSK: AK", data->ak, EAP_PSK_AK_LEN); in eap_psk_process_2()
292 wpa_hexdump_key(MSG_DEBUG, "EAP-PSK: KDK", data->kdk, EAP_PSK_KDK_LEN); in eap_psk_process_2()
Deap_server_fast.c179 wpa_hexdump_key(MSG_DEBUG, "EAP-FAST: Decrypted PAC-Opaque", in eap_fast_session_ticket_cb()
199 wpa_hexdump_key(MSG_DEBUG, "EAP-FAST: PAC-Key from " in eap_fast_session_ticket_cb()
288 wpa_hexdump_key(MSG_DEBUG, in eap_fast_derive_key_auth()
313 wpa_hexdump_key(MSG_DEBUG, in eap_fast_derive_key_provisioning()
320 wpa_hexdump_key(MSG_DEBUG, "EAP-FAST: server_challenge", in eap_fast_derive_key_provisioning()
323 wpa_hexdump_key(MSG_DEBUG, "EAP-FAST: client_challenge", in eap_fast_derive_key_provisioning()
391 wpa_hexdump_key(MSG_MSGDUMP, "EAP-FAST: ISK[j]", isk, sizeof(isk)); in eap_fast_update_icmk()
397 wpa_hexdump_key(MSG_MSGDUMP, "EAP-FAST: S-IMCK[j]", in eap_fast_update_icmk()
400 wpa_hexdump_key(MSG_MSGDUMP, "EAP-FAST: CMK[j]", in eap_fast_update_icmk()
693 wpa_hexdump_key(MSG_DEBUG, "EAP-FAST: Generated PAC-Key", in eap_fast_build_pac()
/external/wpa_supplicant_8/src/common/
Dsae.c183 wpa_hexdump_key(MSG_DEBUG, "SAE: pwd-seed", pwd_seed, SHA256_MAC_LEN); in sae_test_pwd_seed_ecc()
191 wpa_hexdump_key(MSG_DEBUG, "SAE: pwd-value", in sae_test_pwd_seed_ecc()
224 wpa_hexdump_key(MSG_DEBUG, "SAE: pwd-seed", pwd_seed, SHA256_MAC_LEN); in sae_test_pwd_seed_ffc()
232 wpa_hexdump_key(MSG_DEBUG, "SAE: pwd-value", pwd_value, in sae_test_pwd_seed_ffc()
545 wpa_hexdump_key(MSG_DEBUG, "SAE: k", k, sae->tmp->prime_len); in sae_derive_k_ecc()
583 wpa_hexdump_key(MSG_DEBUG, "SAE: k", k, sae->tmp->prime_len); in sae_derive_k_ffc()
613 wpa_hexdump_key(MSG_DEBUG, "SAE: keyseed", keyseed, sizeof(keyseed)); in sae_derive_keys()
624 wpa_hexdump_key(MSG_DEBUG, "SAE: KCK", sae->tmp->kck, SAE_KCK_LEN); in sae_derive_keys()
625 wpa_hexdump_key(MSG_DEBUG, "SAE: PMK", sae->pmk, SAE_PMK_LEN); in sae_derive_keys()
/external/wpa_supplicant_8/src/ap/
Dwpa_auth_ft.c365 wpa_hexdump_key(MSG_DEBUG, "FT: PMK-R0", pmk_r0, PMK_LEN); in wpa_auth_derive_ptk_ft()
372 wpa_hexdump_key(MSG_DEBUG, "FT: PMK-R1", pmk_r1, PMK_LEN); in wpa_auth_derive_ptk_ft()
381 wpa_hexdump_key(MSG_DEBUG, "FT: PTK", (u8 *) ptk, ptk_len); in wpa_auth_derive_ptk_ft()
866 wpa_hexdump_key(MSG_DEBUG, "FT: Selected PMK-R1", pmk_r1, PMK_LEN); in wpa_ft_process_auth_req()
885 wpa_hexdump_key(MSG_DEBUG, "FT: PTK", in wpa_ft_process_auth_req()
1310 wpa_hexdump_key(MSG_DEBUG, "FT: PMK-R1", r.pmk_r1, PMK_LEN); in wpa_ft_rrb_rx_pull()
1382 wpa_hexdump_key(MSG_DEBUG, "FT: PMK-R1 pull - PMK-R1", in wpa_ft_rrb_rx_resp()
1456 wpa_hexdump_key(MSG_DEBUG, "FT: PMK-R1 push - PMK-R1", in wpa_ft_rrb_rx_push()
1611 wpa_hexdump_key(MSG_DEBUG, "FT: PMK-R1", f.pmk_r1, PMK_LEN); in wpa_ft_generate_pmk_r1()

123