Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/bluetooth/mesh/
Dcrypto_psa.c46 uint8_t public_key_be[PUB_KEY_SIZE + 1];
271 if (key_len != PUB_KEY_SIZE + 1) { in bt_mesh_pub_key_gen()
293 BUILD_ASSERT(PSA_KEY_EXPORT_ECC_PUBLIC_KEY_MAX_SIZE(256) == PUB_KEY_SIZE + 1,
300 uint8_t public_key_repr[PUB_KEY_SIZE + 1]; in bt_mesh_dhkey_gen()
332 memcpy(public_key_repr + 1, pub_key, PUB_KEY_SIZE); in bt_mesh_dhkey_gen()
336 PUB_KEY_SIZE + 1, dhkey, DH_KEY_SIZE, &dh_key_len); in bt_mesh_dhkey_gen()
Dprovisioner.c403 net_buf_simple_add_mem(&buf, key, PUB_KEY_SIZE); in send_pub_key()
404 LOG_DBG("Local Public Key: %s", bt_hex(buf.data + 1, PUB_KEY_SIZE)); in send_pub_key()
425 if (!memcmp(local_pk, remote_pk, PUB_KEY_SIZE)) { in prov_dh_key_gen()
461 LOG_DBG("Remote Public Key: %s", bt_hex(data, PUB_KEY_SIZE)); in prov_pub_key()
466 memcpy(bt_mesh_prov_link.conf_inputs.pub_key_device, data, PUB_KEY_SIZE); in prov_pub_key()
784 int bt_mesh_prov_remote_pub_key_set(const uint8_t public_key[PUB_KEY_SIZE]) in bt_mesh_prov_remote_pub_key_set() argument
Dcrypto_tc.c33 uint8_t public_key_be[PUB_KEY_SIZE];
Dprov.h74 #define PUB_KEY_SIZE PDU_LEN_PUB_KEY macro
Dprovisionee.c316 net_buf_simple_add_mem(&buf, key, PUB_KEY_SIZE); in send_pub_key()
317 LOG_DBG("Local Public Key: %s", bt_hex(buf.data + 1, PUB_KEY_SIZE)); in send_pub_key()
368 LOG_DBG("Remote Public Key: %s", bt_hex(data, PUB_KEY_SIZE)); in prov_pub_key()