/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/executor/base/ |
H A D | grd_db_api.cpp | 53 GRD_API int32_t GRD_DBBackup(GRD_DB *db, const char *backupDbFile, uint8_t *encryptedKey, uint32_t … in GRD_DBBackup() argument 62 return GRD_DBApiInfo.DBBackupApi(db, backupDbFile, encryptedKey, encryptedKeyLen); in GRD_DBBackup()
|
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/include/ |
H A D | rd_utils.h | 63 …static int RdDbBackup(GRD_DB *db, const char *backupDbFile, uint8_t *encryptedKey, uint32_t encryp… 64 …static int RdDbRestore(GRD_DB *db, const char *backupDbFile, uint8_t *encryptedKey, uint32_t encry…
|
H A D | grd_api_manager.h | 53 typedef int (*DBBackup) (GRD_DB *db, const char *backupDbFile, uint8_t *encryptedKey, uint32_t encr… 54 typedef int (*DBRestore) (GRD_DB *db, const char *backupDbFile, uint8_t *encryptedKey, uint32_t enc…
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/mock/ |
H A D | base_key_mock.cpp | 98 KeyBlob &encryptedKey) in EncryptKeyBlob() argument 103 return IBaseKeyMoc::baseKeyMoc->EncryptKeyBlob(auth, keyPath, planKey, encryptedKey); in EncryptKeyBlob()
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/ |
H A D | fscrypt_key_v1.cpp | 320 KeyBlob encryptedKey(AES_256_HASH_RANDOM_SIZE + GCM_MAC_BYTES + GCM_NONCE_BYTES); in EncryptClassE() local 321 if (!EncryptKeyBlob(auth, dir_ + PATH_LATEST, eSecretFBE, encryptedKey)) { in EncryptClassE() 332 if (!fscryptV1Ext.WriteClassE(status, encryptedKey.data.get(), encryptedKey.size)) { in EncryptClassE() 336 encryptedKey.Clear(); in EncryptClassE()
|
H A D | base_key.cpp | 892 KeyBlob &encryptedKey) in StoreKey() argument 917 CombKeyBlob(keyCtx.rndEnc, keyCtx.nonce, encryptedKey); in StoreKey()
|
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | rdb_security_manager.cpp | 302 std::vector<uint8_t> encryptedKey(plainKey.size * TIMES + 1); in EncryptWorkKey() local 303 struct HksBlob cipherText = { uint32_t(encryptedKey.size()), encryptedKey.data() }; in EncryptWorkKey() 307 encryptedKey.assign(encryptedKey.size(), 0); in EncryptWorkKey() 311 encryptedKey.resize(cipherText.size); in EncryptWorkKey() 312 return encryptedKey; in EncryptWorkKey()
|
H A D | rd_utils.cpp | 420 int RdUtils::RdDbBackup(GRD_DB *db, const char *backupDbFile, uint8_t *encryptedKey, uint32_t encry… in RdDbBackup() argument 428 …return TransferGrdErrno(GRD_KVApiInfo.DBBackupApi(db, backupDbFile, encryptedKey, encryptedKeyLen)… in RdDbBackup() 431 int RdUtils::RdDbRestore(GRD_DB *db, const char *backupDbFile, uint8_t *encryptedKey, uint32_t encr… in RdDbRestore() argument 439 …return TransferGrdErrno(GRD_KVApiInfo.DBRestoreApi(db, backupDbFile, encryptedKey, encryptedKeyLen… in RdDbRestore()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/include/grd_base/ |
H A D | grd_db_api.h | 29 GRD_API int32_t GRD_DBBackup(GRD_DB *db, const char *backupDbFile, uint8_t *encryptedKey, uint32_t …
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/crypto/src/ |
H A D | crypto_manager.cpp | 165 std::vector<uint8_t> encryptedKey(cipherText.data, cipherText.data + cipherText.size); in Encrypt() local 167 return encryptedKey; in Encrypt()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/gaussdb_rd/ |
H A D | rd_utils.h | 48 int RdBackup(GRD_DB *db, const char *backupDbFile, uint8_t *encryptedKey, uint32_t encryptedKeyLen);
|
H A D | rd_utils.cpp | 151 int RdBackup(GRD_DB *db, const char *backupDbFile, uint8_t *encryptedKey, uint32_t encryptedKeyLen) in RdBackup() argument 153 return TransferGrdErrno(GRD_DBBackup(db, backupDbFile, encryptedKey, encryptedKeyLen)); in RdBackup()
|
H A D | rd_single_ver_natural_store.cpp | 273 uint8_t *encryptedKey = const_cast<uint8_t*>(passwd.GetData()); in Export() local 275 errCode = handle->Backup(filePath, encryptedKey, encryptedKeyLen); in Export()
|
H A D | rd_single_ver_storage_executor.h | 55 int Backup(const std::string &filePath, uint8_t *encryptedKey, uint32_t encryptedKeyLen);
|
H A D | rd_single_ver_storage_executor.cpp | 281 int RdSingleVerStorageExecutor::Backup(const std::string &filePath, uint8_t *encryptedKey, uint32_t… in Backup() argument 283 return RdBackup(db_, filePath.c_str(), encryptedKey, encryptedKeyLen); in Backup()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/ |
H A D | security_manager.cpp | 227 std::vector<uint8_t> encryptedKey(cipherText.data, cipherText.data + cipherText.size); in Encrypt() local 229 return encryptedKey; in Encrypt()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/common/include/ |
H A D | grd_api_manager.h | 24 typedef int32_t (*DBBackup)(GRD_DB *db, const char *backupDbFile, uint8_t *encryptedKey, uint32_t e…
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/include/crypto/ |
H A D | base_key.h | 64 …KeyBlob(const UserAuth &auth, const std::string &keyPath, KeyBlob &planKey, KeyBlob &encryptedKey);
|