/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/ |
H A D | fscrypt_key_v1.cpp | 227 bool FscryptKeyV1::DoDecryptClassE(const UserAuth &auth, KeyBlob &eSecretFBE, KeyBlob &decryptedKey, in DoDecryptClassE() argument 234 …eyBackup::GetInstance().TryRestoreUeceKey(shared_from_this(), auth, eSecretFBE, decryptedKey) == 0; in DoDecryptClassE() 237 if (DecryptKeyBlob(auth, candidate, eSecretFBE, decryptedKey)) { in DoDecryptClassE() 258 if (DecryptKeyBlob(auth, dir_ + "/" + it, eSecretFBE, decryptedKey)) { in DoDecryptClassE() 289 KeyBlob decryptedKey(AES_256_HASH_RANDOM_SIZE); in DecryptClassE() local 290 if (!DoDecryptClassE(auth, eSecretFBE, decryptedKey, needSyncCandidate) != 0) { in DecryptClassE() 297 if (!fscryptV1Ext.WriteClassE(USER_UNLOCK, decryptedKey.data.get(), decryptedKey.size)) { in DecryptClassE() 301 decryptedKey.Clear(); in DecryptClassE()
|
H A D | key_backup.cpp | 137 KeyBlob &decryptedKey) in TryRestoreUeceKey() argument 146 if (baseKey->DecryptKeyBlob(auth, keyDir + PATH_LATEST, planKey, decryptedKey)) { in TryRestoreUeceKey() 152 if (baseKey->DecryptKeyBlob(auth, backupDir + PATH_LATEST, planKey, decryptedKey)) { in TryRestoreUeceKey()
|
H A D | base_key.cpp | 925 KeyBlob &decryptedKey) in StoreKey() argument 952 decryptedKey = std::move(planKeyInfo.key); in StoreKey()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/executor/base/ |
H A D | grd_db_api.cpp | 65 GRD_API int32_t GRD_DBRestore(const char *dbFile, const char *backupDbFile, uint8_t *decryptedKey, in GRD_DBRestore() argument 75 return GRD_DBApiInfo.DBRestoreApi(dbFile, backupDbFile, decryptedKey, decryptedKeyLen); in GRD_DBRestore()
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/mock/ |
H A D | base_key_mock.cpp | 89 KeyBlob &decryptedKey) in DecryptKeyBlob() argument 94 return IBaseKeyMoc::baseKeyMoc->DecryptKeyBlob(auth, keyPath, planKey, decryptedKey); in DecryptKeyBlob()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/include/grd_base/ |
H A D | grd_db_api.h | 31 GRD_API int32_t GRD_DBRestore(const char *dbFile, const char *backupDbFile, uint8_t *decryptedKey,
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/include/crypto/ |
H A D | fscrypt_key_v1.h | 59 bool DoDecryptClassE(const UserAuth &auth, KeyBlob &eSecretFBE, KeyBlob &decryptedKey,
|
H A D | key_backup.h | 50 KeyBlob &decryptedKey);
|
H A D | base_key.h | 65 …KeyBlob(const UserAuth &auth, const std::string &keyPath, KeyBlob &planKey, KeyBlob &decryptedKey);
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/gaussdb_rd/ |
H A D | rd_utils.h | 50 int RdRestore(const char *dbFile, const char *backupDbFile, uint8_t *decryptedKey, uint32_t decrypt…
|
H A D | rd_utils.cpp | 156 int RdRestore(const char *dbFile, const char *backupDbFile, uint8_t *decryptedKey, uint32_t decrypt… in RdRestore() argument 158 return TransferGrdErrno(GRD_DBRestore(dbFile, backupDbFile, decryptedKey, decryptedKeyLen)); in RdRestore()
|
H A D | rd_single_ver_natural_store.cpp | 325 uint8_t *decryptedKey = const_cast<uint8_t*>(passwd.GetData()); in Import() local 352 errCode = RdRestore(storePath.c_str(), filePath.c_str(), decryptedKey, decryptedKeyLen); in Import()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/common/include/ |
H A D | grd_api_manager.h | 25 typedef int32_t (*DBRestore)(const char *dbFile, const char *backupDbFile, uint8_t *decryptedKey,
|