Home
last modified time | relevance | path

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

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/
Deap_fast_pac.c157 os_memcpy(pac->pac_key, entry->pac_key, EAP_FAST_PAC_KEY_LEN); in eap_fast_add_pac()
350 if (key == NULL || key_len != EAP_FAST_PAC_KEY_LEN) { in eap_fast_parse_pac_key()
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()
802 if (end - pos < 2 + EAP_FAST_PAC_KEY_LEN + 2 + 2) { in eap_fast_load_pac_bin()
813 os_memcpy(pac->pac_key, pos, EAP_FAST_PAC_KEY_LEN); in eap_fast_load_pac_bin()
814 pos += EAP_FAST_PAC_KEY_LEN; in eap_fast_load_pac_bin()
884 len += 2 + EAP_FAST_PAC_KEY_LEN + 2 + pac->pac_opaque_len + in eap_fast_save_pac_bin()
903 os_memcpy(pos, pac->pac_key, EAP_FAST_PAC_KEY_LEN); in eap_fast_save_pac_bin()
904 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()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/
Deap_fast_pac.c157 os_memcpy(pac->pac_key, entry->pac_key, EAP_FAST_PAC_KEY_LEN); in eap_fast_add_pac()
350 if (key == NULL || key_len != EAP_FAST_PAC_KEY_LEN) { in eap_fast_parse_pac_key()
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()
802 if (end - pos < 2 + EAP_FAST_PAC_KEY_LEN + 2 + 2) { in eap_fast_load_pac_bin()
813 os_memcpy(pac->pac_key, pos, EAP_FAST_PAC_KEY_LEN); in eap_fast_load_pac_bin()
814 pos += EAP_FAST_PAC_KEY_LEN; in eap_fast_load_pac_bin()
884 len += 2 + EAP_FAST_PAC_KEY_LEN + 2 + pac->pac_opaque_len + in eap_fast_save_pac_bin()
903 os_memcpy(pos, pac->pac_key, EAP_FAST_PAC_KEY_LEN); in eap_fast_save_pac_bin()
904 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.c857 if (len != EAP_FAST_PAC_KEY_LEN) { in eap_fast_parse_pac_tlv()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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()
687 u8 pac_key[EAP_FAST_PAC_KEY_LEN]; in eap_fast_build_pac()
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()
703 pac_len = (2 + EAP_FAST_PAC_KEY_LEN) + (2 + 4) + in eap_fast_build_pac()
713 *pos++ = 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()
715 pos += EAP_FAST_PAC_KEY_LEN; in eap_fast_build_pac()
753 sizeof(struct pac_tlv_hdr) + EAP_FAST_PAC_KEY_LEN + in eap_fast_build_pac()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/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()
685 u8 pac_key[EAP_FAST_PAC_KEY_LEN]; in eap_fast_build_pac()
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()
701 pac_len = (2 + EAP_FAST_PAC_KEY_LEN) + (2 + 4) + in eap_fast_build_pac()
711 *pos++ = 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()
713 pos += EAP_FAST_PAC_KEY_LEN; in eap_fast_build_pac()
751 sizeof(struct pac_tlv_hdr) + EAP_FAST_PAC_KEY_LEN + in eap_fast_build_pac()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/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()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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()