Searched refs:EAP_FAST_PAC_KEY_LEN (Results 1 – 6 of 6) sorted by relevance
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_fast_pac.c | 158 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() 586 pac->pac_key, EAP_FAST_PAC_KEY_LEN, 0); in eap_fast_add_pac_data() 804 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() 886 len += 2 + EAP_FAST_PAC_KEY_LEN + 2 + pac->pac_opaque_len + in eap_fast_save_pac_bin() 905 os_memcpy(pos, pac->pac_key, EAP_FAST_PAC_KEY_LEN); in eap_fast_save_pac_bin() 906 pos += 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];
|
D | eap_fast.c | 837 if (len != EAP_FAST_PAC_KEY_LEN) { in eap_fast_parse_pac_tlv()
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_fast.c | 191 if (pos[1] != EAP_FAST_PAC_KEY_LEN) { in eap_fast_session_ticket_cb() 200 pac_key, EAP_FAST_PAC_KEY_LEN); in eap_fast_session_ticket_cb() 680 u8 pac_key[EAP_FAST_PAC_KEY_LEN]; in eap_fast_build_pac() 690 if (random_get_bytes(pac_key, EAP_FAST_PAC_KEY_LEN) < 0 || in eap_fast_build_pac() 694 pac_key, EAP_FAST_PAC_KEY_LEN); in eap_fast_build_pac() 696 pac_len = (2 + EAP_FAST_PAC_KEY_LEN) + (2 + 4) + in eap_fast_build_pac() 706 *pos++ = EAP_FAST_PAC_KEY_LEN; in eap_fast_build_pac() 707 os_memcpy(pos, pac_key, EAP_FAST_PAC_KEY_LEN); in eap_fast_build_pac() 708 pos += EAP_FAST_PAC_KEY_LEN; in eap_fast_build_pac() 746 sizeof(struct pac_tlv_hdr) + EAP_FAST_PAC_KEY_LEN + in eap_fast_build_pac() [all …]
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_fast_common.h | 53 #define EAP_FAST_PAC_KEY_LEN 32 macro
|
D | eap_fast_common.c | 87 sha1_t_prf(pac_key, EAP_FAST_PAC_KEY_LEN, in eap_fast_derive_master_secret()
|