Searched refs:imsi_privacy_key (Results 1 – 10 of 10) sorted by relevance
233 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()
228 struct crypto_rsa_key *imsi_privacy_key; member
452 char *imsi_privacy_key; member
862 os_free(conf->imsi_privacy_key); in hostapd_config_free_bss()
54 struct crypto_rsa_key *imsi_privacy_key; member106 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() argument528 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()
62 struct crypto_rsa_key *imsi_privacy_key; member108 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() argument660 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()
128 struct crypto_rsa_key *imsi_privacy_key; member
579 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()
835 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()
2754 os_free(bss->imsi_privacy_key); in hostapd_config_fill()2755 bss->imsi_privacy_key = os_strdup(pos); in hostapd_config_fill()