Home
last modified time | relevance | path

Searched refs:imsi_privacy_key (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/wpa/src/ap/
H A Dauthsrv.c233 cfg->imsi_privacy_key = hapd->imsi_privacy_key; in authsrv_eap_config()
352 crypto_rsa_key_free(hapd->imsi_privacy_key); in authsrv_init()
353 hapd->imsi_privacy_key = NULL; in authsrv_init()
354 if (hapd->conf->imsi_privacy_key) { in authsrv_init()
355 hapd->imsi_privacy_key = crypto_rsa_key_read( in authsrv_init()
356 hapd->conf->imsi_privacy_key, true); in authsrv_init()
357 if (!hapd->imsi_privacy_key) { in authsrv_init()
360 hapd->conf->imsi_privacy_key); in authsrv_init()
425 crypto_rsa_key_free(hapd->imsi_privacy_key); in authsrv_deinit()
426 hapd->imsi_privacy_key = NULL; in authsrv_deinit()
H A Dhostapd.h228 struct crypto_rsa_key *imsi_privacy_key; member
H A Dap_config.h452 char *imsi_privacy_key; member
H A Dap_config.c862 os_free(conf->imsi_privacy_key); in hostapd_config_free_bss()
/freebsd/contrib/wpa/src/eap_peer/
H A Deap_sim.c54 struct crypto_rsa_key *imsi_privacy_key; member
106 data->imsi_privacy_key = crypto_rsa_key_read( in eap_sim_init()
108 if (!data->imsi_privacy_key) { in eap_sim_init()
137 crypto_rsa_key_free(data->imsi_privacy_key); in eap_sim_init()
198 crypto_rsa_key_free(data->imsi_privacy_key); in eap_sim_deinit()
514 eap_sim_encrypt_identity(struct crypto_rsa_key *imsi_privacy_key, in eap_sim_encrypt_identity() argument
528 enc = crypto_rsa_oaep_sha256_encrypt(imsi_privacy_key, imsi_buf); in eap_sim_encrypt_identity()
601 if (identity && data->imsi_privacy_key) { in eap_sim_response_start()
608 data->imsi_privacy_key, in eap_sim_response_start()
H A Deap_aka.c62 struct crypto_rsa_key *imsi_privacy_key; member
108 data->imsi_privacy_key = crypto_rsa_key_read( in eap_aka_init()
110 if (!data->imsi_privacy_key) { in eap_aka_init()
192 crypto_rsa_key_free(data->imsi_privacy_key); in eap_aka_deinit()
646 eap_aka_encrypt_identity(struct crypto_rsa_key *imsi_privacy_key, in eap_aka_encrypt_identity() argument
660 enc = crypto_rsa_oaep_sha256_encrypt(imsi_privacy_key, imsi_buf); in eap_aka_encrypt_identity()
733 if (identity && data->imsi_privacy_key) { in eap_aka_response_identity()
740 data->imsi_privacy_key, in eap_aka_response_identity()
/freebsd/contrib/wpa/src/eap_server/
H A Deap.h128 struct crypto_rsa_key *imsi_privacy_key; member
H A Deap_server_sim.c579 if (!sm->cfg->imsi_privacy_key) { in eap_sim_process_start()
609 dec = crypto_rsa_oaep_sha256_decrypt(sm->cfg->imsi_privacy_key, in eap_sim_process_start()
H A Deap_server_aka.c835 if (!sm->cfg->imsi_privacy_key) { in eap_aka_determine_identity()
865 dec = crypto_rsa_oaep_sha256_decrypt(sm->cfg->imsi_privacy_key, in eap_aka_determine_identity()
/freebsd/contrib/wpa/hostapd/
H A Dconfig_file.c2754 os_free(bss->imsi_privacy_key); in hostapd_config_fill()
2755 bss->imsi_privacy_key = os_strdup(pos); in hostapd_config_fill()