Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/subsys/bluetooth/mesh/
Dcrypto.h91 int bt_mesh_session_key(const uint8_t dhkey[32], const uint8_t prov_salt[16],
94 int bt_mesh_prov_nonce(const uint8_t dhkey[32], const uint8_t prov_salt[16], uint8_t nonce[13]);
96 int bt_mesh_dev_key(const uint8_t dhkey[32], const uint8_t prov_salt[16], uint8_t dev_key[16]);
99 const uint8_t *dev_rand, uint8_t *prov_salt);
Dcrypto.c247 int bt_mesh_prov_nonce(const uint8_t dhkey[32], const uint8_t prov_salt[16], uint8_t nonce[13]) in bt_mesh_prov_nonce()
252 err = bt_mesh_k1(dhkey, 32, prov_salt, "prsn", tmp); in bt_mesh_prov_nonce()
260 int bt_mesh_session_key(const uint8_t dhkey[32], const uint8_t prov_salt[16], in bt_mesh_session_key()
266 err = bt_mesh_k1(dhkey, 32, prov_salt, "prsk", raw_key); in bt_mesh_session_key()
276 int bt_mesh_dev_key(const uint8_t dhkey[32], const uint8_t prov_salt[16], uint8_t dev_key[16]) in bt_mesh_dev_key()
280 err = bt_mesh_k1(dhkey, 32, prov_salt, "prdk", dev_key); in bt_mesh_dev_key()
597 uint8_t *prov_salt) in bt_mesh_prov_salt() argument
607 return bt_mesh_aes_cmac_raw_key(prov_salt_key, sg, ARRAY_SIZE(sg), prov_salt); in bt_mesh_prov_salt()
Dprovisionee.c448 data, bt_mesh_prov_link.rand, bt_mesh_prov_link.prov_salt)) { in prov_random()
454 LOG_DBG("ProvisioningSalt: %s", bt_hex(bt_mesh_prov_link.prov_salt, 16)); in prov_random()
525 bt_mesh_prov_link.prov_salt, &session_key); in prov_data()
533 bt_mesh_prov_link.prov_salt, nonce); in prov_data()
550 bt_mesh_prov_link.prov_salt, dev_key); in prov_data()
Dprovisioner.c502 bt_mesh_prov_link.prov_salt, &session_key); in send_prov_data()
510 bt_mesh_prov_link.prov_salt, nonce); in send_prov_data()
520 bt_mesh_prov_link.prov_salt, provisionee.new_dev_key); in send_prov_data()
659 bt_mesh_prov_link.rand, data, bt_mesh_prov_link.prov_salt)) { in prov_random()
665 LOG_DBG("ProvisioningSalt: %s", bt_hex(bt_mesh_prov_link.prov_salt, 16)); in prov_random()
911 bt_mesh_prov_link.prov_salt, provisionee.new_dev_key); in reprovision_local_client_server()
Dprov.h149 uint8_t prov_salt[16]; /* Provisioning Salt */ member