Home
last modified time | relevance | path

Searched refs:HKS_ALG_ECC (Results 1 – 25 of 61) sorted by relevance

123

/base/security/huks/test/unittest/huks_standard_test/crypto_engine_test/src/
Dhks_crypto_hal_ecdsa_sign.cpp49 .algType = HKS_ALG_ECC,
54 .algType = HKS_ALG_ECC,
69 .algType = HKS_ALG_ECC,
74 .algType = HKS_ALG_ECC,
88 .algType = HKS_ALG_ECC,
93 .algType = HKS_ALG_ECC,
107 .algType = HKS_ALG_ECC,
112 .algType = HKS_ALG_ECC,
127 .algType = HKS_ALG_ECC,
132 .algType = HKS_ALG_ECC,
[all …]
Dhks_crypto_hal_ecc_key.cpp41 .algType = HKS_ALG_ECC,
55 .algType = HKS_ALG_ECC,
68 .algType = HKS_ALG_ECC,
81 .algType = HKS_ALG_ECC,
183 .algType = HKS_ALG_ECC,
Dhks_crypto_hal_ecdh_agree.cpp45 .algType = HKS_ALG_ECC,
61 .algType = HKS_ALG_ECC,
76 .algType = HKS_ALG_ECC,
91 .algType = HKS_ALG_ECC,
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/asymmetric_alg_test/
Dhks_ecc_sign_verify_part3_test.cpp65 .uint32Param = HKS_ALG_ECC
80 .uint32Param = HKS_ALG_ECC
95 .uint32Param = HKS_ALG_ECC
111 .uint32Param = HKS_ALG_ECC
126 .uint32Param = HKS_ALG_ECC
141 .uint32Param = HKS_ALG_ECC
158 .uint32Param = HKS_ALG_ECC
173 .uint32Param = HKS_ALG_ECC
188 .uint32Param = HKS_ALG_ECC
204 .uint32Param = HKS_ALG_ECC
[all …]
Dhks_ecc_sign_verify_part1_test.cpp64 .uint32Param = HKS_ALG_ECC
79 .uint32Param = HKS_ALG_ECC
94 .uint32Param = HKS_ALG_ECC
110 .uint32Param = HKS_ALG_ECC
125 .uint32Param = HKS_ALG_ECC
140 .uint32Param = HKS_ALG_ECC
156 .uint32Param = HKS_ALG_ECC
171 .uint32Param = HKS_ALG_ECC
186 .uint32Param = HKS_ALG_ECC
202 .uint32Param = HKS_ALG_ECC
[all …]
Dhks_ecc_sign_verify_part2_test.cpp65 .uint32Param = HKS_ALG_ECC
80 .uint32Param = HKS_ALG_ECC
95 .uint32Param = HKS_ALG_ECC
112 .uint32Param = HKS_ALG_ECC
127 .uint32Param = HKS_ALG_ECC
142 .uint32Param = HKS_ALG_ECC
158 .uint32Param = HKS_ALG_ECC
173 .uint32Param = HKS_ALG_ECC
188 .uint32Param = HKS_ALG_ECC
204 .uint32Param = HKS_ALG_ECC
[all …]
Dhks_export_test.cpp161 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
171 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
180 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
189 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
Dhks_ecdh_agree_part2_test.cpp71 .uint32Param = HKS_ALG_ECC
119 .uint32Param = HKS_ALG_ECC
185 .uint32Param = HKS_ALG_ECC
251 .uint32Param = HKS_ALG_ECC
305 .uint32Param = HKS_ALG_ECC
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/
Dhks_ecc_verify_mt.cpp50 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
66 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
82 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
98 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
114 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
130 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
147 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
164 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
180 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
197 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
[all …]
Dhks_ecc_sign_mt.cpp52 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
68 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
84 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
100 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
116 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
132 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
149 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
165 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
181 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
197 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
[all …]
Dhks_ecc_key_mt.cpp48 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
64 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
80 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
96 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
112 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
128 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
145 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
162 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
178 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
195 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
[all …]
Dhks_agree_mt.cpp95 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
119 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
142 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
165 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
189 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
213 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
236 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
259 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
283 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
307 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
[all …]
/base/security/huks/test/unittest/huks_standard_test/module_test/utils_test/src/
Dhks_attest_utils_test.cpp169 struct HksPubKeyInfo info = { HKS_ALG_ECC, 0, 0, 0, 0};
170 struct HksUsageSpec usageSpec = { .algType = HKS_ALG_ECC, .mode = 0xffff };
185 …struct HksPubKeyInfo info = { HKS_ALG_ECC, HKS_ECC_KEY_SIZE_384, HKS_ECC_KEY_SIZE_521, HKS_ECC_KEY…
186 struct HksUsageSpec usageSpec = { .algType = HKS_ALG_ECC, .mode = 0xffff };
201 …struct HksPubKeyInfo info = { HKS_ALG_ECC, HKS_ECC_KEY_SIZE_521, HKS_ECC_KEY_SIZE_521, HKS_ECC_KE…
202 struct HksUsageSpec usageSpec = { .algType = HKS_ALG_ECC, .mode = 0xffff };
/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/
Dhks_mbedtls_ability.c59 …(void)RegisterAbility(HKS_CRYPTO_ABILITY_GENERATE_KEY(HKS_ALG_ECC), (void *)HksMbedtlsEccGenerateK… in RegisterAbilityGenerateKey()
84 …(void)RegisterAbility(HKS_CRYPTO_ABILITY_GET_PUBLIC_KEY(HKS_ALG_ECC), (void *)HksMbedtlsGetEccPubK… in RegisterAbilityGetPublicKey()
103 (void)RegisterAbility(HKS_CRYPTO_ABILITY_SIGN(HKS_ALG_ECC), (void *)HksMbedtlsEcdsaSign); in RegisterAbilitySign()
116 (void)RegisterAbility(HKS_CRYPTO_ABILITY_VERIFY(HKS_ALG_ECC), (void *)HksMbedtlsEcdsaVerify); in RegisterAbilityVerify()
/base/security/huks/test/unittest/huks_standard_test/module_test/framework_test/common_test/src/
Dhks_check_paramset_test.cpp87 int32_t ret = CheckMutableParams(HKS_ALG_ECC, keyType, &params);
202 ret = CheckImportKeySize(HKS_ALG_ECC, nullptr, &key);
321 .keyAlg = HKS_ALG_ECC,
338 ret = CheckEccKeyLen(HKS_ALG_ECC, 0, &values, &key);
343 ret = CheckEccKeyLen(HKS_ALG_ECC, 0, &values, &key);
348 ret = CheckEccKeyLen(HKS_ALG_ECC, 0, &values, &key);
353 ret = CheckEccKeyLen(HKS_ALG_ECC, 0, &values, &key);
358 ret = CheckEccKeyLen(HKS_ALG_ECC, HKS_KEY_TYPE_KEY_PAIR, &values, &key);
363 ret = CheckEccKeyLen(HKS_ALG_ECC, HKS_KEY_TYPE_KEY_PAIR, &values, &key);
367 ret = CheckEccKeyLen(HKS_ALG_ECC, HKS_KEY_TYPE_KEY_PAIR, &values, &key);
/base/security/huks/test/unittest/huks_standard_test/module_test/service_test/huks_engine/core/src/
Dhks_keynode_test.cpp159 KeyNodeFreeCtx(HKS_KEY_PURPOSE_ENCRYPT, HKS_ALG_ECC, false, &ctx);
161 KeyNodeFreeCtx(HKS_KEY_PURPOSE_DECRYPT, HKS_ALG_ECC, false, &ctx);
163 KeyNodeFreeCtx(HKS_KEY_PURPOSE_MAC, HKS_ALG_ECC, false, &ctx);
/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/
Dhks_openssl_ability.c51 (void)RegisterAbility(HKS_CRYPTO_ABILITY_GENERATE_KEY(HKS_ALG_ECC), HksOpensslEccGenerateKey); in RegisterAbilityGenerateKey()
85 (void)RegisterAbility(HKS_CRYPTO_ABILITY_GET_PUBLIC_KEY(HKS_ALG_ECC), HksOpensslGetEccPubKey); in RegisterAbilityGetPublicKey()
110 (void)RegisterAbility(HKS_CRYPTO_ABILITY_SIGN(HKS_ALG_ECC), HksOpensslEcdsaSign); in RegisterAbilitySign()
129 (void)RegisterAbility(HKS_CRYPTO_ABILITY_VERIFY(HKS_ALG_ECC), HksOpensslEcdsaVerify); in RegisterAbilityVerify()
/base/security/huks/services/huks_standard/huks_engine/main/core_dependency/src/
Dhks_chipset_platform_key_hardcoded.c46 .keyAlg = HKS_ALG_ECC, in MallocAndFillFullHksPublicKey()
79 .keyAlg = HKS_ALG_ECC, in MallocFullPlatformPrivateKey()
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/include/
Dhks_cross_test.h208 .uint32Param = HKS_ALG_ECC
223 .uint32Param = HKS_ALG_ECC
238 .uint32Param = HKS_ALG_ECC
/base/security/code_signature/services/local_code_sign/src/
Dlocal_sign_key.cpp43 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
50 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
Dhks_import_sign_verify_test.cpp550 material.keyAlg = HKS_ALG_ECC; in ConstructEcPrivateKey()
610 material.keyAlg = HKS_ALG_ECC; in ConstructEcKey()
811 } else if (alg == HKS_ALG_ECC) { in ConstructImportedKey()
1072 ImportPlainKeyTest(HKS_ALG_ECC, HKS_ECC_KEY_SIZE_224, HKS_DIGEST_SHA256, false);
1082 ImportPlainKeyTest(HKS_ALG_ECC, HKS_ECC_KEY_SIZE_256, HKS_DIGEST_SHA384, false);
1092 ImportPlainKeyTest(HKS_ALG_ECC, HKS_ECC_KEY_SIZE_384, HKS_DIGEST_SHA512, false);
1102 ImportPlainKeyTest(HKS_ALG_ECC, HKS_ECC_KEY_SIZE_521, HKS_DIGEST_SHA224, false);
1125 …ImportInvalidPurposePlainKeyTest(HKS_ALG_ECC, HKS_ECC_KEY_SIZE_256, HKS_DIGEST_NONE, HKS_KEY_PURPO…
Dhks_import_agree_test.cpp647 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
766 material.keyAlg = HKS_ALG_ECC; in ConstructEccKey()
1000 } else if (alg == HKS_ALG_ECC) { in ConstructImportedKey()
1079 } else if (alg == HKS_ALG_ECC) { in ConstructAgreePubKey()
1159 ModifyinitOpParams((alg == HKS_ALG_ECC) ? HKS_ALG_ECDH : alg, keySize); in TestAgreeOp()
1235 ImportAgreeTest(HKS_ALG_ECC, HKS_ECC_KEY_SIZE_256);
/base/security/huks/test/reliability/src/
Dpressure_test.cpp184 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
222 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
269 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
315 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
353 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
404 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
445 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
481 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
529 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
706 HksParam algForKey = { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC };
[all …]
/base/security/huks/frameworks/huks_standard/main/common/src/
Dhks_check_paramset.c55 HKS_ALG_ECC,
94 HKS_ALG_ECC,
145 HKS_ALG_ECC,
362 case HKS_ALG_ECC: in CheckImportKeySize()
657 case HKS_ALG_ECC: in CheckKeyLen()
686 case HKS_ALG_ECC: in CheckMutableParams()
882 if (alg == HKS_ALG_DH || alg == HKS_ALG_ECC || alg == HKS_ALG_ECDH) { in HksCoreCheckAgreeKeyParams()
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/
Dhks_inner_test.cpp108 ret = CheckImportMutableParams(HKS_ALG_ECC, &values);
278 ret = HksFormatKeyFromMaterial(HKS_ALG_ECC, &keyMaterial, nullptr);
296 ret = HksFormatKeyFromMaterial(HKS_ALG_ECC, &keyMaterial, nullptr);

123