Home
last modified time | relevance | path

Searched refs:own_protocol_key (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/wpa/src/common/
H A Ddpp_auth.c459 crypto_ec_key_deinit(auth->own_protocol_key); in dpp_auth_build_resp_ok()
466 auth->own_protocol_key = dpp_set_keypair( in dpp_auth_build_resp_ok()
470 auth->own_protocol_key = dpp_gen_keypair(auth->curve); in dpp_auth_build_resp_ok()
473 auth->own_protocol_key = dpp_gen_keypair(auth->curve); in dpp_auth_build_resp_ok()
475 if (!auth->own_protocol_key) in dpp_auth_build_resp_ok()
478 pr = crypto_ec_key_get_pubkey_point(auth->own_protocol_key, 0); in dpp_auth_build_resp_ok()
483 if (dpp_ecdh(auth->own_protocol_key, auth->peer_protocol_key, in dpp_auth_build_resp_ok()
1224 auth->own_protocol_key = dpp_set_keypair( in dpp_auth_init()
1228 auth->own_protocol_key = dpp_gen_keypair(auth->curve); in dpp_auth_init()
1231 auth->own_protocol_key = dpp_gen_keypair(auth->curve); in dpp_auth_init()
[all …]
H A Ddpp_crypto.c900 pix = crypto_ec_key_get_pubkey_point(auth->own_protocol_key, 0); in dpp_gen_r_auth()
912 prx = crypto_ec_key_get_pubkey_point(auth->own_protocol_key, 0); in dpp_gen_r_auth()
983 pix = crypto_ec_key_get_pubkey_point(auth->own_protocol_key, 0); in dpp_gen_i_auth()
997 prx = crypto_ec_key_get_pubkey_point(auth->own_protocol_key, 0); in dpp_gen_i_auth()
1073 pR = crypto_ec_key_get_private_key(auth->own_protocol_key); in dpp_auth_derive_l_responder()
1717 auth->own_protocol_key = dpp_gen_keypair(curve); in dpp_reconfig_derive_ke_responder()
1718 if (!auth->own_protocol_key) in dpp_reconfig_derive_ke_responder()
1737 pR = crypto_ec_key_get_private_key(auth->own_protocol_key); in dpp_reconfig_derive_ke_responder()
2097 key = auth->own_protocol_key; in dpp_build_csr()
2421 if (dpp_ecdh(auth->own_protocol_key, auth->peer_protocol_key, in dpp_derive_auth_i()
[all …]
H A Ddpp.c810 pe = crypto_ec_key_get_pubkey_point(auth->own_protocol_key, 0); in dpp_build_conf_req_attr()
1461 crypto_ec_key_deinit(auth->own_protocol_key); in dpp_auth_deinit()
2112 crypto_ec_key_deinit(auth->own_protocol_key); in dpp_build_conf_resp()
2113 auth->own_protocol_key = new_pc; in dpp_build_conf_resp()
2362 pe = dpp_set_pubkey_point(auth->own_protocol_key, in dpp_conf_req_rx()
2823 if (crypto_ec_key_cmp(key, auth->own_protocol_key)) { in dpp_parse_connector()
2880 own_key = auth->own_protocol_key; in dpp_copy_netaccesskey()
3432 crypto_ec_key_deinit(auth->own_protocol_key); in dpp_conf_resp_rx()
3433 auth->own_protocol_key = new_pe; in dpp_conf_resp_rx()
4003 auth->own_protocol_key = dpp_gen_keypair(auth->curve); in dpp_configurator_own_config()
[all …]
H A Ddpp.h306 struct crypto_ec_key *own_protocol_key; member
H A Ddpp_reconfig.c356 pr = crypto_ec_key_get_pubkey_point(auth->own_protocol_key, 0); in dpp_reconfig_build_resp()