Searched refs:own_key (Results 1 – 8 of 8) sorted by relevance
/freebsd/contrib/wpa/src/common/ |
H A D | dpp_crypto.c | 1170 struct crypto_ec_key *own_key, in dpp_derive_pmkid() argument 1180 nkx = crypto_ec_key_get_pubkey_point(own_key, 0); in dpp_derive_pmkid() 1687 struct crypto_ec_key *own_key = NULL, *peer_key = NULL; in dpp_reconfig_derive_ke_responder() local 1698 own_key = dpp_set_keypair(&auth->curve, net_access_key, in dpp_reconfig_derive_ke_responder() 1700 if (!own_key) { in dpp_reconfig_derive_ke_responder() 1736 cR = crypto_ec_key_get_private_key(own_key); in dpp_reconfig_derive_ke_responder() 1768 auth->reconfig_old_protocol_key = own_key; in dpp_reconfig_derive_ke_responder() 1769 own_key = NULL; in dpp_reconfig_derive_ke_responder() 1778 crypto_ec_key_deinit(own_key); in dpp_reconfig_derive_ke_responder() 2005 struct crypto_ec_key *own_key; in dpp_pfs_init() local [all …]
|
H A D | dpp_reconfig.c | 49 struct crypto_ec_key *own_key; in dpp_build_reconfig_announcement() local 54 own_key = dpp_set_keypair(&own_curve, net_access_key, in dpp_build_reconfig_announcement() 56 if (!own_key) { in dpp_build_reconfig_announcement() 125 crypto_ec_key_deinit(own_key); in dpp_build_reconfig_announcement()
|
H A D | dpp_i.h | 118 struct crypto_ec_key *own_key,
|
H A D | dpp.c | 2878 struct crypto_ec_key *own_key; in dpp_copy_netaccesskey() local 2880 own_key = auth->own_protocol_key; in dpp_copy_netaccesskey() 2884 own_key = auth->reconfig_old_protocol_key; in dpp_copy_netaccesskey() 2887 net_access_key = crypto_ec_key_get_ecprivate_key(own_key, true); in dpp_copy_netaccesskey() 4155 struct crypto_ec_key *own_key = NULL; in dpp_peer_intro() local 4167 own_key = dpp_set_keypair(&own_curve, net_access_key, in dpp_peer_intro() 4169 if (!own_key) { in dpp_peer_intro() 4244 if (dpp_ecdh(own_key, intro->peer_key, Nx, &Nx_len) < 0) in dpp_peer_intro() 4258 if (dpp_derive_pmkid(curve, own_key, intro->peer_key, intro->pmkid) < in dpp_peer_intro() 4282 crypto_ec_key_deinit(own_key); in dpp_peer_intro()
|
/freebsd/contrib/wpa/src/crypto/ |
H A D | crypto_wolfssl.c | 1642 bool own_key; /* Should we free the `key` */ member 1665 e->own_key = true; in crypto_ec_init() 1765 if (e->own_key) in crypto_ec_deinit() 2153 struct crypto_ecdh * crypto_ecdh_init2(int group, struct crypto_ec_key *own_key) in crypto_ecdh_init2() argument 2157 if (!own_key || crypto_ec_key_group(own_key) != group) { in crypto_ecdh_init2() 2167 ret->ec->key = own_key->eckey; in crypto_ecdh_init2() 2168 ret->ec->own_key = false; in crypto_ecdh_init2()
|
H A D | crypto.h | 971 struct crypto_ec_key *own_key);
|
H A D | crypto_openssl.c | 2721 struct crypto_ecdh * crypto_ecdh_init2(int group, struct crypto_ec_key *own_key) in crypto_ecdh_init2() argument 2734 ecdh->pkey = EVP_PKEY_dup((EVP_PKEY *) own_key); in crypto_ecdh_init2() 2756 EVP_PKEY_get1_EC_KEY((EVP_PKEY *) own_key)) in crypto_ecdh_init2()
|
/freebsd/contrib/wpa/src/ap/ |
H A D | dpp_hostapd.c | 2790 struct crypto_ec_key *own_key; in hostapd_dpp_rx_priv_peer_intro_update() local 2838 own_key = dpp_set_keypair(&curve, in hostapd_dpp_rx_priv_peer_intro_update() 2841 if (!own_key) { in hostapd_dpp_rx_priv_peer_intro_update() 2849 crypto_ec_key_deinit(own_key); in hostapd_dpp_rx_priv_peer_intro_update() 2853 pt = hpke_base_open(kem_id, kdf_id, aead_id, own_key, NULL, 0, in hostapd_dpp_rx_priv_peer_intro_update() 2855 crypto_ec_key_deinit(own_key); in hostapd_dpp_rx_priv_peer_intro_update()
|