Lines Matching refs:app_key
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()
531 memcpy(&key.val[0], &app->keys[0].app_key, sizeof(struct bt_mesh_key)); in store_cdb_app_key()
532 memcpy(&key.val[1], &app->keys[1].app_key, sizeof(struct bt_mesh_key)); in store_cdb_app_key()
623 static struct key_update *cdb_key_update_find(bool app_key, uint16_t key_idx, in cdb_key_update_find() argument
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()
1096 if (!bt_mesh_key_compare(in, &key->keys[key_idx].app_key)) { in bt_mesh_cdb_app_key_import()
1100 bt_mesh_key_destroy(&key->keys[key_idx].app_key); in bt_mesh_cdb_app_key_import()
1102 return bt_mesh_key_import(BT_MESH_KEY_TYPE_APP, in, &key->keys[key_idx].app_key); in bt_mesh_cdb_app_key_import()
1107 return bt_mesh_key_export(out, &key->keys[key_idx].app_key); in bt_mesh_cdb_app_key_export()
1188 if (update->app_key) { in store_cdb_pending_keys()
1194 if (update->app_key) { in store_cdb_pending_keys()