/ohos5.0/base/security/huks/test/unittest/huks_lite_test/liteos_a_adapter/ |
H A D | hks_agreement_test.cpp | 121 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 D | hks_mac_test.cpp | 87 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 D | hks_bn_exp_mod_test.cpp | 109 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 D | hks_derive_test.cpp | 91 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 D | hks_hash_test.cpp | 88 g_testHashParams[0].srcDataParams.blobExist, 94 g_testHashParams[0].hashParams.blobExist,
|
H A D | hks_delete_test.cpp | 76 g_testKeyExistParams[0].keyAliasParams.blobExist,
|
/ohos5.0/base/security/huks/test/unittest/huks_lite_test/liteos_m_adapter/ |
H A D | hks_agreement_test.c | 123 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 D | hks_mac_test.c | 88 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 D | hks_bn_exp_mod_test.c | 67 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 D | hks_derive_test.c | 94 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 D | hks_hash_test.c | 92 g_testHashParams[0].srcDataParams.blobExist, in LITE_TEST_CASE() 99 g_testHashParams[0].hashParams.blobExist, in LITE_TEST_CASE()
|
H A D | hks_delete_test.c | 78 g_testKeyExistParams[0].keyAliasParams.blobExist, in LITE_TEST_CASE()
|
H A D | hks_generate_random_test.c | 73 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 D | hks_mac_test.cpp | 88 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 D | hks_bn_exp_mod_test.cpp | 67 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 D | hks_derive_test.cpp | 93 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 D | hks_agreement_test.cpp | 121 g_testAgreeParams[0].agreedKeyParams.blobExist, 133 ((g_testAgreeParams[0].keyAlias1Params.blobExist) && 134 (g_testAgreeParams[0].keyAlias2Params.blobExist))) {
|
H A D | hks_hash_test.cpp | 86 g_testHashParams[0].srcDataParams.blobExist, 93 g_testHashParams[0].hashParams.blobExist,
|
H A D | hks_delete_test.cpp | 75 g_testKeyExistParams[0].keyAliasParams.blobExist,
|
H A D | hks_generate_random_test.cpp | 72 g_testGenRandomParams[0].randomParams.blobExist,
|
/ohos5.0/base/security/huks/test/unittest/huks_common_test/src/ |
H A D | hks_test_cipher_func.cpp | 23 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 D | hks_test_common_func.cpp | 19 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 D | hks_modify_key_test_func.cpp | 23 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 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,
|
H A D | hks_test_common_h.h | 48 bool blobExist; /* blob null or not */ member 325 bool blobExist, 361 bool blobExist,
|