Home
last modified time | relevance | path

Searched refs:crypto_ec_key (Results 1 – 15 of 15) sorted by relevance

/hostap-latest/src/common/
Ddpp_i.h51 struct crypto_ec_key *key, const char *kid,
53 struct crypto_ec_key * dpp_parse_jwk(struct json_token *jwk,
79 struct crypto_ec_key *csign_pub,
90 struct crypto_ec_key * dpp_set_pubkey_point(struct crypto_ec_key *group_key,
97 int dpp_ecdh(struct crypto_ec_key *own, struct crypto_ec_key *peer,
99 void dpp_debug_print_key(const char *title, struct crypto_ec_key *key);
108 struct crypto_ec_key * dpp_gen_keypair(const struct dpp_curve_params *curve);
118 struct crypto_ec_key *own_key,
119 struct crypto_ec_key *peer_key, u8 *pmkid);
142 struct crypto_ec_point * dpp_decrypt_e_id(struct crypto_ec_key *ppkey,
[all …]
Ddpp.h180 struct crypto_ec_key *pubkey;
215 struct crypto_ec_key *x;
216 struct crypto_ec_key *y;
220 struct crypto_ec_key *peer_bootstrap_key;
273 struct crypto_ec_key *csign;
274 struct crypto_ec_key *pp_key;
306 struct crypto_ec_key *own_protocol_key;
307 struct crypto_ec_key *peer_protocol_key;
308 struct crypto_ec_key *reconfig_old_protocol_key;
408 struct crypto_ec_key *csign;
[all …]
Ddpp_crypto.c80 void dpp_debug_print_key(const char *title, struct crypto_ec_key *key) in dpp_debug_print_key()
232 struct crypto_ec_key * dpp_set_pubkey_point(struct crypto_ec_key *group_key, in dpp_set_pubkey_point()
249 int dpp_get_pubkey_hash(struct crypto_ec_key *key, u8 *hash) in dpp_get_pubkey_hash()
270 struct crypto_ec_key * dpp_gen_keypair(const struct dpp_curve_params *curve) in dpp_gen_keypair()
272 struct crypto_ec_key *key; in dpp_gen_keypair()
284 struct crypto_ec_key * dpp_set_keypair(const struct dpp_curve_params **curve, in dpp_set_keypair()
287 struct crypto_ec_key *key; in dpp_set_keypair()
502 int dpp_ecdh(struct crypto_ec_key *own, struct crypto_ec_key *peer, in dpp_ecdh()
577 struct crypto_ec_key *key; in dpp_get_subject_public_key()
686 static int dpp_check_pubkey_match(struct crypto_ec_key *pub, in dpp_check_pubkey_match()
[all …]
Dsae.h32 struct crypto_ec_key *key;
36 struct crypto_ec_key *sign_key_override;
Ddpp.c1557 struct crypto_ec_key *key, const char *kid, in dpp_build_jwk()
2095 struct crypto_ec_key *new_pc; in dpp_build_conf_resp()
2354 struct crypto_ec_key *pe; in dpp_conf_req_rx()
2596 struct crypto_ec_key * dpp_parse_jwk(struct json_token *jwk, in dpp_parse_jwk()
2602 struct crypto_ec_key *key = NULL; in dpp_parse_jwk()
2756 struct crypto_ec_key *key = NULL; in dpp_parse_connector()
2847 struct crypto_ec_key *csign) in dpp_copy_csign()
2861 struct crypto_ec_key *ppkey) in dpp_copy_ppkey()
2878 struct crypto_ec_key *own_key; in dpp_copy_netaccesskey()
2903 struct crypto_ec_key *csign_pub = NULL, *pp_pub = NULL; in dpp_parse_cred_dpp()
[all …]
Ddpp_reconfig.c41 struct crypto_ec_key *csign = NULL; in dpp_build_reconfig_announcement()
49 struct crypto_ec_key *own_key; in dpp_build_reconfig_announcement()
245 struct crypto_ec_key *a_nonce, *e_prime_id; in dpp_reconfig_init()
Dsae_pk.c610 struct crypto_ec_key *key; in sae_write_confirm_pk()
777 struct crypto_ec_key *key; in sae_check_confirm_pk()
Ddpp_auth.c674 struct crypto_ec_key *pi = NULL; in dpp_auth_req_rx()
1406 struct crypto_ec_key *pr; in dpp_auth_resp_rx()
/hostap-latest/src/crypto/
Dcrypto.h943 struct crypto_ec_key;
971 struct crypto_ec_key *own_key);
1013 struct crypto_ec_key * crypto_ec_key_parse_priv(const u8 *der, size_t der_len);
1022 struct crypto_ec_key * crypto_ec_key_set_priv(int group,
1031 struct crypto_ec_key * crypto_ec_key_parse_pub(const u8 *der, size_t der_len);
1044 struct crypto_ec_key * crypto_ec_key_set_pub(int group, const u8 *x,
1053 struct crypto_ec_key *
1062 struct crypto_ec_key * crypto_ec_key_gen(int group);
1068 void crypto_ec_key_deinit(struct crypto_ec_key *key);
1076 struct wpabuf * crypto_ec_key_get_subject_public_key(struct crypto_ec_key *key);
[all …]
Dcrypto_wolfssl.c2077 struct crypto_ec_key { struct
2153 struct crypto_ecdh * crypto_ecdh_init2(int group, struct crypto_ec_key *own_key) in crypto_ecdh_init2()
2295 static struct crypto_ec_key * crypto_ec_key_init(void) in crypto_ec_key_init()
2297 struct crypto_ec_key *key; in crypto_ec_key_init()
2299 key = os_zalloc(sizeof(struct crypto_ec_key)); in crypto_ec_key_init()
2315 void crypto_ec_key_deinit(struct crypto_ec_key *key) in crypto_ec_key_deinit()
2325 static WC_RNG * crypto_ec_key_init_rng(struct crypto_ec_key *key) in crypto_ec_key_init_rng()
2337 struct crypto_ec_key * crypto_ec_key_parse_priv(const u8 *der, size_t der_len) in crypto_ec_key_parse_priv()
2339 struct crypto_ec_key *ret; in crypto_ec_key_parse_priv()
2363 int crypto_ec_key_group(struct crypto_ec_key *key) in crypto_ec_key_group()
[all …]
Dcrypto_openssl.c2721 struct crypto_ecdh * crypto_ecdh_init2(int group, struct crypto_ec_key *own_key) in crypto_ecdh_init2()
3008 struct crypto_ec_key * crypto_ec_key_parse_priv(const u8 *der, size_t der_len) in crypto_ec_key_parse_priv()
3030 return (struct crypto_ec_key *) pkey; in crypto_ec_key_parse_priv()
3032 crypto_ec_key_deinit((struct crypto_ec_key *) pkey); in crypto_ec_key_parse_priv()
3052 return (struct crypto_ec_key *) pkey; in crypto_ec_key_parse_priv()
3054 crypto_ec_key_deinit((struct crypto_ec_key *) pkey); in crypto_ec_key_parse_priv()
3060 struct crypto_ec_key * crypto_ec_key_set_priv(int group, in crypto_ec_key_set_priv()
3130 return (struct crypto_ec_key *) pkey; in crypto_ec_key_set_priv()
3184 return (struct crypto_ec_key *) pkey; in crypto_ec_key_set_priv()
3195 struct crypto_ec_key * crypto_ec_key_parse_pub(const u8 *der, size_t der_len) in crypto_ec_key_parse_pub()
[all …]
Dcrypto_mbedtls_alt.c1797 …bedtls_keypair_gen(group, &pk) == 0 ? crypto_ecdh_init2(group, (struct crypto_ec_key *)&pk) : NULL; in crypto_ecdh_init()
1802 struct crypto_ecdh *crypto_ecdh_init2(int group, struct crypto_ec_key *own_key) in crypto_ecdh_init2()
2377 struct crypto_ec_key *crypto_ec_key_parse_priv(const u8 *der, size_t der_len) in crypto_ec_key_parse_priv()
2388 return (struct crypto_ec_key *)ctx; in crypto_ec_key_parse_priv()
2505 struct crypto_ec_key *crypto_ec_key_parse_pub(const u8 *der, size_t der_len) in crypto_ec_key_parse_pub()
2514 return (struct crypto_ec_key *)ctx; in crypto_ec_key_parse_pub()
2521 return (struct crypto_ec_key *)ctx; in crypto_ec_key_parse_pub()
2530 static struct crypto_ec_key *crypto_ec_key_set_pub_point_for_group(mbedtls_ecp_group_id grp_id, in crypto_ec_key_set_pub_point_for_group()
2557 return (struct crypto_ec_key *)ctx; in crypto_ec_key_set_pub_point_for_group()
2566 struct crypto_ec_key *crypto_ec_key_set_pub(int group, const u8 *x, const u8 *y, size_t len) in crypto_ec_key_set_pub()
[all …]
Dcrypto_module_tests.c2322 struct crypto_ec_key *own_priv = NULL, *peer_pub = NULL; in run_hpke_test()
/hostap-latest/hostapd/
Dsae_pk_gen.c21 struct crypto_ec_key *key = NULL; in main()
/hostap-latest/src/ap/
Ddpp_hostapd.c2790 struct crypto_ec_key *own_key; in hostapd_dpp_rx_priv_peer_intro_update()