Searched refs:app_key (Results 1 – 8 of 8) sorted by relevance
/subsys/bluetooth/mesh/ |
A D | app_keys.c | 50 struct app_key { struct 96 const struct app_key *app; in store_app_key() 188 struct app_key *app = NULL; in app_key_alloc() 242 struct app_key *app; in bt_mesh_app_key_add() 294 struct app_key *app; in bt_mesh_app_key_update() 354 struct app_key *app; in bt_mesh_app_key_del() 402 struct app_key *app; in bt_mesh_app_key_set() 476 struct app_key *app = NULL; in bt_mesh_keys_resolve() 503 *app_key = &node->dev_key; in bt_mesh_keys_resolve() 505 *app_key = &bt_mesh.dev_key; in bt_mesh_keys_resolve() [all …]
|
A D | cdb.c | 36 app_key:1, /* 1 if this is an AppKey, 0 if a NetKey */ member 391 bt_mesh_key_assign(&app->keys[0].app_key, &tmp[0]); in cdb_app_key_set() 392 bt_mesh_key_assign(&app->keys[1].app_key, &tmp[1]); in cdb_app_key_set() 640 if (update->app_key != app_key) { in cdb_key_update_find() 678 free_slot->app_key = 0U; in update_cdb_subnet_settings() 711 free_slot->app_key = 1U; in update_cdb_app_key_settings() 1066 bt_mesh_key_destroy(&key->keys[0].app_key); in bt_mesh_cdb_app_key_del() 1067 bt_mesh_key_destroy(&key->keys[1].app_key); in bt_mesh_cdb_app_key_del() 1100 bt_mesh_key_destroy(&key->keys[key_idx].app_key); in bt_mesh_cdb_app_key_import() 1188 if (update->app_key) { in store_cdb_pending_keys() [all …]
|
A D | app_keys.h | 44 const struct bt_mesh_key **app_key, uint8_t *aid);
|
A D | crypto.h | 86 static inline int bt_mesh_app_id(const uint8_t app_key[16], uint8_t app_id[1]) in bt_mesh_app_id() 88 return bt_mesh_k4(app_key, app_id); in bt_mesh_app_id()
|
A D | cfg_cli.c | 1408 uint16_t key_app_idx, const uint8_t app_key[16], uint8_t *status) in bt_mesh_cfg_cli_app_key_add() 1426 net_buf_simple_add_mem(&msg, app_key, 16); in bt_mesh_cfg_cli_app_key_add() 1432 uint16_t key_app_idx, const uint8_t app_key[16], uint8_t *status) in bt_mesh_cfg_cli_app_key_update() 1450 net_buf_simple_add_mem(&msg, app_key, 16); in bt_mesh_cfg_cli_app_key_update()
|
/subsys/bluetooth/mesh/shell/ |
A D | shell.c | 1265 uint8_t app_key[16]; in cdb_print_app_keys() local 1275 if (bt_mesh_cdb_app_key_export(key, 0, app_key)) { in cdb_print_app_keys() 1281 bin2hex(app_key, 16, key_hex_str, sizeof(key_hex_str)); in cdb_print_app_keys() 1458 uint8_t app_key[16]; in cmd_cdb_app_key_add() local 1470 bt_rand(app_key, 16); in cmd_cdb_app_key_add() 1472 len = hex2bin(argv[3], strlen(argv[3]), app_key, in cmd_cdb_app_key_add() 1473 sizeof(app_key)); in cmd_cdb_app_key_add() 1474 memset(app_key + len, 0, sizeof(app_key) - len); in cmd_cdb_app_key_add() 1483 if (bt_mesh_cdb_app_key_import(key, 0, app_key)) { in cmd_cdb_app_key_add()
|
A D | cfg.c | 723 struct bt_mesh_cdb_app_key *app_key; in cmd_app_key_add() local 725 app_key = bt_mesh_cdb_app_key_get(key_app_idx); in cmd_app_key_add() 726 if (app_key) { in cmd_app_key_add() 732 if (bt_mesh_cdb_app_key_export(app_key, 0, key_val)) { in cmd_app_key_add() 738 app_key = bt_mesh_cdb_app_key_alloc(key_net_idx, key_app_idx); in cmd_app_key_add() 739 if (!app_key) { in cmd_app_key_add() 744 if (bt_mesh_cdb_app_key_import(app_key, 0, key_val)) { in cmd_app_key_add() 749 bt_mesh_cdb_app_key_store(app_key); in cmd_app_key_add()
|
/subsys/lorawan/ |
A D | lorawan.c | 275 mib_req.Param.AppKey = join_cfg->otaa.app_key; in lorawan_join_otaa()
|
Completed in 28 milliseconds