Home
last modified time | relevance | path

Searched refs:DEVICE_EL1_DIR (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/libfscrypt/src/
H A Dfscrypt_control.c84 static const char *DEVICE_EL1_DIR = "/data/service/el0/storage_daemon/sd"; variable
490 return LoadAndSetPolicy(DEVICE_EL1_DIR, dir); in SetGlobalEl1DirPolicy()
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/include/crypto/
H A Dkey_blob.h58 const std::string DEVICE_EL1_DIR = STORAGE_DAEMON_DIR + "/sd"; variable
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/
H A Dkey_manager.cpp173 …if (std::filesystem::exists(DEVICE_EL1_DIR, errCode) && !std::filesystem::is_empty(DEVICE_EL1_DIR)… in InitGlobalDeviceKey()
174 UpgradeKeys({{0, DEVICE_EL1_DIR}}); in InitGlobalDeviceKey()
175 return RestoreDeviceKey(DEVICE_EL1_DIR); in InitGlobalDeviceKey()
177 ret = MkDir(DEVICE_EL1_DIR, S_IRWXU); in InitGlobalDeviceKey()
181 "errno = " + std::to_string(errno) + ", path = " + DEVICE_EL1_DIR); in InitGlobalDeviceKey()
185 return GenerateAndInstallDeviceKey(DEVICE_EL1_DIR); in InitGlobalDeviceKey()
H A Dkey_backup.cpp165 if (origDir == DEVICE_EL1_DIR) { in GetBackupDir()
166 backupDir = DEVICE_EL1_DIR + BACKUP_NAME; in GetBackupDir()