Home
last modified time | relevance | path

Searched refs:kdfAlgo (Results 1 - 10 of 10) sorted by relevance

/foundation/distributeddatamgr/relational_store/frameworks/js/napi/relationalstore/src/
H A Dnapi_rdb_const_properties.cpp239 napi_value kdfAlgo = nullptr; in ExportKdfAlgo() local
240 napi_create_object(env, &kdfAlgo); in ExportKdfAlgo()
242 SET_NAPI_PROPERTY(kdfAlgo, "KDF_SHA1", int32_t(NativeRdb::KdfAlgo::KDF_SHA1)); in ExportKdfAlgo()
243 SET_NAPI_PROPERTY(kdfAlgo, "KDF_SHA256", int32_t(NativeRdb::KdfAlgo::KDF_SHA256)); in ExportKdfAlgo()
244 SET_NAPI_PROPERTY(kdfAlgo, "KDF_SHA512", int32_t(NativeRdb::KdfAlgo::KDF_SHA512)); in ExportKdfAlgo()
245 napi_object_freeze(env, kdfAlgo); in ExportKdfAlgo()
246 return kdfAlgo; in ExportKdfAlgo()
H A Dnapi_rdb_js_utils.cpp332 NAPI_CALL_RETURN_ERR(GetNamedProperty(env, input, "kdfAlgo", cryptoParam.kdfAlgo, true), napi_invalid_arg); in Convert2Value()
/foundation/distributeddatamgr/relational_store/test/js/relationalstore/unittest/src/
H A DRdbstoreEncryptionJsunit.test.js54 kdfAlgo: data_relationalStore.KdfAlgo.KDF_SHA256,
68 kdfAlgo: data_relationalStore.KdfAlgo.KDF_SHA512,
418 kdfAlgo: data_relationalStore.KdfAlgo.KDF_SHA512,
448 kdfAlgo: data_relationalStore.KdfAlgo.KDF_SHA512,
478 kdfAlgo: data_relationalStore.KdfAlgo.KDF_SHA512,
508 kdfAlgo: data_relationalStore.KdfAlgo.KDF_SHA512,
632 kdfAlgo: data_relationalStore.KdfAlgo.KDF_SHA512,
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/include/
H A Dsqlite_utils.h64 static const char *KdfAlgoDescription(int32_t kdfAlgo);
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Drdb_store_config.cpp625 if (kdfAlgo < KDF_SHA1 || kdfAlgo > KDF_SHA512) { in IsValid()
H A Dsqlite_utils.cpp319 const char *SqliteUtils::KdfAlgoDescription(int32_t kdfAlgo) in KdfAlgoDescription() argument
321 KdfAlgo kdfEnum = static_cast<KdfAlgo>(kdfAlgo); in KdfAlgoDescription()
H A Drdb_store_impl.cpp1571 config.GetCryptoParam().encryptAlgo, config.GetCryptoParam().hmacAlgo, config.GetCryptoParam().kdfAlgo, in SetDefaultEncryptSql()
1579 config.GetCryptoParam().encryptAlgo, config.GetCryptoParam().hmacAlgo, config.GetCryptoParam().kdfAlgo, in SetDefaultEncryptSql()
1622 SqliteUtils::KdfAlgoDescription(config.GetCryptoParam().kdfAlgo) + in SetDefaultEncryptAlgo()
H A Dsqlite_connection.cpp527 config.GetCryptoParam().encryptAlgo, config.GetCryptoParam().hmacAlgo, config.GetCryptoParam().kdfAlgo, in SetEncryptAgo()
557 SqliteUtils::KdfAlgoDescription(config.GetCryptoParam().kdfAlgo) + in SetEncryptAgo()
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/mock/include/
H A Drdb_store_config.h121 int32_t kdfAlgo = KdfAlgo::KDF_SHA256; member
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/include/
H A Drdb_store_config.h216 int32_t kdfAlgo = KdfAlgo::KDF_SHA256; member

Completed in 13 milliseconds