Home
last modified time | relevance | path

Searched refs:db (Results 1 – 11 of 11) sorted by relevance

/base/update/updateservice/services/firmware/
Dfirmware.gni35 "$firmware_root_path/data/db/include",
84 "$firmware_root_path/data/db/src/firmware_component_operator.cpp",
85 "$firmware_root_path/data/db/src/firmware_component_table.cpp",
86 "$firmware_root_path/data/db/src/firmware_database.cpp",
87 "$firmware_root_path/data/db/src/firmware_database_callback.cpp",
88 "$firmware_root_path/data/db/src/firmware_task_operator.cpp",
89 "$firmware_root_path/data/db/src/firmware_task_table.cpp",
93 "$firmware_root_path/data/db/src/firmware_component_operator_empty.cpp",
94 "$firmware_root_path/data/db/src/firmware_component_table_empty.cpp",
95 "$firmware_root_path/data/db/src/firmware_database_empty.cpp",
[all …]
/base/startup/hvb/libhvb/src/crypto/
Dhvb_rsa_verify.c181 static int emsa_pss_verify_check_db(uint8_t *db, uint32_t db_len, in emsa_pss_verify_check_db() argument
188 if (db[i] != PADDING_UNIT_ZERO) { in emsa_pss_verify_check_db()
193 if (db[db_len - saltlen - PSS_DB_PADDING_LEN] != PADDING_UNIT_ONE) { in emsa_pss_verify_check_db()
213 uint8_t *db = NULL; in emsa_pss_verify() local
240 db = (uint8_t *)hvb_malloc(db_len); /* db is dbmask */ in emsa_pss_verify()
241 if (!db) { in emsa_pss_verify()
244 ret = rsa_gen_mask_mgf_v1(hash, digestlen, db, db_len); in emsa_pss_verify()
250 db[i] = maskedb[i] ^ db[i]; in emsa_pss_verify()
254 db[0] &= PSS_LEFTMOST_BIT_MASK >> masklen; in emsa_pss_verify()
257 ret = emsa_pss_verify_check_db(db, db_len, emlen, digestlen, saltlen); in emsa_pss_verify()
[all …]
/base/security/access_token/services/common/database/src/
Dstatement.cpp27 Statement::Statement(sqlite3* db, const std::string& sql) : db_(db), sql_(sql) in Statement() argument
29 if (sqlite3_prepare_v2(db, sql.c_str(), sql.size(), &statement_, nullptr) != SQLITE_OK) { in Statement()
/base/security/device_auth/services/data_manager/src/
Ddata_manager.c357 static bool LoadGroups(HCDataBaseV1 *db, GroupEntryVec *vec) in LoadGroups() argument
361 FOR_EACH_HC_VECTOR(db->groups.data, index, group) { in LoadGroups()
383 static bool LoadDevices(HCDataBaseV1 *db, DeviceEntryVec *vec) in LoadDevices() argument
387 FOR_EACH_HC_VECTOR(db->devices.data, index, device) { in LoadDevices()
584 static bool SaveGroups(const GroupEntryVec *vec, HCDataBaseV1 *db) in SaveGroups() argument
590 TlvGroupElement *element = db->groups.data.pushBack(&db->groups.data, &tmp); in SaveGroups()
603 static bool SaveDevices(const DeviceEntryVec *vec, HCDataBaseV1 *db) in SaveDevices() argument
609 TlvDeviceElement *element = db->devices.data.pushBack(&db->devices.data, &tmp); in SaveDevices()
1228 static void DumpDb(int fd, const OsAccountTrustedInfo *db) in DumpDb() argument
1230 const GroupEntryVec *groups = &db->groups; in DumpDb()
[all …]
/base/security/access_token/services/common/database/include/
Dstatement.h32 Statement(sqlite3* db, const std::string& sql);
/base/hiviewdfx/hiview/plugins/freeze_detector/test/unittest/common/
Dfreeze_detector_unittest.cpp653 auto db = std::make_unique<DBHelper>(freezeCommon); variable
654 ASSERT_NE(db, nullptr);
674 db->SelectEventFromDB(start, end, list, watchPoint.GetPackageName(), result);
686 auto db = std::make_unique<DBHelper>(freezeCommon); variable
687 ASSERT_NE(db, nullptr);
707 db->SelectEventFromDB(start, end, list, watchPoint.GetPackageName(), result);
/base/security/selinux_adapter/sepolicy/ohos_policy/distributedhardware/distributed_hardware_fwk/system/
Ddhardware.te111 #avc: denied { remove_name } for pid=2403 comm="dhardware" name="gen_natural_store.db-journal" d…
116 #avc: denied { read } for pid=2451 comm="dhardware" path="/data/xxx/gen_natural_store.db" dev="m…
117 #avc: denied { getattr } for pid=2812 comm="dhardware" path="/data/xxx/gen_natural_store.db" dev…
118 #avc: denied { ioctl } for pid=2593 comm="dhardware" path="/data/xxx/gen_natural_store.db" dev="…
119 #avc: denied { lock } for pid=2593 comm="dhardware" path="/data/xxx/gen_natural_store.db" dev="m…
120 #avc: denied { unlink } for pid=2403 comm="dhardware" name="gen_natural_store.db-journal" dev="m…
121 #avc: denied { map } for pid=2403 comm="dhardware" path="/data/xxx//main/gen_natural_store.db-sh…
122 #avc: denied { setattr } for pid=2455 comm="dhardware" name="gen_natural_store.db" dev="mmcblk0p…
/base/security/selinux_adapter/sepolicy/ohos_policy/customization/enterprise_device_management/system/
Dedm_sa.te30 …} for pid=3779 comm="IPC_6_3929" path="/data/service/el1/public/edm/edmdb.db-shm" dev="mmcblk0p12…
31 # avc: denied { map } for pid=398 comm="edm" path="/data/service/el1/public/edm/edmdb.db-shm" de…
157 # avc: denied { ioctl } for pid=398 comm="edm" path="/data/service/el1/public/edm/edmdb.db" dev=…
/base/security/selinux_adapter/sepolicy/ohos_policy/miscservices/download_server/system/
Ddownload_server.te71 … comm="IPC_2_1581" path="/data/service/el1/public/database/request/request.db" dev="mmcblk0p14" in…
73 #avc: denied { read write } for pid=1574 comm="IPC_2_1581" name="request.db" dev="mmcblk0p14" in…
77 … comm="IPC_2_1581" path="/data/service/el1/public/database/request/request.db" dev="mmcblk0p14" in…
/base/security/selinux_adapter/sepolicy/ohos_policy/ai/intelligent_voice_framework/system/
Dintell_voice_service.te103 # avc: denied { read } for pid=627 comm="SaOndemand" name="gen_natural_store.db" dev="sdd78" ino…
104 …b2db86909f3b069f186c3816d9961c290b5ba9a7/single_ver/main/gen_natural_store.db" dev="sdd78" ino=200…
105 # avc: denied { unlink } for pid=639 comm="SaOndemand" name="gen_natural_store.db" dev="sdd78" i…
106 …b2db86909f3b069f186c3816d9961c290b5ba9a7/single_ver/main/gen_natural_store.db" dev="sdd78" ino=259…
107 …b2db86909f3b069f186c3816d9961c290b5ba9a7/single_ver/main/gen_natural_store.db" dev="sdd78" ino=259…
108 …b2db86909f3b069f186c3816d9961c290b5ba9a7/single_ver/main/gen_natural_store.db-shm" dev="sdd78" ino…
109 # avc: denied { setattr } for pid=627 comm="SaOndemand" name="gen_natural_store.db" dev="sdd78" …
/base/security/selinux_adapter/sepolicy/ohos_policy/web/webview/system/
Dnormal_hap.te114 … pid=4361 comm="ThreadPoolForeg" path="/data/storage/el2/base/cache/cookie.db" dev="mmcblk0p11" in…
115 … pid=4361 comm="ThreadPoolForeg" path="/data/storage/el2/base/cache/cookie.db" dev="mmcblk0p11" in…