Home
last modified time | relevance | path

Searched refs:blobSize (Results 1 – 25 of 44) sorted by relevance

12

/base/security/huks/test/unittest/huks_lite_test/liteos_m_adapter/
Dhks_bn_exp_mod_test.c68 g_testBnExpModParams[0].xParams.blobSize, g_testBnExpModParams[0].xParams.blobDataExist, in LITE_TEST_CASE()
73 … g_testBnExpModParams[0].aParams.blobSize, g_testBnExpModParams[0].aParams.blobDataExist, in LITE_TEST_CASE()
78 g_testBnExpModParams[0].eParams.blobSize, g_testBnExpModParams[0].eParams.blobDataExist, in LITE_TEST_CASE()
83 g_testBnExpModParams[0].nParams.blobSize, g_testBnExpModParams[0].nParams.blobDataExist, in LITE_TEST_CASE()
Dhks_mac_test.c89 srcDataParams->blobSize, in ConstructDataToBlob()
96 macDataParams->blobSize, in ConstructDataToBlob()
141 g_testMacParams[index].keyParams.blobSize, in BaseTestMac()
151 g_testMacParams[index].keyParams.blobSize, in BaseTestMac()
Dhks_hash_test.c93 g_testHashParams[0].srcDataParams.blobSize, in LITE_TEST_CASE()
100 g_testHashParams[0].hashParams.blobSize, in LITE_TEST_CASE()
Dhks_agreement_test.c124 g_testAgreeParams[0].agreedKeyParams.blobSize, in LITE_TEST_CASE()
178 …g_testAgreeParams[0].agreedKeyParams.blobSize, g_testAgreeParams[0].agreedKeyParams.blobDataExist,… in LITE_TEST_CASE()
187 …g_testAgreeParams[0].agreedKeyParams.blobSize, g_testAgreeParams[0].agreedKeyParams.blobDataExist,… in LITE_TEST_CASE()
Dhks_generate_random_test.c74 g_testGenRandomParams[0].randomParams.blobSize, in LITE_TEST_CASE()
Dhks_delete_test.c79 g_testKeyExistParams[0].keyAliasParams.blobSize, in LITE_TEST_CASE()
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/
Dhks_bn_exp_mod_test.cpp68 g_testBnExpModParams[0].xParams.blobSize, g_testBnExpModParams[0].xParams.blobDataExist,
73 … g_testBnExpModParams[0].aParams.blobSize, g_testBnExpModParams[0].aParams.blobDataExist,
78 g_testBnExpModParams[0].eParams.blobSize, g_testBnExpModParams[0].eParams.blobDataExist,
83 g_testBnExpModParams[0].nParams.blobSize, g_testBnExpModParams[0].nParams.blobDataExist,
Dhks_mac_test.cpp89 srcDataParams->blobSize, in ConstructDataToBlob()
95 macDataParams->blobSize, in ConstructDataToBlob()
141 g_testMacParams[index].keyParams.blobSize, in BaseTestMac()
151 g_testMacParams[index].keyParams.blobSize, in BaseTestMac()
Dhks_hash_test.cpp87 g_testHashParams[0].srcDataParams.blobSize,
94 g_testHashParams[0].hashParams.blobSize,
Dhks_generate_random_test.cpp73 g_testGenRandomParams[0].randomParams.blobSize,
Dhks_delete_test.cpp76 g_testKeyExistParams[0].keyAliasParams.blobSize,
/base/notification/distributed_notification_service/frameworks/test/moduletest/mock/
Dblob.cpp184 int blobSize = *reinterpret_cast<const int *>(cursorPtr); in ReadFromBuffer() local
185 bufferLeftSize -= sizeof(int) + blobSize; in ReadFromBuffer()
186 if (blobSize < 0 || bufferLeftSize < 0) { in ReadFromBuffer()
190 blob_ = std::vector<uint8_t>(cursorPtr, cursorPtr + blobSize); in ReadFromBuffer()
191 cursorPtr += blobSize; in ReadFromBuffer()
/base/notification/distributed_notification_service/services/ans/test/unittest/mock/
Dblob.cpp184 int blobSize = *reinterpret_cast<const int *>(cursorPtr); in ReadFromBuffer() local
185 bufferLeftSize -= sizeof(int) + blobSize; in ReadFromBuffer()
186 if (blobSize < 0 || bufferLeftSize < 0) { in ReadFromBuffer()
190 blob_ = std::vector<uint8_t>(cursorPtr, cursorPtr + blobSize); in ReadFromBuffer()
191 cursorPtr += blobSize; in ReadFromBuffer()
/base/notification/distributed_notification_service/services/test/moduletest/mock/
Dblob.cpp184 int blobSize = *reinterpret_cast<const int *>(cursorPtr); in ReadFromBuffer() local
185 bufferLeftSize -= sizeof(int) + blobSize; in ReadFromBuffer()
186 if (blobSize < 0 || bufferLeftSize < 0) { in ReadFromBuffer()
190 blob_ = std::vector<uint8_t>(cursorPtr, cursorPtr + blobSize); in ReadFromBuffer()
191 cursorPtr += blobSize; in ReadFromBuffer()
/base/security/huks/test/unittest/huks_lite_test/liteos_a_adapter/
Dhks_bn_exp_mod_test.cpp110 g_testBnExpModParams[0].xParams.blobSize, g_testBnExpModParams[0].xParams.blobDataExist,
115 … g_testBnExpModParams[0].aParams.blobSize, g_testBnExpModParams[0].aParams.blobDataExist,
120 g_testBnExpModParams[0].eParams.blobSize, g_testBnExpModParams[0].eParams.blobDataExist,
125 g_testBnExpModParams[0].nParams.blobSize, g_testBnExpModParams[0].nParams.blobDataExist,
Dhks_mac_test.cpp88 srcDataParams->blobSize, in ConstructDataToBlob()
95 macDataParams->blobSize, in ConstructDataToBlob()
140 g_testMacParams[index].keyParams.blobSize, in BaseTestMac()
150 g_testMacParams[index].keyParams.blobSize, in BaseTestMac()
Dhks_hash_test.cpp89 g_testHashParams[0].srcDataParams.blobSize,
95 g_testHashParams[0].hashParams.blobSize,
Dhks_agreement_test.cpp122 g_testAgreeParams[0].agreedKeyParams.blobSize,
174 …g_testAgreeParams[0].agreedKeyParams.blobSize, g_testAgreeParams[0].agreedKeyParams.blobDataExist,…
180 …g_testAgreeParams[0].agreedKeyParams.blobSize, g_testAgreeParams[0].agreedKeyParams.blobDataExist,…
Dhks_generate_random_test.cpp73 g_testGenRandomParams[0].randomParams.blobSize,
/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksipc_fuzzer/
Dhksipc_fuzzer.cpp216 const uint32_t blobSize = 15; in HksIpcSerializationTest010() local
219 uint8_t blobData[blobSize] = { 0 }; in HksIpcSerializationTest010()
221 struct HksBlob blob = { .size = blobSize, .data = blobData }; in HksIpcSerializationTest010()
235 const uint32_t blobSize = 15; in HksIpcSerializationTest011() local
238 uint8_t blobData[blobSize] = { 0 }; in HksIpcSerializationTest011()
240 struct HksBlob blob = { .size = blobSize, .data = blobData }; in HksIpcSerializationTest011()
/base/security/huks/test/unittest/huks_standard_test/module_test/service_test/huks_service/os_dependency/idl/ipc/src/
Dhuks_ipc_serialization_test.cpp276 const uint32_t blobSize = 15; variable
279 uint8_t blobData[blobSize] = { 0 };
281 struct HksBlob blob = { .size = blobSize, .data = blobData };
296 const uint32_t blobSize = 15; variable
299 uint8_t blobData[blobSize] = { 0 };
301 struct HksBlob blob = { .size = blobSize, .data = blobData };
/base/security/huks/test/unittest/huks_common_test/include/
Dhks_test_common_c.h29 int32_t TestConstuctBlob(struct HksBlob **blob, bool blobExist, uint32_t blobSize,
68 int32_t TestConstructBlobOut(struct HksBlob **blob, bool blobExist, uint32_t blobSize,
/base/security/code_signature/utils/src/
Dcode_sign_block.cpp196 uint32_t blobSize = 0; in GetCodeSignBlockBuffer() local
212 blobSize = static_cast<uint32_t>(value.optionalBlockValue.GetCapacity()); in GetCodeSignBlockBuffer()
216 if ((blobBuffer == nullptr) || (blobSize <= sizeof(PropertyBlobHeader))) { in GetCodeSignBlockBuffer()
229 } while (length < blobSize); in GetCodeSignBlockBuffer()
/base/security/huks/test/unittest/huks_common_test/src/
Dhks_modify_key_test_func.cpp24 inTextParams->blobSize, inTextParams->blobDataExist, in ConstructDataToBlob()
30 outTextParams->blobSize, in ConstructDataToBlob()
81 decryptStruct->cipherParms->decryptedTextParams.blobSize, in DecryptCipher()
Dhks_test_common_func.cpp19 int32_t TestConstuctBlob(struct HksBlob **blob, bool blobExist, uint32_t blobSize, bool blobDataExi… in TestConstuctBlob() argument
70 (*blob)->size = blobSize; in TestConstuctBlob()
540 keyAliasParams->blobSize, in GenerateKey()
578 localKeyParams->blobSize, in GenerateLocalRandomKey()
587 uint32_t blobSize, in TestConstructBlobOut() argument
616 (*blob)->size = blobSize; in TestConstructBlobOut()
627 localPrivateKeyParams->blobSize, in GenerateLocalX25519Key()
636 localPublicKeyParams->blobSize, in GenerateLocalX25519Key()
696 genKeyParam.keyAliasParams.blobSize, in TestGenDefaultKeyAndGetAlias()

12