Searched refs:pac_key (Results 1 – 9 of 9) sorted by relevance
/external/wpa_supplicant/tests/ |
D | test_sha1.c | 26 const u8 pac_key[] = { in test_eap_fast() local 121 sha1_t_prf(pac_key, sizeof(pac_key), "PAC to master secret label hash", in test_eap_fast()
|
/external/wpa_supplicant_6/wpa_supplicant/tests/ |
D | test_sha1.c | 26 const u8 pac_key[] = { in test_eap_fast() local 132 sha1_t_prf(pac_key, sizeof(pac_key), "PAC to master secret label hash", in test_eap_fast()
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/ |
D | eap_fast.c | 133 u8 *buf, *pos, *end, *pac_key = NULL; in eap_fast_session_ticket_cb() local 203 pac_key = pos + 2; in eap_fast_session_ticket_cb() 206 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 (os_get_random(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()
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/ |
D | eap_fast_pac.c | 164 os_memcpy(pac->pac_key, entry->pac_key, EAP_FAST_PAC_KEY_LEN); in eap_fast_add_pac() 360 os_memcpy(pac->pac_key, key, EAP_FAST_PAC_KEY_LEN); in eap_fast_parse_pac_key() 584 pac->pac_key, EAP_FAST_PAC_KEY_LEN, 0); in eap_fast_add_pac_data() 809 os_memcpy(pac->pac_key, pos, EAP_FAST_PAC_KEY_LEN); in eap_fast_load_pac_bin() 897 os_memcpy(pos, pac->pac_key, EAP_FAST_PAC_KEY_LEN); in eap_fast_save_pac_bin()
|
D | eap_fast_pac.h | 23 u8 pac_key[EAP_FAST_PAC_KEY_LEN]; member
|
D | eap_fast.c | 109 eap_fast_derive_master_secret(data->current_pac->pac_key, in eap_fast_session_ticket_cb() 813 os_memcpy(entry->pac_key, pos, len); in eap_fast_parse_pac_tlv()
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/ |
D | eap_fast_common.c | 74 void eap_fast_derive_master_secret(const u8 *pac_key, const u8 *server_random, in eap_fast_derive_master_secret() argument 93 sha1_t_prf(pac_key, EAP_FAST_PAC_KEY_LEN, in eap_fast_derive_master_secret()
|
D | eap_fast_common.h | 104 void eap_fast_derive_master_secret(const u8 *pac_key, const u8 *server_random,
|
/external/wpa_supplicant/ |
D | eap_fast.c | 76 u8 pac_key[EAP_FAST_PAC_KEY_LEN]; member 181 os_memcpy(pac->pac_key, entry->pac_key, EAP_FAST_PAC_KEY_LEN); in eap_fast_add_pac() 402 os_memcpy(pac->pac_key, key, EAP_FAST_PAC_KEY_LEN); in eap_fast_load_pac() 555 eap_fast_write(&buf, &pos, &buf_len, "PAC-Key", pac->pac_key, in eap_fast_save_pac() 904 data->current_pac->pac_key, EAP_FAST_PAC_KEY_LEN); in eap_fast_set_tls_master_secret() 907 sha1_t_prf(data->current_pac->pac_key, EAP_FAST_PAC_KEY_LEN, in eap_fast_set_tls_master_secret() 1415 os_memcpy(entry.pac_key, pos, len); in eap_fast_process_pac()
|