/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/ |
D | eap_server_fast.c | 128 u8 *buf, *pos, *end, *pac_key = NULL; in eap_fast_session_ticket_cb() local 202 pac_key = pos; in eap_fast_session_ticket_cb() 205 pac_key, EAP_FAST_PAC_KEY_LEN); in eap_fast_session_ticket_cb() 227 if (pac_key == NULL) { in eap_fast_session_ticket_cb() 263 eap_fast_derive_master_secret(pac_key, server_random, client_random, in eap_fast_session_ticket_cb() 685 u8 pac_key[EAP_FAST_PAC_KEY_LEN]; in eap_fast_build_pac() local 695 if (random_get_bytes(pac_key, EAP_FAST_PAC_KEY_LEN) < 0 || in eap_fast_build_pac() 699 pac_key, EAP_FAST_PAC_KEY_LEN); in eap_fast_build_pac() 712 os_memcpy(pos, pac_key, EAP_FAST_PAC_KEY_LEN); in eap_fast_build_pac() 775 eap_fast_put_tlv(buf, PAC_TYPE_PAC_KEY, pac_key, EAP_FAST_PAC_KEY_LEN); in eap_fast_build_pac()
|
D | eap_server_teap.c | 138 u8 *buf, *pos, *end, *pac_key = NULL; in eap_teap_session_ticket_cb() local 210 pac_key = pos; in eap_teap_session_ticket_cb() 213 pac_key, EAP_TEAP_PAC_KEY_LEN); in eap_teap_session_ticket_cb() 235 if (!pac_key) { in eap_teap_session_ticket_cb() 274 os_memcpy(master_secret, pac_key, EAP_TEAP_PAC_KEY_LEN); in eap_teap_session_ticket_cb() 652 u8 pac_key[EAP_TEAP_PAC_KEY_LEN]; in eap_teap_build_pac() local 664 if (random_get_bytes(pac_key, EAP_TEAP_PAC_KEY_LEN) < 0 || in eap_teap_build_pac() 668 pac_key, EAP_TEAP_PAC_KEY_LEN); in eap_teap_build_pac() 681 os_memcpy(pos, pac_key, EAP_TEAP_PAC_KEY_LEN); in eap_teap_build_pac() 746 eap_teap_put_tlv(buf, PAC_TYPE_PAC_KEY, pac_key, EAP_TEAP_PAC_KEY_LEN); in eap_teap_build_pac()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/ |
D | eap_server_fast.c | 128 u8 *buf, *pos, *end, *pac_key = NULL; in eap_fast_session_ticket_cb() local 202 pac_key = pos; in eap_fast_session_ticket_cb() 205 pac_key, EAP_FAST_PAC_KEY_LEN); in eap_fast_session_ticket_cb() 227 if (pac_key == NULL) { in eap_fast_session_ticket_cb() 263 eap_fast_derive_master_secret(pac_key, server_random, client_random, in eap_fast_session_ticket_cb() 687 u8 pac_key[EAP_FAST_PAC_KEY_LEN]; in eap_fast_build_pac() local 697 if (random_get_bytes(pac_key, EAP_FAST_PAC_KEY_LEN) < 0 || in eap_fast_build_pac() 701 pac_key, EAP_FAST_PAC_KEY_LEN); in eap_fast_build_pac() 714 os_memcpy(pos, pac_key, EAP_FAST_PAC_KEY_LEN); in eap_fast_build_pac() 777 eap_fast_put_tlv(buf, PAC_TYPE_PAC_KEY, pac_key, EAP_FAST_PAC_KEY_LEN); in eap_fast_build_pac()
|
D | eap_server_teap.c | 144 u8 *buf, *pos, *end, *pac_key = NULL; in eap_teap_session_ticket_cb() local 216 pac_key = pos; in eap_teap_session_ticket_cb() 219 pac_key, EAP_TEAP_PAC_KEY_LEN); in eap_teap_session_ticket_cb() 241 if (!pac_key) { in eap_teap_session_ticket_cb() 280 os_memcpy(master_secret, pac_key, EAP_TEAP_PAC_KEY_LEN); in eap_teap_session_ticket_cb() 714 u8 pac_key[EAP_TEAP_PAC_KEY_LEN]; in eap_teap_build_pac() local 726 if (random_get_bytes(pac_key, EAP_TEAP_PAC_KEY_LEN) < 0 || in eap_teap_build_pac() 730 pac_key, EAP_TEAP_PAC_KEY_LEN); in eap_teap_build_pac() 743 os_memcpy(pos, pac_key, EAP_TEAP_PAC_KEY_LEN); in eap_teap_build_pac() 808 eap_teap_put_tlv(buf, PAC_TYPE_PAC_KEY, pac_key, EAP_TEAP_PAC_KEY_LEN); in eap_teap_build_pac()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/ |
D | eap_fast_pac.c | 157 os_memcpy(pac->pac_key, entry->pac_key, EAP_FAST_PAC_KEY_LEN); in eap_fast_add_pac() 355 os_memcpy(pac->pac_key, key, EAP_FAST_PAC_KEY_LEN); in eap_fast_parse_pac_key() 586 pac->pac_key, EAP_FAST_PAC_KEY_LEN, 0); in eap_fast_add_pac_data() 813 os_memcpy(pac->pac_key, pos, EAP_FAST_PAC_KEY_LEN); in eap_fast_load_pac_bin() 903 os_memcpy(pos, pac->pac_key, EAP_FAST_PAC_KEY_LEN); in eap_fast_save_pac_bin()
|
D | eap_teap_pac.c | 157 os_memcpy(pac->pac_key, entry->pac_key, EAP_TEAP_PAC_KEY_LEN); in eap_teap_add_pac() 356 os_memcpy(pac->pac_key, key, EAP_TEAP_PAC_KEY_LEN); in eap_teap_parse_pac_key() 591 pac->pac_key, EAP_TEAP_PAC_KEY_LEN, 0); in eap_teap_add_pac_data() 817 os_memcpy(pac->pac_key, pos, EAP_TEAP_PAC_KEY_LEN); in eap_teap_load_pac_bin() 907 os_memcpy(pos, pac->pac_key, EAP_TEAP_PAC_KEY_LEN); in eap_teap_save_pac_bin()
|
D | eap_teap_pac.h | 17 u8 pac_key[EAP_TEAP_PAC_KEY_LEN]; member
|
D | eap_fast_pac.h | 17 u8 pac_key[EAP_FAST_PAC_KEY_LEN]; member
|
D | eap_fast.c | 106 eap_fast_derive_master_secret(data->current_pac->pac_key, in eap_fast_session_ticket_cb() 863 os_memcpy(entry->pac_key, pos, len); in eap_fast_parse_pac_tlv()
|
D | eap_teap.c | 110 os_memcpy(master_secret, data->current_pac->pac_key, in eap_teap_session_ticket_cb() 938 os_memcpy(entry->pac_key, pos, len); in eap_teap_parse_pac_tlv()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/ |
D | eap_teap_pac.c | 157 os_memcpy(pac->pac_key, entry->pac_key, EAP_TEAP_PAC_KEY_LEN); in eap_teap_add_pac() 356 os_memcpy(pac->pac_key, key, EAP_TEAP_PAC_KEY_LEN); in eap_teap_parse_pac_key() 591 pac->pac_key, EAP_TEAP_PAC_KEY_LEN, 0); in eap_teap_add_pac_data() 817 os_memcpy(pac->pac_key, pos, EAP_TEAP_PAC_KEY_LEN); in eap_teap_load_pac_bin() 907 os_memcpy(pos, pac->pac_key, EAP_TEAP_PAC_KEY_LEN); in eap_teap_save_pac_bin()
|
D | eap_fast_pac.c | 157 os_memcpy(pac->pac_key, entry->pac_key, EAP_FAST_PAC_KEY_LEN); in eap_fast_add_pac() 355 os_memcpy(pac->pac_key, key, EAP_FAST_PAC_KEY_LEN); in eap_fast_parse_pac_key() 586 pac->pac_key, EAP_FAST_PAC_KEY_LEN, 0); in eap_fast_add_pac_data() 813 os_memcpy(pac->pac_key, pos, EAP_FAST_PAC_KEY_LEN); in eap_fast_load_pac_bin() 903 os_memcpy(pos, pac->pac_key, EAP_FAST_PAC_KEY_LEN); in eap_fast_save_pac_bin()
|
D | eap_fast_pac.h | 17 u8 pac_key[EAP_FAST_PAC_KEY_LEN]; member
|
D | eap_teap_pac.h | 17 u8 pac_key[EAP_TEAP_PAC_KEY_LEN]; member
|
D | eap_fast.c | 106 eap_fast_derive_master_secret(data->current_pac->pac_key, in eap_fast_session_ticket_cb() 843 os_memcpy(entry->pac_key, pos, len); in eap_fast_parse_pac_tlv()
|
D | eap_teap.c | 109 os_memcpy(master_secret, data->current_pac->pac_key, in eap_teap_session_ticket_cb() 883 os_memcpy(entry->pac_key, pos, len); in eap_teap_parse_pac_tlv()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_common/ |
D | eap_fast_common.c | 68 void eap_fast_derive_master_secret(const u8 *pac_key, const u8 *server_random, in eap_fast_derive_master_secret() argument 87 sha1_t_prf(pac_key, EAP_FAST_PAC_KEY_LEN, in eap_fast_derive_master_secret()
|
D | eap_fast_common.h | 98 void eap_fast_derive_master_secret(const u8 *pac_key, const u8 *server_random,
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_common/ |
D | eap_fast_common.c | 68 void eap_fast_derive_master_secret(const u8 *pac_key, const u8 *server_random, in eap_fast_derive_master_secret() argument 87 sha1_t_prf(pac_key, EAP_FAST_PAC_KEY_LEN, in eap_fast_derive_master_secret()
|
D | eap_fast_common.h | 98 void eap_fast_derive_master_secret(const u8 *pac_key, const u8 *server_random,
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
D | crypto_module_tests.c | 839 const u8 pac_key[] = { in test_eap_fast() local 947 if (sha1_t_prf(pac_key, sizeof(pac_key), in test_eap_fast()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
D | crypto_module_tests.c | 988 const u8 pac_key[] = { in test_eap_fast() local 1096 if (sha1_t_prf(pac_key, sizeof(pac_key), in test_eap_fast()
|