Searched refs:PUB_KEY_SIZE (Results 1 – 5 of 5) sorted by relevance
/Zephyr-Core-3.4.0/subsys/bluetooth/mesh/ |
D | crypto_psa.c | 24 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()
|
D | provisioner.c | 405 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
|
D | crypto_tc.c | 33 uint8_t public_key_be[PUB_KEY_SIZE];
|
D | prov.h | 74 #define PUB_KEY_SIZE PDU_LEN_PUB_KEY macro
|
D | prov_device.c | 302 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()
|