/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/ |
D | crypto.h | 61 static inline int bt_mesh_id_resolving_key(const uint8_t net_key[16], in bt_mesh_id_resolving_key() 64 return bt_mesh_k1_str(net_key, 16, "smbt", "smbi", resolving_key); in bt_mesh_id_resolving_key() 67 static inline int bt_mesh_identity_key(const uint8_t net_key[16], in bt_mesh_identity_key() 70 return bt_mesh_id128(net_key, "nkik", identity_key); in bt_mesh_identity_key() 73 static inline int bt_mesh_beacon_key(const uint8_t net_key[16], in bt_mesh_beacon_key() 76 return bt_mesh_id128(net_key, "nkbk", beacon_key); in bt_mesh_beacon_key()
|
D | local_operation.c | 161 int bt_mesh_node_local_net_key_add(uint16_t net_idx, const uint8_t net_key[16]) in bt_mesh_node_local_net_key_add() 167 if (net_idx > 0xFFF || net_key == NULL) { in bt_mesh_node_local_net_key_add() 186 memcmp(bt_mesh.sub[i].keys[0].net, net_key, 16) == 0) || in bt_mesh_node_local_net_key_add() 188 memcmp(bt_mesh.sub[i].keys[1].net, net_key, 16) == 0)) { in bt_mesh_node_local_net_key_add() 189 BT_WARN("Key value %s already exists", bt_hex(net_key, 16)); in bt_mesh_node_local_net_key_add() 207 err = bt_mesh_net_keys_create(&sub->keys[0], net_key); in bt_mesh_node_local_net_key_add()
|
D | test.h | 22 uint8_t net_key[16]; member
|
D | fast_prov.h | 24 uint8_t bt_mesh_fast_prov_net_key_add(const uint8_t net_key[16]);
|
D | provisioner_main.h | 110 int bt_mesh_provisioner_local_net_key_add(const uint8_t net_key[16], uint16_t *net_idx); 112 int bt_mesh_provisioner_local_net_key_update(const uint8_t net_key[16], uint16_t net_idx);
|
D | fast_prov.c | 99 uint8_t bt_mesh_fast_prov_net_key_add(const uint8_t net_key[16]) in bt_mesh_fast_prov_net_key_add() 107 err = bt_mesh_provisioner_local_net_key_add(net_key, &net_idx); in bt_mesh_fast_prov_net_key_add()
|
D | prov.h | 35 void bt_mesh_prov_complete(uint16_t net_idx, const uint8_t net_key[16],
|
D | provisioner_main.c | 879 static int provisioner_check_net_key(const uint8_t net_key[16], uint16_t *net_idx) in provisioner_check_net_key() 884 if (!net_key) { in provisioner_check_net_key() 891 if (sub && (!memcmp(sub->keys[0].net, net_key, 16) || in provisioner_check_net_key() 892 !memcmp(sub->keys[1].net, net_key, 16))) { in provisioner_check_net_key() 1215 int bt_mesh_provisioner_local_net_key_add(const uint8_t net_key[16], uint16_t *net_idx) in bt_mesh_provisioner_local_net_key_add() 1232 if (provisioner_check_net_key(net_key, net_idx)) { in bt_mesh_provisioner_local_net_key_add() 1249 if (!net_key) { in bt_mesh_provisioner_local_net_key_add() 1255 memcpy(p_key, net_key, 16); in bt_mesh_provisioner_local_net_key_add() 1303 int bt_mesh_provisioner_local_net_key_update(const uint8_t net_key[16], uint16_t net_idx) in bt_mesh_provisioner_local_net_key_update() 1308 if (net_key == NULL) { in bt_mesh_provisioner_local_net_key_update() [all …]
|
D | local_operation.h | 29 int bt_mesh_node_local_net_key_add(uint16_t net_idx, const uint8_t net_key[16]);
|
D | test.c | 49 err = bt_mesh_provision(info->net_key, info->net_idx, info->flags, info->iv_index, in bt_mesh_device_auto_enter_network()
|
D | main.c | 38 int bt_mesh_provision(const uint8_t net_key[16], uint16_t net_idx, in bt_mesh_provision() 64 err = bt_mesh_net_create(net_idx, flags, net_key, iv_index); in bt_mesh_provision()
|
D | cfg_cli.c | 775 uint16_t net_idx, const uint8_t net_key[16]) in bt_mesh_cfg_net_key_add() 779 if (!net_key) { in bt_mesh_cfg_net_key_add() 786 net_buf_simple_add_mem(&msg, net_key, 16); in bt_mesh_cfg_net_key_add() 1079 uint16_t net_idx, const uint8_t net_key[16]) in bt_mesh_cfg_net_key_update() 1083 if (!net_key) { in bt_mesh_cfg_net_key_update() 1090 net_buf_simple_add_mem(&msg, net_key, 16); in bt_mesh_cfg_net_key_update()
|
D | net.h | 398 int friend_cred_set(struct friend_cred *cred, uint8_t idx, const uint8_t net_key[16]);
|
D | net.c | 215 int friend_cred_set(struct friend_cred *cred, uint8_t idx, const uint8_t net_key[16]) in friend_cred_set() 244 err = bt_mesh_k2(net_key, p, sizeof(p), &cred->cred[idx].nid, in friend_cred_set() 1600 const uint8_t *net_key = bt_mesh.sub[0].keys[flags].net; in bt_mesh_net_start() local 1605 bt_mesh_prov_complete(net_idx, net_key, addr, flags, iv_index); in bt_mesh_net_start()
|
/hal_espressif-latest/components/bt/esp_ble_mesh/api/core/ |
D | esp_ble_mesh_local_data_operation_api.c | 137 esp_err_t esp_ble_mesh_node_add_local_net_key(const uint8_t net_key[16], uint16_t net_idx) in esp_ble_mesh_node_add_local_net_key() 142 if (net_key == NULL || net_idx > 0xFFF) { in esp_ble_mesh_node_add_local_net_key() 153 memcpy(arg.node_add_local_net_key.net_key, net_key, 16); in esp_ble_mesh_node_add_local_net_key()
|
D | esp_ble_mesh_networking_api.c | 473 esp_err_t esp_ble_mesh_provisioner_add_local_net_key(const uint8_t net_key[16], uint16_t net_idx) in esp_ble_mesh_provisioner_add_local_net_key() 489 if (net_key) { in esp_ble_mesh_provisioner_add_local_net_key() 490 memcpy(arg.add_local_net_key.net_key, net_key, 16); in esp_ble_mesh_provisioner_add_local_net_key() 492 bzero(arg.add_local_net_key.net_key, 16); in esp_ble_mesh_provisioner_add_local_net_key() 498 esp_err_t esp_ble_mesh_provisioner_update_local_net_key(const uint8_t net_key[16], uint16_t net_idx) in esp_ble_mesh_provisioner_update_local_net_key() 503 if (net_key == NULL) { in esp_ble_mesh_provisioner_update_local_net_key() 513 memcpy(arg.update_local_net_key.net_key, net_key, 16); in esp_ble_mesh_provisioner_update_local_net_key()
|
/hal_espressif-latest/components/bt/esp_ble_mesh/api/core/include/ |
D | esp_ble_mesh_networking_api.h | 385 esp_err_t esp_ble_mesh_provisioner_add_local_net_key(const uint8_t net_key[16], uint16_t net_idx); 396 esp_err_t esp_ble_mesh_provisioner_update_local_net_key(const uint8_t net_key[16], uint16_t net_idx…
|
D | esp_ble_mesh_local_data_operation_api.h | 168 esp_err_t esp_ble_mesh_node_add_local_net_key(const uint8_t net_key[16], uint16_t net_idx);
|
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/include/ |
D | cfg_srv.h | 151 uint8_t net_key[16]; member 155 uint8_t net_key[16]; member
|
D | mesh_main.h | 179 …void (*complete)(uint16_t net_idx, const uint8_t net_key[16], uint16_t addr, uint8_t flags,… 530 int bt_mesh_provision(const uint8_t net_key[16], uint16_t net_idx,
|
D | cfg_cli.h | 62 uint16_t net_idx, const uint8_t net_key[16]); 269 uint16_t net_idx, const uint8_t net_key[16]);
|
/hal_espressif-latest/components/bt/esp_ble_mesh/btc/include/ |
D | btc_ble_mesh_prov.h | 117 uint8_t net_key[16]; member 202 uint8_t net_key[16]; member 206 uint8_t net_key[16]; member
|
/hal_espressif-latest/components/bt/esp_ble_mesh/api/models/include/ |
D | esp_ble_mesh_config_model_api.h | 170 uint8_t net_key[16]; /*!< The network key value */ member 272 uint8_t net_key[16]; /*!< The network key value */ member 644 uint8_t net_key[16]; /*!< NetKey */ member 650 uint8_t net_key[16]; /*!< NetKey */ member
|
/hal_espressif-latest/components/bt/esp_ble_mesh/btc/ |
D | btc_ble_mesh_prov.c | 638 static void btc_ble_mesh_complete_cb(uint16_t net_idx, const uint8_t net_key[16], in btc_ble_mesh_complete_cb() 646 memcpy(mesh_param.node_prov_complete.net_key, net_key, 16); in btc_ble_mesh_complete_cb() 1875 arg->node_add_local_net_key.net_key); in btc_ble_mesh_prov_call_handler() 2059 const uint8_t *net_key = NULL; in btc_ble_mesh_prov_call_handler() local 2061 if (memcmp(arg->add_local_net_key.net_key, zero, 16)) { in btc_ble_mesh_prov_call_handler() 2062 net_key = arg->add_local_net_key.net_key; in btc_ble_mesh_prov_call_handler() 2066 bt_mesh_provisioner_local_net_key_add(net_key, &arg->add_local_net_key.net_idx); in btc_ble_mesh_prov_call_handler() 2074 bt_mesh_provisioner_local_net_key_update(arg->update_local_net_key.net_key, in btc_ble_mesh_prov_call_handler()
|
D | btc_ble_mesh_config_model.c | 507 &set->net_key_add.net_key[0]); in btc_ble_mesh_config_client_set_state() 585 set->net_key_update.net_key); in btc_ble_mesh_config_client_set_state()
|