/base/security/huks/test/reliability/src/ |
D | pressure_test.cpp | 182 struct HksParam tmpParams[] = { variable 192 HksAddParams(paramInSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0])); 220 struct HksParam tmpParams[] = { variable 230 HksAddParams(paramInSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0])); 267 struct HksParam tmpParams[] = { variable 277 HksAddParams(paramInSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0])); 313 struct HksParam tmpParams[] = { variable 323 HksAddParams(paramInSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0])); 351 struct HksParam tmpParams[] = { variable 361 HksAddParams(paramInSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0])); [all …]
|
D | api_pressure_test.cpp | 538 struct HksParam tmpParams[] = { in GenerateKeyTest() local 547 HksAddParams(paramInSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0])); in GenerateKeyTest() 594 struct HksParam tmpParams[] = { in DeleteKeyTest() local 603 HksAddParams(paramInSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0])); in DeleteKeyTest() 648 struct HksParam tmpParams[] = { in GenerateRandomTest() local 654 HksAddParams(paramInSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0])); in GenerateRandomTest() 729 struct HksParam tmpParams[] = { in AgreeKeyTest() local 737 HksAddParams(paramInSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0])); in AgreeKeyTest() 858 struct HksParam tmpParams[] = { in SignScene() local 864 HksAddParams(paramInSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0])); in SignScene() [all …]
|
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/ |
D | hks_session_max_test.cpp | 63 struct HksParam tmpParams[] = { in GenerateBaseKey() local 74 ASSERT_TRUE(HksAddParams(paramSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0])) == 0); in GenerateBaseKey() 86 struct HksParam tmpParams[] = { in ConstructInitParamSet() local 95 ASSERT_TRUE(HksAddParams(paramSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0])) == 0); in ConstructInitParamSet()
|
D | hks_test_aes.c | 153 struct HksParam tmpParams[] = { in GenerateBaseKey() local 170 … HKS_TEST_ASSERT(HksAddParams(paramSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0])) == 0); in GenerateBaseKey() 188 struct HksParam tmpParams[] = { in PlainPubKey() local 211 … HKS_TEST_ASSERT(HksAddParams(paramSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0])) == 0); in PlainPubKey() 217 struct HksParam tmpParams[] = { in SetKeyAliasTrue() local 240 … HKS_TEST_ASSERT(HksAddParams(paramSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0])) == 0); in SetKeyAliasTrue() 246 struct HksParam tmpParams[] = { in SetKeyAliasWrong() local 267 … HKS_TEST_ASSERT(HksAddParams(paramSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0])) == 0); in SetKeyAliasWrong() 305 struct HksParam tmpParams[] = { in ImportPubKey() local 322 … HKS_TEST_ASSERT(HksAddParams(paramSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0])) == 0); in ImportPubKey()
|
D | hks_device_sec_test.cpp | 153 struct HksParam tmpParams[] = { in TestGenerateKey() local 170 ret = HksAddParams(paramSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0])); in TestGenerateKey() 202 struct HksParam tmpParams[] = { in TestKeyAttest() local 217 ret = HksAddParams(paramSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0])); in TestKeyAttest()
|
/base/security/huks/test/unittest/huks_lite_test/common/ |
D | hks_test_aes.c | 154 struct HksParam tmpParams[] = { in GenerateBaseKey() local 171 … HKS_TEST_ASSERT(HksAddParams(paramSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0])) == 0); in GenerateBaseKey() 189 struct HksParam tmpParams[] = { in PlainPubKey() local 212 … HKS_TEST_ASSERT(HksAddParams(paramSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0])) == 0); in PlainPubKey() 218 struct HksParam tmpParams[] = { in SetKeyAliasTrue() local 241 … HKS_TEST_ASSERT(HksAddParams(paramSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0])) == 0); in SetKeyAliasTrue() 247 struct HksParam tmpParams[] = { in SetKeyAliasWrong() local 268 … HKS_TEST_ASSERT(HksAddParams(paramSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0])) == 0); in SetKeyAliasWrong() 307 struct HksParam tmpParams[] = { in ImportPubKey() local 324 … HKS_TEST_ASSERT(HksAddParams(paramSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0])) == 0); in ImportPubKey()
|
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/ |
D | hks_attest_key_test_common.cpp | 66 struct HksParam tmpParams[] = { in TestGenerateKey() local 83 ret = HksAddParams(paramSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0])); in TestGenerateKey() 146 int32_t GenerateParamSet(struct HksParamSet **paramSet, const struct HksParam tmpParams[], uint32_t… in GenerateParamSet() argument 154 if (tmpParams != nullptr) { in GenerateParamSet() 155 ret = HksAddParams(*paramSet, tmpParams, paramCount); in GenerateParamSet()
|
D | hks_access_control_test_common.cpp | 309 struct HksParam tmpParams; in HksBuildAuthtoken() local 334 tmpParams.tag = HKS_TAG_AUTH_TOKEN; in HksBuildAuthtoken() 335 tmpParams.blob.data = authToken; in HksBuildAuthtoken() 336 tmpParams.blob.size = AUTH_TOKEN_LEN; in HksBuildAuthtoken() 346 ret = HksAddParams(newParamSet, &tmpParams, 1); in HksBuildAuthtoken() 367 struct HksParam tmpParams; in HksBuildAuthTokenSecure() local 393 tmpParams.tag = HKS_TAG_AUTH_TOKEN; in HksBuildAuthTokenSecure() 394 tmpParams.blob.data = authToken; in HksBuildAuthTokenSecure() 395 tmpParams.blob.size = AUTH_TOKEN_LEN; in HksBuildAuthTokenSecure() 406 ret = HksAddParams(newParamSet, &tmpParams, 1); in HksBuildAuthTokenSecure()
|
D | hks_access_control_rsa_sign_verify_test_common.cpp | 36 const IDMParams &testIDMParams, struct HksParam *tmpParams) in RSAAuthTokenSign() argument 64 tmpParams->tag = HKS_TAG_AUTH_TOKEN; in RSAAuthTokenSign() 65 tmpParams->blob.data = authToken; in RSAAuthTokenSign() 66 tmpParams->blob.size = AUTH_TOKEN_LEN; in RSAAuthTokenSign() 70 static int32_t AddAuthTokenParam(struct HksParamSet **paramSet, const struct HksParam *tmpParams) in AddAuthTokenParam() argument 72 int32_t ret = HksAddParams(*paramSet, tmpParams, 1); in AddAuthTokenParam()
|
/base/security/huks/test/unittest/huks_standard_test/module_test/interface_test/src/ |
D | hks_get_key_info_list_test.cpp | 94 struct HksParam tmpParams[] = { in BuildParamSetForGenerateKey() local 110 ret = HksAddParams(paramSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0])); in BuildParamSetForGenerateKey()
|
/base/security/code_signature/services/local_code_sign/include/ |
D | local_sign_key.h | 47 bool Init(const struct HksParam tmpParams[], uint32_t paramCount) in Init() argument 54 ret = HksAddParams(paramSet, tmpParams, paramCount); in Init()
|
/base/security/device_security_level/oem_property/ohos/common/ |
D | hks_adapter.c | 69 struct HksParam tmpParams[] = { in HksGenerateKeyAdapter() local 80 … if (FillHksParamSet(¶mSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0])) != SUCCESS) { in HksGenerateKeyAdapter()
|
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/include/ |
D | hks_attest_key_test_common.h | 61 int32_t GenerateParamSet(struct HksParamSet **paramSet, const struct HksParam tmpParams[], uint32_t…
|
/base/security/huks/test/unittest/huks_standard_test/module_test/service_test/huks_engine/core/src/ |
D | hks_core_service_test.cpp | 218 struct HksParam tmpParams[] = { in TestGenerateKey() local 235 ret = HksAddParams(paramSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0])); in TestGenerateKey()
|
/base/security/huks/test/unittest/huks_standard_test/module_test/service_test/huks_service/core/src/ |
D | hks_client_service_test.cpp | 70 struct HksParam tmpParams[] = { in TestGenerateKeyWithProcessInfo() local 87 ret = HksAddParams(paramSet, tmpParams, sizeof(tmpParams) / sizeof(tmpParams[0])); in TestGenerateKeyWithProcessInfo()
|