/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/ |
H A D | distributeddb_storage_data_operation_test.cpp | 710 …EXPECT_EQ(SQLiteUtils::SetKeyInner(db, CipherType::AES_256_GCM, g_passwd, DBConstant::DEFAULT_ITER… 725 …EXPECT_EQ(SQLiteUtils::SetKeyInner(db, CipherType::AES_256_GCM, g_passwd, DBConstant::DEFAULT_ITER… 748 …EXPECT_EQ(SQLiteUtils::SetKeyInner(db, CipherType::AES_256_GCM, g_passwd, DBConstant::DEFAULT_ITER… 770 …EXPECT_EQ(SQLiteUtils::AttachNewDatabaseInner(db, CipherType::AES_256_GCM, g_passwd, fileUrl, atta… 795 …EXPECT_EQ(SQLiteUtils::SetKeyInner(db, CipherType::AES_256_GCM, g_passwd, DBConstant::DEFAULT_ITER… 816 …EXPECT_EQ(SQLiteUtils::AttachNewDatabase(db, CipherType::AES_256_GCM, g_passwd, fileUrl, attachNam… 836 SQLiteUtils::AttachNewDatabase(db, CipherType::AES_256_GCM, g_passwd, fileUrl, attachName); 842 …EXPECT_EQ(SQLiteUtils::SetKey(db, CipherType::AES_256_GCM, g_passwd, DBConstant::DEFAULT_ITER_TIME… 853 …EXPECT_NE(SQLiteUtils::AttachNewDatabase(db, CipherType::AES_256_GCM, g_passwd2, fileUrl, attachNa… 875 …EXPECT_EQ(SQLiteUtils::SetKeyInner(db, CipherType::AES_256_GCM, g_passwd, DBConstant::DEFAULT_ITER… [all …]
|
H A D | distributeddb_relational_encrypted_db_test.cpp | 502 option = { nullptr, false, true, CipherType::AES_256_GCM, g_correctPasswd, DEFAULT_ITER };
|
H A D | distributeddb_storage_transaction_record_test.cpp | 65 int errCode = g_transaction->Initialize(g_storeDir, false, CipherType::AES_256_GCM, passwd); in SetUp()
|
/ohos5.0/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/mock/include/ |
H A D | rdb_store_config.h | 102 AES_256_GCM = 0, enumerator 119 int32_t encryptAlgo = EncryptAlgo::AES_256_GCM; 131 static constexpr EncryptAlgo DB_DEFAULT_ENCRYPT_ALGO = AES_256_GCM;
|
/ohos5.0/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/include/ |
H A D | rdb_store_config.h | 184 AES_256_GCM = 0, enumerator 214 int32_t encryptAlgo = EncryptAlgo::AES_256_GCM; 242 static constexpr EncryptAlgo DB_DEFAULT_ENCRYPT_ALGO = AES_256_GCM;
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/ |
H A D | single_ver_utils.h | 38 CipherType cipherType = CipherType::AES_256_GCM;
|
H A D | ikvdb_commit_storage.h | 35 CipherType cipherType = CipherType::AES_256_GCM;
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/multiver/ |
H A D | ikvdb_multi_ver_data_storage.h | 45 CipherType cipherType = CipherType::AES_256_GCM;
|
H A D | multi_ver_kvdata_storage.h | 49 CipherType cipherType = CipherType::AES_256_GCM;
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/kv/ |
H A D | kvdb_properties.cpp | 42 : cipherType_(CipherType::AES_256_GCM) in KvDBProperties()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/kvstoremock/frameworks/innerkitsimpl/kvdb/src/ |
H A D | store_factory.cpp | 136 dbOption.cipher = DistributedDB::CipherType::AES_256_GCM; in GetDBOption()
|
/ohos5.0/docs/zh-cn/application-dev/database/ |
H A D | data-encryption.md | 118 … encryptionAlgo: relationalStore.EncryptionAlgo.AES_256_CBC, // 可选参数,加密/解密算法。如不指定,默认算法为AES_256_GCM。
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/include/ |
H A D | types_export.h | 49 AES_256_GCM, // AES-256-GCM enumerator
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/ |
H A D | param_check_utils.cpp | 103 if (cipher != CipherType::DEFAULT && cipher != CipherType::AES_256_GCM) { in CheckEncryptedParameter()
|
H A D | db_common.cpp | 458 ((srcType == CipherType::DEFAULT || srcType == CipherType::AES_256_GCM) && in IsSameCipher() 459 (inputType == CipherType::DEFAULT || inputType == CipherType::AES_256_GCM))) { in IsSameCipher()
|
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | sqlite_utils.cpp | 342 case EncryptAlgo::AES_256_GCM: in EncryptAlgoDescription()
|
H A D | rdb_store_config.cpp | 653 if (encryptAlgo != AES_256_CBC && encryptAlgo != AES_256_GCM) { in IsValid()
|
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/js/napi/relationalstore/src/ |
H A D | napi_rdb_const_properties.cpp | 219 SET_NAPI_PROPERTY(encryptionAlgo, "AES_256_GCM", int32_t(NativeRdb::EncryptAlgo::AES_256_GCM)); in ExportEncryptionAlgo()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/ |
H A D | store_factory.cpp | 183 dbOption.cipher = DistributedDB::CipherType::AES_256_GCM; in GetDBOption()
|
/ohos5.0/docs/en/application-dev/database/ |
H A D | data-encryption.md | 118 …ecryption algorithm. If this parameter is not specified, the default algorithm AES_256_GCM is used.
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/test/ |
H A D | store_factory_test.cpp | 168 dbOption.cipher = DistributedDB::CipherType::AES_256_GCM; in GetOption()
|
/ohos5.0/foundation/distributeddatamgr/relational_store/test/js/relationalstore/unittest/src/ |
H A D | RdbstoreEncryptionJsunit.test.js | 54 encryptionAlgo: data_relationalStore.EncryptionAlgo.AES_256_GCM,
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/src/ |
H A D | distributeddb_nb_autolaunch_test.cpp | 260 option.cipher = CipherType::AES_256_GCM;
|
H A D | distributeddb_nb_enable_sync_by_closed_db_test.cpp | 254 option.cipher = CipherType::AES_256_GCM;
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/ |
H A D | kvdb_general_store_test.cpp | 256 EXPECT_EQ(dbOption.cipher, DistributedDB::CipherType::AES_256_GCM);
|