Home
last modified time | relevance | path

Searched refs:EAP_FAST_PAC_KEY_LEN (Results 1 – 6 of 6) sorted by relevance

/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()
351 if (key == NULL || key_len != EAP_FAST_PAC_KEY_LEN) { in eap_fast_parse_pac_key()
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()
805 if (end - pos < 2 + EAP_FAST_PAC_KEY_LEN + 2 + 2) { in eap_fast_load_pac_bin()
816 os_memcpy(pac->pac_key, pos, EAP_FAST_PAC_KEY_LEN); in eap_fast_load_pac_bin()
817 pos += EAP_FAST_PAC_KEY_LEN; in eap_fast_load_pac_bin()
889 len += 2 + EAP_FAST_PAC_KEY_LEN + 2 + pac->pac_opaque_len + in eap_fast_save_pac_bin()
908 os_memcpy(pos, pac->pac_key, EAP_FAST_PAC_KEY_LEN); in eap_fast_save_pac_bin()
909 pos += EAP_FAST_PAC_KEY_LEN; in eap_fast_save_pac_bin()
Deap_fast_pac.h17 u8 pac_key[EAP_FAST_PAC_KEY_LEN];
Deap_fast.c837 if (len != EAP_FAST_PAC_KEY_LEN) { in eap_fast_parse_pac_tlv()
/external/wpa_supplicant_8/src/eap_server/
Deap_server_fast.c195 if (elen != EAP_FAST_PAC_KEY_LEN) { in eap_fast_session_ticket_cb()
205 pac_key, EAP_FAST_PAC_KEY_LEN); in eap_fast_session_ticket_cb()
686 u8 pac_key[EAP_FAST_PAC_KEY_LEN]; in eap_fast_build_pac()
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()
702 pac_len = (2 + EAP_FAST_PAC_KEY_LEN) + (2 + 4) + in eap_fast_build_pac()
712 *pos++ = 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()
714 pos += EAP_FAST_PAC_KEY_LEN; in eap_fast_build_pac()
752 sizeof(struct pac_tlv_hdr) + EAP_FAST_PAC_KEY_LEN + in eap_fast_build_pac()
[all …]
/external/wpa_supplicant_8/src/eap_common/
Deap_fast_common.h53 #define EAP_FAST_PAC_KEY_LEN 32 macro
Deap_fast_common.c87 sha1_t_prf(pac_key, EAP_FAST_PAC_KEY_LEN, in eap_fast_derive_master_secret()