Home
last modified time | relevance | path

Searched refs:blobExist (Results 1 – 23 of 23) sorted by relevance

/test/xts/acts/security_lite/huks/liteos_a_adapter/
Dhks_mac_test.cpp87 srcDataParams->blobExist, in ConstructDataToBlob()
94 macDataParams->blobExist, in ConstructDataToBlob()
139 g_testMacParams[index].keyParams.blobExist, in BaseTestMac()
144 if (g_testMacParams[index].keyAliasParams.blobExist) { in BaseTestMac()
149 g_testMacParams[index].keyParams.blobExist, in BaseTestMac()
172 (g_testMacParams[index].keyAliasParams.blobExist)) { in BaseTestMac()
Dhks_agreement_test.cpp119 g_testAgreeParams[0].agreedKeyParams.blobExist,
131 ((g_testAgreeParams[0].keyAlias1Params.blobExist) &&
132 (g_testAgreeParams[0].keyAlias2Params.blobExist))) {
171 ret = TestConstuctBlob(&agreeKey, g_testAgreeParams[0].agreedKeyParams.blobExist, \
177 ret = TestConstuctBlob(&agreeKey2, g_testAgreeParams[0].agreedKeyParams.blobExist, \
193 …((g_testAgreeParams[0].keyAlias1Params.blobExist) && (g_testAgreeParams[0].keyAlias2Params.blobExi…
Dhks_bn_exp_mod_test.cpp110 ret = TestConstuctBlob(&x, g_testBnExpModParams[0].xParams.blobExist,
115 ret = TestConstructBlobOut(&a, g_testBnExpModParams[0].aParams.blobExist,
120 ret = TestConstuctBlob(&e, g_testBnExpModParams[0].eParams.blobExist,
125 ret = TestConstuctBlob(&n, g_testBnExpModParams[0].nParams.blobExist,
Dhks_derive_test.cpp156 if (g_testDeriveParams[index].keyAliasParams.blobExist) { in BaseTestDerive()
161 g_testDeriveParams[index].masterKeyParams.blobExist, in BaseTestDerive()
172 g_testDeriveParams[index].derivedKeyParams.blobExist, in BaseTestDerive()
189 (g_testDeriveParams[index].keyAliasParams.blobExist)) { in BaseTestDerive()
Dhks_hash_test.cpp88 g_testHashParams[0].srcDataParams.blobExist,
95 g_testHashParams[0].hashParams.blobExist,
Dhks_generate_random_test.cpp72 g_testGenRandomParams[0].randomParams.blobExist,
Dhks_delete_test.cpp76 g_testKeyExistParams[0].keyAliasParams.blobExist,
Dhks_exist_test.cpp79 g_testKeyExistParams[0].keyAliasParams.blobExist,
Dhks_modify_key_test.cpp116 inTextParams->blobExist, in ConstructDataToBlob()
123 outTextParams->blobExist, in ConstructDataToBlob()
175 decryptStruct->cipherParms->decryptedTextParams.blobExist, in DecryptCipher()
Dhks_generate_key_test.cpp86 g_testGenKeyParams[index].keyAliasParams.blobExist,
/test/xts/acts/security_lite/huks/liteos_m_adapter/
Dhks_mac_test.c113 srcDataParams->blobExist, in ConstructDataToBlob()
120 macDataParams->blobExist, in ConstructDataToBlob()
165 g_testMacParams[index].keyParams.blobExist, in BaseTestMac()
170 if (g_testMacParams[index].keyAliasParams.blobExist) { in BaseTestMac()
175 g_testMacParams[index].keyParams.blobExist, in BaseTestMac()
198 (g_testMacParams[index].keyAliasParams.blobExist)) { in BaseTestMac()
Dhks_agreement_test.c142 g_testAgreeParams[0].agreedKeyParams.blobExist, in ExecHksAgreementTest001()
154 ((g_testAgreeParams[0].keyAlias1Params.blobExist) && in ExecHksAgreementTest001()
155 (g_testAgreeParams[0].keyAlias2Params.blobExist))) { in ExecHksAgreementTest001()
191 g_testAgreeParams[0].agreedKeyParams.blobExist, in ExecHksAgreementTest002()
203 ((g_testAgreeParams[0].keyAlias1Params.blobExist) && in ExecHksAgreementTest002()
204 (g_testAgreeParams[0].keyAlias2Params.blobExist))) { in ExecHksAgreementTest002()
Dhks_bn_exp_mod_test.c136 ret = TestConstuctBlob(&x, g_testBnExpModParams[0].xParams.blobExist, in LITE_TEST_CASE()
141 ret = TestConstructBlobOut(&a, g_testBnExpModParams[0].aParams.blobExist, in LITE_TEST_CASE()
146 ret = TestConstuctBlob(&e, g_testBnExpModParams[0].eParams.blobExist, in LITE_TEST_CASE()
151 ret = TestConstuctBlob(&n, g_testBnExpModParams[0].nParams.blobExist, in LITE_TEST_CASE()
Dhks_derive_test.c209 if (g_testDeriveParams[index].keyAliasParams.blobExist) { in BaseTestDerive()
214 g_testDeriveParams[index].masterKeyParams.blobExist, in BaseTestDerive()
225 g_testDeriveParams[index].derivedKeyParams.blobExist, in BaseTestDerive()
242 (g_testDeriveParams[index].keyAliasParams.blobExist)) { in BaseTestDerive()
Dhks_hash_test.c123 g_testHashParams[index].srcDataParams.blobExist, in ExecHksHashTestCommon()
130 g_testHashParams[index].hashParams.blobExist, in ExecHksHashTestCommon()
Dhks_generate_random_test.c96 g_testGenRandomParams[0].randomParams.blobExist, in ExecHksGenerateRandomTest001()
Dhks_delete_test.c64 g_testKeyExistParams[0].keyAliasParams.blobExist, in ExecHksDeleteTest001()
Dhks_exist_test.c71 g_testKeyExistParams[0].keyAliasParams.blobExist, in ExecHksExistTest001()
Dhks_modify_key_test.c147 inTextParams->blobExist, in ConstructDataToBlob()
154 outTextParams->blobExist, in ConstructDataToBlob()
206 decryptStruct->cipherParms->decryptedTextParams.blobExist, in DecryptCipher()
Dhks_generate_key_test.c111 g_testGenKeyParams[index].keyAliasParams.blobExist, in ExecHksGenerateKeyTest001()
/test/xts/acts/security_lite/huks/common/
Dhks_test_cipher.c414 inTextParams->blobExist, in ConstructDataToBlob()
421 outTextParams->blobExist, in ConstructDataToBlob()
485 decryptStruct->cipherParms->decryptedTextParams.blobExist, in DecryptCipher()
650 if (g_testEncryptParams[index].keyAliasParams.blobExist) { in BaseTestEncrypt()
655 g_testEncryptParams[index].encryptAliasParams.blobExist, in BaseTestEncrypt()
681 if (g_testEncryptParams[index].keyAliasParams.blobExist) { in BaseTestEncrypt()
702 if (g_testDecryptParams[index].keyAliasParams.blobExist) { in BaseTestDecrypt()
707 g_testDecryptParams[index].decryptAliasParams.blobExist, in BaseTestDecrypt()
733 if (g_testDecryptParams[index].keyAliasParams.blobExist) { in BaseTestDecrypt()
Dhks_test_common.c41 int32_t TestConstuctBlob(struct HksBlob **blob, bool blobExist, uint32_t blobSize, bool blobDataExi… in TestConstuctBlob() argument
44 if (!blobExist) { // blob not exist in TestConstuctBlob()
559 keyAliasParams->blobExist, in HuksGenerateKey()
597 localKeyParams->blobExist, in GenerateLocalRandomKey()
606 bool blobExist, in TestConstructBlobOut() argument
611 if (!blobExist) { // blob not exist in TestConstructBlobOut()
644 localPrivateKeyParams->blobExist, in GenerateLocalX25519Key()
653 localPublicKeyParams->blobExist, in GenerateLocalX25519Key()
711 genKeyParam.keyAliasParams.blobExist, in TestGenDefaultKeyAndGetAlias()
/test/xts/acts/security_lite/huks/common/include/
Dhks_test_common.h52 bool blobExist; /* blob null or not */ member
386 bool blobExist,
422 bool blobExist,