Home
last modified time | relevance | path

Searched refs:testKey (Results 1 – 10 of 10) sorted by relevance

/base/security/crypto_framework/test/unittest/src/
Dcrypto_mac_test.cpp153 uint8_t testKey[] = "abcdefghijklmnop"; variable
156 HcfBlob keyMaterialBlob = {.data = reinterpret_cast<uint8_t *>(testKey), .len = testKeyLen};
193 uint8_t testKey[] = "abcdefghijklmnop"; variable
196 HcfBlob keyMaterialBlob = {.data = reinterpret_cast<uint8_t *>(testKey), .len = testKeyLen};
221 uint8_t testKey[] = "abcdefghijklmnop"; variable
224 HcfBlob keyMaterialBlob = {.data = reinterpret_cast<uint8_t *>(testKey), .len = testKeyLen};
266 uint8_t testKey[] = "abcdefghijklmnop"; variable
269 HcfBlob keyMaterialBlob = {.data = reinterpret_cast<uint8_t *>(testKey), .len = testKeyLen};
304 uint8_t testKey[] = "abcdefghijklmnop"; variable
307 HcfBlob keyMaterialBlob = {.data = reinterpret_cast<uint8_t *>(testKey), .len = testKeyLen};
[all …]
Dcrypto_sm3_mac_test.cpp149 uint8_t testKey[] = "abcdefghijklmnop"; variable
152 HcfBlob keyMaterialBlob = {.data = reinterpret_cast<uint8_t *>(testKey), .len = testKeyLen};
189 uint8_t testKey[] = "abcdefghijklmnop"; variable
192 HcfBlob keyMaterialBlob = {.data = reinterpret_cast<uint8_t *>(testKey), .len = testKeyLen};
217 uint8_t testKey[] = "abcdefghijklmnop"; variable
220 HcfBlob keyMaterialBlob = {.data = reinterpret_cast<uint8_t *>(testKey), .len = testKeyLen};
262 uint8_t testKey[] = "abcdefghijklmnop"; variable
265 HcfBlob keyMaterialBlob = {.data = reinterpret_cast<uint8_t *>(testKey), .len = testKeyLen};
300 uint8_t testKey[] = "abcdefghijklmnop"; variable
303 HcfBlob keyMaterialBlob = {.data = reinterpret_cast<uint8_t *>(testKey), .len = testKeyLen};
[all …]
/base/account/os_account/test/fuzztest/appaccount/getassociateddata_fuzzer/
Dgetassociateddata_fuzzer.cpp33 std::string testKey(reinterpret_cast<const char*>(data), size); in GetAssociatedDataFuzzTest()
35 result = AppAccountManager::GetAssociatedData(testName, testKey, testValue); in GetAssociatedDataFuzzTest()
/base/account/os_account/test/fuzztest/appaccount/setassociateddata_fuzzer/
Dsetassociateddata_fuzzer.cpp32 std::string testKey(reinterpret_cast<const char*>(data), size); in SetAssociatedDataFuzzTest()
34 result = AppAccountManager::SetAssociatedData(testName, testKey, testValue); in SetAssociatedDataFuzzTest()
/base/account/os_account/test/fuzztest/appaccount/createaccount_fuzzer/
Dcreateaccount_fuzzer.cpp33 std::string testKey(reinterpret_cast<const char*>(data), size); in CreateAccountFuzzTest()
36 options.customData[testKey] = testValue; in CreateAccountFuzzTest()
/base/account/os_account/test/fuzztest/appaccount_stub/createaccountstub_fuzzer/
Dcreateaccountstub_fuzzer.cpp43 std::string testKey(reinterpret_cast<const char*>(data), size); in CreateAccountStubFuzzTest()
45 options.customData.emplace(testKey, testValue); in CreateAccountStubFuzzTest()
/base/account/os_account/test/fuzztest/appaccount/authenticate_fuzzer/
Dauthenticate_fuzzer.cpp55 std::string testKey(reinterpret_cast<const char*>(data), size); in AuthenticateFuzzTest()
58 options.SetParam(testKey, testValue); in AuthenticateFuzzTest()
/base/account/os_account/test/fuzztest/appaccount/addaccountimplicitly_fuzzer/
Daddaccountimplicitly_fuzzer.cpp56 std::string testKey(reinterpret_cast<const char*>(data), size); in AddAccountImplicitlyFuzzTest()
59 options.SetParam(testKey, testValue); in AddAccountImplicitlyFuzzTest()
/base/security/crypto_framework/test/fuzztest/crypto_operation/hcfmaccreate_fuzzer/
Dhcfmaccreate_fuzzer.cpp40 char testKey[] = "abcdefghijklmnop"; in TestMac() local
43 HcfBlob keyMaterialBlob = {.data = reinterpret_cast<uint8_t *>(testKey), .len = testKeyLen}; in TestMac()
/base/security/huks/test/unittest/huks_lite_test/common/
Dhks_test_aes.c530 char testKey[TEST_AES_32]; in TestAes256ByLocal() local
534 testKey[i] = i + TEST_AES_32; in TestAes256ByLocal()
537 keyBlob.data = (uint8_t *)testKey; in TestAes256ByLocal()
538 keyBlob.size = sizeof(testKey); in TestAes256ByLocal()