Lines Matching refs:own_protocol_key
459 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()
1233 if (!auth->own_protocol_key) in dpp_auth_init()
1236 pi = crypto_ec_key_get_pubkey_point(auth->own_protocol_key, 0); in dpp_auth_init()
1241 if (dpp_ecdh(auth->own_protocol_key, auth->peer_bi->pubkey, in dpp_auth_init()
1557 pr = dpp_set_pubkey_point(auth->own_protocol_key, r_proto, r_proto_len); in dpp_auth_resp_rx()
1564 if (dpp_ecdh(auth->own_protocol_key, pr, auth->Nx, &secret_len) < 0) { in dpp_auth_resp_rx()