Home
last modified time | relevance | path

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

12

/ohos5.0/base/security/huks/test/unittest/huks_lite_test/liteos_a_adapter/
H A Dhks_agreement_test.cpp121 g_testAgreeParams[0].agreedKeyParams.blobExist,
133 ((g_testAgreeParams[0].keyAlias1Params.blobExist) &&
134 (g_testAgreeParams[0].keyAlias2Params.blobExist))) {
173 ret = TestConstuctBlob(&agreeKey, g_testAgreeParams[0].agreedKeyParams.blobExist, \
179 ret = TestConstuctBlob(&agreeKey2, g_testAgreeParams[0].agreedKeyParams.blobExist, \
195 …((g_testAgreeParams[0].keyAlias1Params.blobExist) && (g_testAgreeParams[0].keyAlias2Params.blobExi…
H A 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()
H A Dhks_bn_exp_mod_test.cpp109 ret = TestConstuctBlob(&x, g_testBnExpModParams[0].xParams.blobExist,
114 ret = TestConstructBlobOut(&a, g_testBnExpModParams[0].aParams.blobExist,
119 ret = TestConstuctBlob(&e, g_testBnExpModParams[0].eParams.blobExist,
124 ret = TestConstuctBlob(&n, g_testBnExpModParams[0].nParams.blobExist,
H A Dhks_derive_test.cpp91 if (g_testDeriveParams[index].keyAliasParams.blobExist) { in BaseTestDerive()
96 g_testDeriveParams[index].masterKeyParams.blobExist, in BaseTestDerive()
107 g_testDeriveParams[index].derivedKeyParams.blobExist, in BaseTestDerive()
124 (g_testDeriveParams[index].keyAliasParams.blobExist)) { in BaseTestDerive()
H A Dhks_hash_test.cpp88 g_testHashParams[0].srcDataParams.blobExist,
94 g_testHashParams[0].hashParams.blobExist,
H A Dhks_delete_test.cpp76 g_testKeyExistParams[0].keyAliasParams.blobExist,
/ohos5.0/base/security/huks/test/unittest/huks_lite_test/liteos_m_adapter/
H A Dhks_agreement_test.c123 g_testAgreeParams[0].agreedKeyParams.blobExist, in LITE_TEST_CASE()
135 ((g_testAgreeParams[0].keyAlias1Params.blobExist) && in LITE_TEST_CASE()
136 (g_testAgreeParams[0].keyAlias2Params.blobExist))) { in LITE_TEST_CASE()
177 ret = TestConstuctBlob(&agreeKey, g_testAgreeParams[0].agreedKeyParams.blobExist, \ in LITE_TEST_CASE()
186 ret = TestConstuctBlob(&agreeKey1, g_testAgreeParams[0].agreedKeyParams.blobExist, \ in LITE_TEST_CASE()
199 …((g_testAgreeParams[0].keyAlias1Params.blobExist) && (g_testAgreeParams[0].keyAlias2Params.blobExi… in LITE_TEST_CASE()
H A Dhks_mac_test.c88 srcDataParams->blobExist, in ConstructDataToBlob()
95 macDataParams->blobExist, in ConstructDataToBlob()
140 g_testMacParams[index].keyParams.blobExist, in BaseTestMac()
145 if (g_testMacParams[index].keyAliasParams.blobExist) { in BaseTestMac()
150 g_testMacParams[index].keyParams.blobExist, in BaseTestMac()
173 (g_testMacParams[index].keyAliasParams.blobExist)) { in BaseTestMac()
H A Dhks_bn_exp_mod_test.c67 ret = TestConstuctBlob(&x, g_testBnExpModParams[0].xParams.blobExist, in LITE_TEST_CASE()
72 ret = TestConstructBlobOut(&a, g_testBnExpModParams[0].aParams.blobExist, in LITE_TEST_CASE()
77 ret = TestConstuctBlob(&e, g_testBnExpModParams[0].eParams.blobExist, in LITE_TEST_CASE()
82 ret = TestConstuctBlob(&n, g_testBnExpModParams[0].nParams.blobExist, in LITE_TEST_CASE()
H A Dhks_derive_test.c94 if (g_testDeriveParams[index].keyAliasParams.blobExist) { in BaseTestDerive()
100 g_testDeriveParams[index].masterKeyParams.blobExist, in BaseTestDerive()
111 g_testDeriveParams[index].derivedKeyParams.blobExist, in BaseTestDerive()
128 (g_testDeriveParams[index].keyAliasParams.blobExist)) { in BaseTestDerive()
H A Dhks_hash_test.c92 g_testHashParams[0].srcDataParams.blobExist, in LITE_TEST_CASE()
99 g_testHashParams[0].hashParams.blobExist, in LITE_TEST_CASE()
H A Dhks_delete_test.c78 g_testKeyExistParams[0].keyAliasParams.blobExist, in LITE_TEST_CASE()
H A Dhks_generate_random_test.c73 g_testGenRandomParams[0].randomParams.blobExist, in LITE_TEST_CASE()
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/
H A Dhks_mac_test.cpp88 srcDataParams->blobExist, in ConstructDataToBlob()
94 macDataParams->blobExist, in ConstructDataToBlob()
140 g_testMacParams[index].keyParams.blobExist, in BaseTestMac()
145 if (g_testMacParams[index].keyAliasParams.blobExist) { in BaseTestMac()
150 g_testMacParams[index].keyParams.blobExist, in BaseTestMac()
173 (g_testMacParams[index].keyAliasParams.blobExist)) { in BaseTestMac()
H A Dhks_bn_exp_mod_test.cpp67 ret = TestConstuctBlob(&x, g_testBnExpModParams[0].xParams.blobExist,
72 ret = TestConstructBlobOut(&a, g_testBnExpModParams[0].aParams.blobExist,
77 ret = TestConstuctBlob(&e, g_testBnExpModParams[0].eParams.blobExist,
82 ret = TestConstuctBlob(&n, g_testBnExpModParams[0].nParams.blobExist,
H A Dhks_derive_test.cpp93 if (g_testDeriveParams[index].keyAliasParams.blobExist) { in BaseTestDerive()
98 g_testDeriveParams[index].masterKeyParams.blobExist, in BaseTestDerive()
109 g_testDeriveParams[index].derivedKeyParams.blobExist, in BaseTestDerive()
126 (g_testDeriveParams[index].keyAliasParams.blobExist)) { in BaseTestDerive()
H A Dhks_agreement_test.cpp121 g_testAgreeParams[0].agreedKeyParams.blobExist,
133 ((g_testAgreeParams[0].keyAlias1Params.blobExist) &&
134 (g_testAgreeParams[0].keyAlias2Params.blobExist))) {
H A Dhks_hash_test.cpp86 g_testHashParams[0].srcDataParams.blobExist,
93 g_testHashParams[0].hashParams.blobExist,
H A Dhks_delete_test.cpp75 g_testKeyExistParams[0].keyAliasParams.blobExist,
H A Dhks_generate_random_test.cpp72 g_testGenRandomParams[0].randomParams.blobExist,
/ohos5.0/base/security/huks/test/unittest/huks_common_test/src/
H A Dhks_test_cipher_func.cpp23 inTextParams->blobExist, in ConstructDataToBlobTest()
30 outTextParams->blobExist, in ConstructDataToBlobTest()
94 decryptStruct->cipherParms->decryptedTextParams.blobExist, in DecryptCipherTest()
262 if (g_testEncryptParams[index].keyAliasParams.blobExist) { in BaseTestEncrypt()
267 g_testEncryptParams[index].encryptAliasParams.blobExist, in BaseTestEncrypt()
293 if (g_testEncryptParams[index].keyAliasParams.blobExist) { in BaseTestEncrypt()
314 if (g_testDecryptParams[index].keyAliasParams.blobExist) { in BaseTestDecrypt()
319 g_testDecryptParams[index].decryptAliasParams.blobExist, in BaseTestDecrypt()
345 if (g_testDecryptParams[index].keyAliasParams.blobExist) { in BaseTestDecrypt()
H A Dhks_test_common_func.cpp19 int32_t TestConstuctBlob(struct HksBlob **blob, bool blobExist, uint32_t blobSize, bool blobDataExi… in TestConstuctBlob() argument
22 if (!blobExist) { // blob not exist in TestConstuctBlob()
539 keyAliasParams->blobExist, in GenerateKey()
577 localKeyParams->blobExist, in GenerateLocalRandomKey()
586 bool blobExist, in TestConstructBlobOut() argument
591 if (!blobExist) { // blob not exist in TestConstructBlobOut()
626 localPrivateKeyParams->blobExist, in GenerateLocalX25519Key()
635 localPublicKeyParams->blobExist, in GenerateLocalX25519Key()
695 genKeyParam.keyAliasParams.blobExist, in TestGenDefaultKeyAndGetAlias()
H A Dhks_modify_key_test_func.cpp23 inTextParams->blobExist, in ConstructDataToBlob()
29 outTextParams->blobExist, in ConstructDataToBlob()
80 decryptStruct->cipherParms->decryptedTextParams.blobExist, in DecryptCipher()
/ohos5.0/base/security/huks/test/unittest/huks_common_test/include/
H A 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,
H A Dhks_test_common_h.h48 bool blobExist; /* blob null or not */ member
325 bool blobExist,
361 bool blobExist,

12