Searched refs:g_testDeriveParams (Results 1 – 2 of 2) sorted by relevance
/test/xts/acts/security_lite/huks/liteos_a_adapter/ |
D | hks_derive_test.cpp | 60 const struct HksTestDeriveParams g_testDeriveParams[] = { variable 152 if (g_testDeriveParams[index].genKeyParamSetParams.setKeyStorageFlag && in BaseTestDerive() 153 (g_testDeriveParams[index].genKeyParamSetParams.keyStorageFlag == HKS_STORAGE_TEMP)) { in BaseTestDerive() 154 ret = GenerateLocalRandomKey(&keyAlias, &g_testDeriveParams[index].localKeyParams); in BaseTestDerive() 156 if (g_testDeriveParams[index].keyAliasParams.blobExist) { in BaseTestDerive() 157 ret = HuksGenerateKey(&keyAlias, &g_testDeriveParams[index].keyAliasParams, in BaseTestDerive() 158 &g_testDeriveParams[index].genKeyParamSetParams, NULL); in BaseTestDerive() 161 g_testDeriveParams[index].masterKeyParams.blobExist, in BaseTestDerive() 162 g_testDeriveParams[index].masterKeyParams.blobSize, in BaseTestDerive() 163 g_testDeriveParams[index].masterKeyParams.blobDataExist, in BaseTestDerive() [all …]
|
/test/xts/acts/security_lite/huks/liteos_m_adapter/ |
D | hks_derive_test.c | 87 static const struct HksTestDeriveParams g_testDeriveParams[] = { variable 205 if (g_testDeriveParams[index].genKeyParamSetParams.setKeyStorageFlag && in BaseTestDerive() 206 (g_testDeriveParams[index].genKeyParamSetParams.keyStorageFlag == HKS_STORAGE_TEMP)) { in BaseTestDerive() 207 ret = GenerateLocalRandomKey(&keyAlias, &g_testDeriveParams[index].localKeyParams); in BaseTestDerive() 209 if (g_testDeriveParams[index].keyAliasParams.blobExist) { in BaseTestDerive() 210 ret = HuksGenerateKey(&keyAlias, &g_testDeriveParams[index].keyAliasParams, in BaseTestDerive() 211 &g_testDeriveParams[index].genKeyParamSetParams, NULL); in BaseTestDerive() 214 g_testDeriveParams[index].masterKeyParams.blobExist, in BaseTestDerive() 215 g_testDeriveParams[index].masterKeyParams.blobSize, in BaseTestDerive() 216 g_testDeriveParams[index].masterKeyParams.blobDataExist, in BaseTestDerive() [all …]
|