Home
last modified time | relevance | path

Searched refs:g_testKeyExistParams (Results 1 – 4 of 4) sorted by relevance

/test/xts/acts/security_lite/huks/liteos_a_adapter/
Dhks_exist_test.cpp58 const struct HksTestKeyExistParams g_testKeyExistParams[] = { variable
72 if (g_testKeyExistParams[0].isGenKey) {
75 HKS_TEST_ASSERT(ret == g_testKeyExistParams[0].expectResult);
79 g_testKeyExistParams[0].keyAliasParams.blobExist,
80 g_testKeyExistParams[0].keyAliasParams.blobSize,
81 g_testKeyExistParams[0].keyAliasParams.blobDataExist,
82 g_testKeyExistParams[0].keyAliasParams.blobDataSize);
85 if (ret != g_testKeyExistParams[0].expectResult) {
86 … HKS_TEST_LOG_I("HksKeyExistRun 2 failed, ret[%u] = %d", g_testKeyExistParams[0].testId, ret);
88 HKS_TEST_ASSERT(ret == g_testKeyExistParams[0].expectResult);
Dhks_delete_test.cpp58 const struct HksTestKeyExistParams g_testKeyExistParams[] = { variable
72 if (g_testKeyExistParams[0].isGenKey) {
76 g_testKeyExistParams[0].keyAliasParams.blobExist,
77 g_testKeyExistParams[0].keyAliasParams.blobSize,
78 g_testKeyExistParams[0].keyAliasParams.blobDataExist,
79 g_testKeyExistParams[0].keyAliasParams.blobDataSize);
84 HKS_TEST_ASSERT(ret == g_testKeyExistParams[0].expectResult);
/test/xts/acts/security_lite/huks/liteos_m_adapter/
Dhks_exist_test.c36 static const struct HksTestKeyExistParams g_testKeyExistParams[] = { variable
65 if (g_testKeyExistParams[0].isGenKey) { in ExecHksExistTest001()
68 TEST_ASSERT_TRUE(ret == g_testKeyExistParams[0].expectResult); in ExecHksExistTest001()
72 g_testKeyExistParams[0].keyAliasParams.blobExist, in ExecHksExistTest001()
73 g_testKeyExistParams[0].keyAliasParams.blobSize, in ExecHksExistTest001()
74 g_testKeyExistParams[0].keyAliasParams.blobDataExist, in ExecHksExistTest001()
75 g_testKeyExistParams[0].keyAliasParams.blobDataSize); in ExecHksExistTest001()
78 if (ret != g_testKeyExistParams[0].expectResult) { in ExecHksExistTest001()
79 … HKS_TEST_LOG_I("HksKeyExistRun 2 failed, ret[%u] = %d", g_testKeyExistParams[0].testId, ret); in ExecHksExistTest001()
81 TEST_ASSERT_TRUE(ret == g_testKeyExistParams[0].expectResult); in ExecHksExistTest001()
Dhks_delete_test.c36 static const struct HksTestKeyExistParams g_testKeyExistParams[] = { variable
61 if (g_testKeyExistParams[0].isGenKey) { in ExecHksDeleteTest001()
65 g_testKeyExistParams[0].keyAliasParams.blobExist, in ExecHksDeleteTest001()
66 g_testKeyExistParams[0].keyAliasParams.blobSize, in ExecHksDeleteTest001()
67 g_testKeyExistParams[0].keyAliasParams.blobDataExist, in ExecHksDeleteTest001()
68 g_testKeyExistParams[0].keyAliasParams.blobDataSize); in ExecHksDeleteTest001()
73 HKS_TEST_ASSERT(ret == g_testKeyExistParams[0].expectResult); in ExecHksDeleteTest001()