| /base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/ |
| D | hks_bn_exp_mod_test.cpp | 68 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,
|
| D | hks_mac_test.cpp | 89 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()
|
| D | hks_hash_test.cpp | 87 g_testHashParams[0].srcDataParams.blobSize, 94 g_testHashParams[0].hashParams.blobSize,
|
| D | hks_generate_random_test.cpp | 73 g_testGenRandomParams[0].randomParams.blobSize,
|
| D | hks_delete_test.cpp | 76 g_testKeyExistParams[0].keyAliasParams.blobSize,
|
| /base/security/huks/test/unittest/huks_lite_test/liteos_m_adapter/ |
| D | hks_bn_exp_mod_test.c | 68 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()
|
| D | hks_mac_test.c | 89 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()
|
| D | hks_hash_test.c | 93 g_testHashParams[0].srcDataParams.blobSize, in LITE_TEST_CASE() 100 g_testHashParams[0].hashParams.blobSize, in LITE_TEST_CASE()
|
| D | hks_agreement_test.c | 124 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()
|
| D | hks_delete_test.c | 79 g_testKeyExistParams[0].keyAliasParams.blobSize, in LITE_TEST_CASE()
|
| D | hks_generate_random_test.c | 74 g_testGenRandomParams[0].randomParams.blobSize, in LITE_TEST_CASE()
|
| /base/notification/distributed_notification_service/services/ans/test/unittest/mock/ |
| D | blob.cpp | 184 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/frameworks/test/moduletest/mock/ |
| D | blob.cpp | 184 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/ |
| D | blob.cpp | 184 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/ |
| D | hks_bn_exp_mod_test.cpp | 110 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,
|
| D | hks_mac_test.cpp | 88 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()
|
| D | hks_hash_test.cpp | 89 g_testHashParams[0].srcDataParams.blobSize, 95 g_testHashParams[0].hashParams.blobSize,
|
| D | hks_agreement_test.cpp | 122 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,…
|
| D | hks_delete_test.cpp | 77 g_testKeyExistParams[0].keyAliasParams.blobSize,
|
| /base/security/huks/test/fuzz_test/innerapi_fuzzer/hksipc_fuzzer/ |
| D | hksipc_fuzzer.cpp | 216 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/ |
| D | huks_ipc_serialization_test.cpp | 276 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/ |
| D | hks_test_common_c.h | 29 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/ |
| D | code_sign_block.cpp | 196 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/ |
| D | hks_modify_key_test_func.cpp | 24 inTextParams->blobSize, inTextParams->blobDataExist, in ConstructDataToBlob() 30 outTextParams->blobSize, in ConstructDataToBlob() 81 decryptStruct->cipherParms->decryptedTextParams.blobSize, in DecryptCipher()
|
| D | hks_test_common_func.cpp | 19 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()
|