Home
last modified time | relevance | path

Searched refs:pac_key (Results 1 – 7 of 7) sorted by relevance

/external/wpa_supplicant_8/src/eap_server/
Deap_server_fast.c128 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()
686 u8 pac_key[EAP_FAST_PAC_KEY_LEN]; in eap_fast_build_pac() local
696 if (random_get_bytes(pac_key, EAP_FAST_PAC_KEY_LEN) < 0 || in eap_fast_build_pac()
700 pac_key, EAP_FAST_PAC_KEY_LEN); in eap_fast_build_pac()
713 os_memcpy(pos, pac_key, EAP_FAST_PAC_KEY_LEN); in eap_fast_build_pac()
776 eap_fast_put_tlv(buf, PAC_TYPE_PAC_KEY, pac_key, EAP_FAST_PAC_KEY_LEN); in eap_fast_build_pac()
/external/wpa_supplicant_8/src/eap_peer/
Deap_fast_pac.c158 os_memcpy(pac->pac_key, entry->pac_key, EAP_FAST_PAC_KEY_LEN); in eap_fast_add_pac()
356 os_memcpy(pac->pac_key, key, EAP_FAST_PAC_KEY_LEN); in eap_fast_parse_pac_key()
587 pac->pac_key, EAP_FAST_PAC_KEY_LEN, 0); in eap_fast_add_pac_data()
816 os_memcpy(pac->pac_key, pos, EAP_FAST_PAC_KEY_LEN); in eap_fast_load_pac_bin()
908 os_memcpy(pos, pac->pac_key, EAP_FAST_PAC_KEY_LEN); in eap_fast_save_pac_bin()
Deap_fast_pac.h17 u8 pac_key[EAP_FAST_PAC_KEY_LEN]; member
Deap_fast.c106 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()
/external/wpa_supplicant_8/src/eap_common/
Deap_fast_common.c68 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()
Deap_fast_common.h98 void eap_fast_derive_master_secret(const u8 *pac_key, const u8 *server_random,
/external/wpa_supplicant_8/src/crypto/
Dcrypto_module_tests.c839 const u8 pac_key[] = { in test_eap_fast() local
947 if (sha1_t_prf(pac_key, sizeof(pac_key), in test_eap_fast()