Home
last modified time | relevance | path

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

/Zephyr-Core-3.4.0/subsys/bluetooth/mesh/
Dcrypto_psa.c24 uint8_t public_key_be[PUB_KEY_SIZE + 1];
328 if (key_len != PUB_KEY_SIZE + 1) { in bt_mesh_pub_key_gen()
350 BUILD_ASSERT(PSA_KEY_EXPORT_ECC_PUBLIC_KEY_MAX_SIZE(256) == PUB_KEY_SIZE + 1,
357 uint8_t public_key_repr[PUB_KEY_SIZE + 1]; in bt_mesh_dhkey_gen()
389 memcpy(public_key_repr + 1, pub_key, PUB_KEY_SIZE); in bt_mesh_dhkey_gen()
393 PUB_KEY_SIZE + 1, dhkey, DH_KEY_SIZE, &dh_key_len); in bt_mesh_dhkey_gen()
Dprovisioner.c405 net_buf_simple_add_mem(&buf, key, PUB_KEY_SIZE); in send_pub_key()
406 LOG_DBG("Local Public Key: %s", bt_hex(buf.data + 1, PUB_KEY_SIZE)); in send_pub_key()
427 if (!memcmp(local_pk, remote_pk, PUB_KEY_SIZE)) { in prov_dh_key_gen()
456 LOG_DBG("Remote Public Key: %s", bt_hex(data, PUB_KEY_SIZE)); in prov_pub_key()
461 memcpy(bt_mesh_prov_link.conf_inputs.pub_key_device, data, PUB_KEY_SIZE); in prov_pub_key()
764 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
Dprov_device.c302 net_buf_simple_add_mem(&buf, key, PUB_KEY_SIZE); in send_pub_key()
303 LOG_DBG("Local Public Key: %s", bt_hex(buf.data + 1, PUB_KEY_SIZE)); in send_pub_key()
347 LOG_DBG("Remote Public Key: %s", bt_hex(data, PUB_KEY_SIZE)); in prov_pub_key()