Searched refs:dh_pair (Results 1 – 2 of 2) sorted by relevance
34 } dh_pair; variable113 int rc = uECC_make_key(dh_pair.public_key_be, in bt_mesh_pub_key_gen()114 dh_pair.private_key_be, in bt_mesh_pub_key_gen()118 dh_pair.is_ready = false; in bt_mesh_pub_key_gen()123 dh_pair.is_ready = true; in bt_mesh_pub_key_gen()130 return dh_pair.is_ready ? dh_pair.public_key_be : NULL; in bt_mesh_pub_key_get()139 dh_pair.private_key_be, in bt_mesh_dhkey_gen()
47 } dh_pair; variable245 psa_destroy_key(dh_pair.priv_key_id); in bt_mesh_pub_key_gen()246 dh_pair.is_ready = false; in bt_mesh_pub_key_gen()258 status = psa_generate_key(&key_attributes, &dh_pair.priv_key_id); in bt_mesh_pub_key_gen()264 status = psa_export_public_key(dh_pair.priv_key_id, dh_pair.public_key_be, in bt_mesh_pub_key_gen()265 sizeof(dh_pair.public_key_be), &key_len); in bt_mesh_pub_key_gen()276 dh_pair.is_ready = true; in bt_mesh_pub_key_gen()286 return dh_pair.is_ready ? dh_pair.public_key_be + 1 : NULL; in bt_mesh_pub_key_get()322 priv_key_id = dh_pair.priv_key_id; in bt_mesh_dhkey_gen()