Home
last modified time | relevance | path

Searched refs:beacon_key (Results 1 – 3 of 3) sorted by relevance

/Zephyr-Core-3.5.0/subsys/bluetooth/mesh/
Dcrypto.h72 static inline int bt_mesh_beacon_key(const uint8_t net_key[16], struct bt_mesh_key *beacon_key) in bt_mesh_beacon_key() argument
74 return bt_mesh_id128(net_key, "nkbk", BT_MESH_KEY_TYPE_CMAC, beacon_key); in bt_mesh_beacon_key()
83 int bt_mesh_beacon_auth(const struct bt_mesh_key *beacon_key, uint8_t flags,
Dcrypto.c691 int bt_mesh_beacon_auth(const struct bt_mesh_key *beacon_key, uint8_t flags, in bt_mesh_beacon_auth() argument
697 LOG_DBG("BeaconKey %s", bt_hex(beacon_key, sizeof(struct bt_mesh_key))); in bt_mesh_beacon_auth()
707 err = bt_mesh_aes_cmac_one_mesh_key(beacon_key, msg, sizeof(msg), tmp); in bt_mesh_beacon_auth()
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/mesh/src/
Dtest_beacon.c448 struct bt_mesh_key beacon_key; in beacon_create() local
458 err = bt_mesh_beacon_key(net_key, &beacon_key); in beacon_create()
463 err = bt_mesh_beacon_auth(&beacon_key, flags, net_id, iv_index, auth); in beacon_create()
468 err = bt_mesh_key_destroy(&beacon_key); in beacon_create()