Searched refs:g_testCipherParams (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/base/security/huks/test/unittest/huks_lite_test/liteos_m_adapter/ |
H A D | hks_modify_key_test.c | 31 static const struct HksTestCipherParams g_testCipherParams[] = { variable 81 &g_testCipherParams[index].plainTextParams, &g_testCipherParams[index].cipherTextParams); in BaseTestCipherProcess() 86 keyAlias, &g_testCipherParams[index], cipherData, in BaseTestCipherProcess() 94 if (ret != g_testCipherParams[index].expectResult) { in BaseTestCipherProcess() 99 if (ret != g_testCipherParams[index].expectResult) { in BaseTestCipherProcess() 103 if (ret == g_testCipherParams[index].expectResult) { in BaseTestCipherProcess() 146 …&g_testCipherParams[index].genKeyParamSetParams, &g_testCipherParams[index].genKeyParamSetParamsOu… in LITE_TEST_CASE() 155 &g_testCipherParams[index].plainTextParams, &g_testCipherParams[index].cipherTextParams); in LITE_TEST_CASE() 170 …&g_testCipherParams[index].genKeyParamSetParams, &g_testCipherParams[index].genKeyParamSetParamsOu… in LITE_TEST_CASE() 176 &keyAlias, &g_testCipherParams[index], cipherData, in LITE_TEST_CASE() [all …]
|
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/ |
H A D | hks_modify_key_test.cpp | 60 static const struct HksTestCipherParams g_testCipherParams[] = { variable 90 &g_testCipherParams[index].plainTextParams, &g_testCipherParams[index].cipherTextParams); in BaseTestCipher() 102 if (ret != g_testCipherParams[index].expectResult) { in BaseTestCipher() 107 keyAlias, &g_testCipherParams[index], cipherData, in BaseTestCipher() 111 if (ret != g_testCipherParams[index].expectResult) { in BaseTestCipher() 115 if (ret == g_testCipherParams[index].expectResult) { in BaseTestCipher() 141 …&g_testCipherParams[index].genKeyParamSetParams, &g_testCipherParams[index].genKeyParamSetParamsOu… 150 &g_testCipherParams[index].plainTextParams, &g_testCipherParams[index].cipherTextParams); 158 &keyAlias, &g_testCipherParams[index].encryptParamSetParams, 166 &keyAlias, &g_testCipherParams[index], cipherData, [all …]
|
/ohos5.0/base/security/huks/test/unittest/huks_common_test/src/ |
H A D | hks_test_cipher_func.cpp | 200 if ((g_testCipherParams[index].genKeyParamSetParams.setKeyStorageFlag) && in BaseTestCipher() 202 ret = GenerateLocalRandomKey(&keyAlias, &g_testCipherParams[index].localKeyParams); in BaseTestCipher() 204 ret = GenerateKey(&keyAlias, &g_testCipherParams[index].keyAliasParams, in BaseTestCipher() 205 …&g_testCipherParams[index].genKeyParamSetParams, &g_testCipherParams[index].genKeyParamSetParamsOu… in BaseTestCipher() 211 &g_testCipherParams[index].plainTextParams, &g_testCipherParams[index].cipherTextParams); in BaseTestCipher() 218 keyAlias, &g_testCipherParams[index].encryptParamSetParams, in BaseTestCipher() 222 HKS_TEST_ASSERT(ret == g_testCipherParams[index].expectResult); in BaseTestCipher() 227 keyAlias, &g_testCipherParams[index], cipherData, in BaseTestCipher() 231 HKS_TEST_ASSERT(ret == g_testCipherParams[index].expectResult); in BaseTestCipher() 239 if (!((g_testCipherParams[index].genKeyParamSetParams.setKeyStorageFlag) && in BaseTestCipher() [all …]
|
/ohos5.0/base/security/huks/test/unittest/huks_common_test/include/ |
H A D | hks_test_cipher_c.h | 33 static const struct HksTestCipherParams g_testCipherParams[] = { variable
|