Home
last modified time | relevance | path

Searched refs:EncryptKey (Results 1 – 18 of 18) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/adapter/common/include/
H A Dsoftbus_aes_encrypt.h43 } EncryptKey; typedef
56 …const EncryptKey *randomKey, const uint8_t *rootKey, uint32_t rootKeyLen, uint8_t *hash, uint32_t …
59 … SoftBusAesCfbRootEncrypt(const AesInputData *inData, const EncryptKey *randomKey, EncryptKey *roo…
/ohos5.0/foundation/communication/dsoftbus/adapter/common/mbedtls/
H A Dsoftbus_aes_encrypt_virtual.c20 …const EncryptKey *randomKey, const uint8_t *rootKey, uint32_t rootKeyLen, uint8_t *hash, uint32_t … in SoftBusGenerateHmacHash()
30 … SoftBusAesCfbRootEncrypt(const AesInputData *inData, const EncryptKey *randomKey, EncryptKey *roo… in SoftBusAesCfbRootEncrypt()
/ohos5.0/base/web/webview/test/unittest/ohos_adapter/keystore_adapter_impl_test/
H A Dkeystore_adapter_impl_test.cpp107 std::string encryptString = KeystoreAdapterImpl::GetInstance().EncryptKey(alias, plainData);
111 encryptString = KeystoreAdapterImpl::GetInstance().EncryptKey(alias, "");
118 … std::string nullEncrypt = KeystoreAdapterImpl::GetInstance().EncryptKey(nullAlias, nullPlainData);
124 nullEncrypt = KeystoreAdapterImpl::GetInstance().EncryptKey(long_str_alias, "test");
/ohos5.0/foundation/communication/dsoftbus/tests/adapter/unittest/
H A Ddsoftbus_aes_crypto_test.cpp61 EncryptKey randomKey = { randStr, randLen };
86 EncryptKey randomKey = { randStr, randLen };
117 EncryptKey randomKey = { randStr, randLen };
149 EncryptKey randomKey = { randStr, randLen };
150 EncryptKey rootKey = { rKey, rootKeyLen };
188 EncryptKey randomKey = { randStr, randLen };
189 EncryptKey rootKey = { rKey, rootKeyLen };
240 EncryptKey randomKey = { randStr, randLen };
241 EncryptKey rootKey = { rKey, rootKeyLen };
285 EncryptKey randomKey = { randStr, randLen };
[all …]
/ohos5.0/foundation/communication/dsoftbus/adapter/common/openssl/
H A Dsoftbus_aes_encrypt.c40 …const EncryptKey *randomKey, const uint8_t *rootKey, uint32_t rootKeyLen, uint8_t *hash, uint32_t … in SoftBusGenerateHmacHash()
126 static int32_t RootKeyGenerateIvAndSessionKey(const EncryptKey *randomKey, EncryptKey *rootKey, Aes… in RootKeyGenerateIvAndSessionKey()
148 static int32_t GenerateIvAndSessionKey(const EncryptKey *randomKey, EncryptKey *rootKey, AesCipherK… in GenerateIvAndSessionKey()
176 … SoftBusAesCfbRootEncrypt(const AesInputData *inData, const EncryptKey *randomKey, EncryptKey *roo… in SoftBusAesCfbRootEncrypt()
229 EncryptKey key = { cipherKey->key, cipherKey->keyLen }; in SoftBusAesCfbEncrypt()
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/
H A Dark_keystore_adapter_impl.cpp24 ArkWebString ArkKeystoreAdapterImpl::EncryptKey(const ArkWebString& alias, const ArkWebString& plai… in EncryptKey() function in OHOS::ArkWeb::ArkKeystoreAdapterImpl
29 std::string result = real_.EncryptKey(s_alias, s_plainData); in EncryptKey()
H A Dark_keystore_adapter_impl.h29 ArkWebString EncryptKey(const ArkWebString& alias, const ArkWebString& plainData) override;
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/
H A Dark_keystore_adapter_wrapper.cpp22 std::string ArkKeystoreAdapterWrapper::EncryptKey(const std::string alias, const std::string plainD… in EncryptKey() function in OHOS::ArkWeb::ArkKeystoreAdapterWrapper
30 ArkWebString ark_result = ctocpp_->EncryptKey(ark_alias, ark_plainData); in EncryptKey()
H A Dark_keystore_adapter_wrapper.h29 std::string EncryptKey(const std::string alias, const std::string plainData) override;
/ohos5.0/foundation/communication/dsoftbus/tests/adapter/fuzztest/softbusaescrypto_fuzzer/
H A Dsoftbusaescrypto_fuzzer.cpp30 EncryptKey randomKey = { data, size }; in SoftBusGenerateHmacHashFuzzTest()
41 EncryptKey randomKey = { data, size }; in SoftBusAesCfbRootEncryptFuzzTest()
42 EncryptKey rootKey = { data, size }; in SoftBusAesCfbRootEncryptFuzzTest()
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/include/
H A Dark_keystore_adapter.h29 virtual ArkWebString EncryptKey(const ArkWebString& alias, const ArkWebString& plainData) = 0;
/ohos5.0/base/web/webview/ohos_interface/include/ohos_adapter/
H A Dkeystore_adapter.h30 virtual std::string EncryptKey(const std::string alias, const std::string plainData) = 0;
/ohos5.0/base/web/webview/ohos_adapter/keystore_adapter/include/
H A Dkeystore_adapter_impl.h32 std::string EncryptKey(const std::string alias, const std::string plainData) override;
/ohos5.0/base/web/webview/test/fuzztest/ohos_adapter/keystore_adapter/keystoreadapterimpl_fuzzer/
H A Dkeystoreadapterimpl_fuzzer.cpp44 std::string encryptString = KeystoreAdapterImpl::GetInstance().EncryptKey(alias, plainData); in ApplyKeystoreAdapterImplFuzzTest()
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/include/crypto/
H A Dhuks_master.h40 bool EncryptKey(KeyContext &ctx, const UserAuth &auth, const KeyInfo &key, bool isNeedNewNonce);
/ohos5.0/base/web/webview/ohos_adapter/keystore_adapter/src/
H A Dkeystore_adapter_impl.cpp137 std::string KeystoreAdapterImpl::EncryptKey(const std::string alias, const std::string plainData) in EncryptKey() function in OHOS::NWeb::KeystoreAdapterImpl
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/
H A Dbase_key.cpp430 if (!HuksMaster::GetInstance().EncryptKey(ctxDe, auth, keyInfo_, true)) { in StoreKey()
911 if (!HuksMaster::GetInstance().EncryptKey(keyCtx, auth, {.key = planKey}, false)) { in StoreKey()
H A Dhuks_master.cpp732 bool HuksMaster::EncryptKey(KeyContext &ctx, const UserAuth &auth, const KeyInfo &key, bool isNeedN… in EncryptKey() function in OHOS::StorageDaemon::HuksMaster