/ohos5.0/foundation/communication/dsoftbus/adapter/common/include/ |
H A D | softbus_aes_encrypt.h | 43 } 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 D | softbus_aes_encrypt_virtual.c | 20 …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 D | keystore_adapter_impl_test.cpp | 107 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 D | dsoftbus_aes_crypto_test.cpp | 61 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 D | softbus_aes_encrypt.c | 40 …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 D | ark_keystore_adapter_impl.cpp | 24 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 D | ark_keystore_adapter_impl.h | 29 ArkWebString EncryptKey(const ArkWebString& alias, const ArkWebString& plainData) override;
|
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/ |
H A D | ark_keystore_adapter_wrapper.cpp | 22 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 D | ark_keystore_adapter_wrapper.h | 29 std::string EncryptKey(const std::string alias, const std::string plainData) override;
|
/ohos5.0/foundation/communication/dsoftbus/tests/adapter/fuzztest/softbusaescrypto_fuzzer/ |
H A D | softbusaescrypto_fuzzer.cpp | 30 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 D | ark_keystore_adapter.h | 29 virtual ArkWebString EncryptKey(const ArkWebString& alias, const ArkWebString& plainData) = 0;
|
/ohos5.0/base/web/webview/ohos_interface/include/ohos_adapter/ |
H A D | keystore_adapter.h | 30 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 D | keystore_adapter_impl.h | 32 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 D | keystoreadapterimpl_fuzzer.cpp | 44 std::string encryptString = KeystoreAdapterImpl::GetInstance().EncryptKey(alias, plainData); in ApplyKeystoreAdapterImplFuzzTest()
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/include/crypto/ |
H A D | huks_master.h | 40 bool EncryptKey(KeyContext &ctx, const UserAuth &auth, const KeyInfo &key, bool isNeedNewNonce);
|
/ohos5.0/base/web/webview/ohos_adapter/keystore_adapter/src/ |
H A D | keystore_adapter_impl.cpp | 137 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 D | base_key.cpp | 430 if (!HuksMaster::GetInstance().EncryptKey(ctxDe, auth, keyInfo_, true)) { in StoreKey() 911 if (!HuksMaster::GetInstance().EncryptKey(keyCtx, auth, {.key = planKey}, false)) { in StoreKey()
|
H A D | huks_master.cpp | 732 bool HuksMaster::EncryptKey(KeyContext &ctx, const UserAuth &auth, const KeyInfo &key, bool isNeedN… in EncryptKey() function in OHOS::StorageDaemon::HuksMaster
|