Home
last modified time | relevance | path

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

/test/xts/acts/security_lite/huks/liteos_a_adapter/
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_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_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_generate_key_test.cpp86 g_testGenKeyParams[index].keyAliasParams.blobExist,
/test/xts/acts/security_lite/huks/liteos_m_adapter/
Dhks_agreement_test.c143 g_testAgreeParams[0].agreedKeyParams.blobExist, in ExecHksAgreementTest001()
155 ((g_testAgreeParams[0].keyAlias1Params.blobExist) && in ExecHksAgreementTest001()
156 (g_testAgreeParams[0].keyAlias2Params.blobExist))) { in ExecHksAgreementTest001()
192 g_testAgreeParams[0].agreedKeyParams.blobExist, in ExecHksAgreementTest002()
204 ((g_testAgreeParams[0].keyAlias1Params.blobExist) && in ExecHksAgreementTest002()
205 (g_testAgreeParams[0].keyAlias2Params.blobExist))) { in ExecHksAgreementTest002()
Dhks_bn_exp_mod_test.c137 ret = TestConstuctBlob(&x, g_testBnExpModParams[0].xParams.blobExist, in LITE_TEST_CASE()
142 ret = TestConstructBlobOut(&a, g_testBnExpModParams[0].aParams.blobExist, in LITE_TEST_CASE()
147 ret = TestConstuctBlob(&e, g_testBnExpModParams[0].eParams.blobExist, in LITE_TEST_CASE()
152 ret = TestConstuctBlob(&n, g_testBnExpModParams[0].nParams.blobExist, in LITE_TEST_CASE()
Dhks_mac_test.c259 srcDataParams->blobExist, in ConstructDataToBlob()
266 macDataParams->blobExist, in ConstructDataToBlob()
311 g_testMacParams[index].keyParams.blobExist, in BaseTestMac()
316 if (g_testMacParams[index].keyAliasParams.blobExist) { in BaseTestMac()
321 g_testMacParams[index].keyParams.blobExist, in BaseTestMac()
344 (g_testMacParams[index].keyAliasParams.blobExist)) { in BaseTestMac()
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.c97 g_testGenRandomParams[0].randomParams.blobExist, in ExecHksGenerateRandomTest001()
Dhks_delete_test.c65 g_testKeyExistParams[0].keyAliasParams.blobExist, in ExecHksDeleteTest001()
Dhks_exist_test.c72 g_testKeyExistParams[0].keyAliasParams.blobExist, in ExecHksExistTest001()
Dhks_generate_key_test.c111 g_testGenKeyParams[index].keyAliasParams.blobExist, in ExecHksGenerateKeyTest001()
/test/xts/acts/security_lite/huks/common/
Dhks_test_cipher.c460 inTextParams->blobExist, in ConstructDataToBlob()
467 outTextParams->blobExist, in ConstructDataToBlob()
531 decryptStruct->cipherParms->decryptedTextParams.blobExist, in DecryptCipher()
696 if (g_testEncryptParams[index].keyAliasParams.blobExist) { in BaseTestEncrypt()
701 g_testEncryptParams[index].encryptAliasParams.blobExist, in BaseTestEncrypt()
727 if (g_testEncryptParams[index].keyAliasParams.blobExist) { in BaseTestEncrypt()
748 if (g_testDecryptParams[index].keyAliasParams.blobExist) { in BaseTestDecrypt()
753 g_testDecryptParams[index].decryptAliasParams.blobExist, in BaseTestDecrypt()
779 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,