Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/bluetooth/mesh/
Dcrypto.c629 const uint8_t *conf_salt, uint8_t *conf_key) in bt_mesh_prov_conf_key() argument
634 return bt_mesh_k5(k_input, 64, conf_salt, "prck256", conf_key); in bt_mesh_prov_conf_key()
640 return bt_mesh_k1(k_input, 32, conf_salt, "prck", conf_key); in bt_mesh_prov_conf_key()
646 int bt_mesh_prov_conf(uint8_t algorithm, const uint8_t *conf_key, in bt_mesh_prov_conf() argument
651 LOG_DBG("ConfirmationKey %s", bt_hex(conf_key, auth_size)); in bt_mesh_prov_conf()
658 return bt_mesh_sha256_hmac_one_raw_key(conf_key, prov_rand, 32, conf); in bt_mesh_prov_conf()
665 return bt_mesh_aes_cmac_raw_key(conf_key, sg, ARRAY_SIZE(sg), conf); in bt_mesh_prov_conf()
Dcrypto.h134 uint8_t *conf_key);
136 int bt_mesh_prov_conf(uint8_t algorithm, const uint8_t *conf_key, const uint8_t *prov_rand,
Dprovisionee.c237 bt_mesh_prov_link.conf_salt, bt_mesh_prov_link.conf_key)) { in send_confirm()
243 LOG_DBG("ConfirmationKey: %s", bt_hex(bt_mesh_prov_link.conf_key, auth_size)); in send_confirm()
255 if (bt_mesh_prov_conf(bt_mesh_prov_link.algorithm, bt_mesh_prov_link.conf_key, in send_confirm()
432 if (bt_mesh_prov_conf(bt_mesh_prov_link.algorithm, bt_mesh_prov_link.conf_key, in prov_random()
Dprov.h140 uint8_t conf_key[PROV_AUTH_MAX_LEN]; /* ConfirmationKey */ member
Dprovisioner.c343 bt_mesh_prov_link.conf_salt, bt_mesh_prov_link.conf_key)) { in send_confirm()
349 LOG_DBG("ConfirmationKey: %s", bt_hex(bt_mesh_prov_link.conf_key, auth_size)); in send_confirm()
361 if (bt_mesh_prov_conf(bt_mesh_prov_link.algorithm, bt_mesh_prov_link.conf_key, in send_confirm()
641 if (bt_mesh_prov_conf(bt_mesh_prov_link.algorithm, bt_mesh_prov_link.conf_key, in prov_random()