Home
last modified time | relevance | path

Searched refs:pbk (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/subsys/bluetooth/mesh/
Dcrypto.c715 static int private_beacon_obf(const struct bt_mesh_key *pbk, const uint8_t data[5], in private_beacon_obf() argument
727 err = bt_mesh_encrypt(pbk, salt, salt); in private_beacon_obf()
740 static int private_beacon_auth(const struct bt_mesh_key *pbk, in private_beacon_auth() argument
753 err = bt_mesh_encrypt(pbk, salt, tmp); in private_beacon_auth()
764 err = bt_mesh_encrypt(pbk, tmp, tmp); in private_beacon_auth()
776 err = bt_mesh_encrypt(pbk, salt, tmp); in private_beacon_auth()
789 int bt_mesh_beacon_decrypt(const struct bt_mesh_key *pbk, const uint8_t random[13], in bt_mesh_beacon_decrypt() argument
797 err = private_beacon_obf(pbk, data, random, out); in bt_mesh_beacon_decrypt()
802 err = private_beacon_auth(pbk, out, random, auth); in bt_mesh_beacon_decrypt()
818 int bt_mesh_beacon_encrypt(const struct bt_mesh_key *pbk, uint8_t flags, uint32_t iv_index, in bt_mesh_beacon_encrypt() argument
[all …]
Dcrypto.h151 int bt_mesh_beacon_decrypt(const struct bt_mesh_key *pbk, const uint8_t random[13],
154 int bt_mesh_beacon_encrypt(const struct bt_mesh_key *pbk, uint8_t flags, uint32_t iv_index,