Home
last modified time | relevance | path

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

123

/base/security/huks/test/unittest/huks_standard_test/crypto_engine_test/src/
Dhks_crypto_hal_ecdsa_sign.cpp46 .algType = HKS_ALG_ECC,
51 .algType = HKS_ALG_ECC,
65 .algType = HKS_ALG_ECC,
70 .algType = HKS_ALG_ECC,
84 .algType = HKS_ALG_ECC,
89 .algType = HKS_ALG_ECC,
103 .algType = HKS_ALG_ECC,
108 .algType = HKS_ALG_ECC,
122 .algType = HKS_ALG_ECC,
127 .algType = HKS_ALG_ECC,
[all …]
Dhks_crypto_hal_ecc_key.cpp39 .algType = HKS_ALG_ECC,
52 .algType = HKS_ALG_ECC,
65 .algType = HKS_ALG_ECC,
78 .algType = HKS_ALG_ECC,
176 .algType = HKS_ALG_ECC,
Dhks_crypto_hal_ecdh_agree.cpp42 .algType = HKS_ALG_ECC,
57 .algType = HKS_ALG_ECC,
72 .algType = HKS_ALG_ECC,
87 .algType = HKS_ALG_ECC,
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
Dhks_ecc_sign_verify_part3_test.cpp55 .uint32Param = HKS_ALG_ECC
70 .uint32Param = HKS_ALG_ECC
85 .uint32Param = HKS_ALG_ECC
101 .uint32Param = HKS_ALG_ECC
116 .uint32Param = HKS_ALG_ECC
131 .uint32Param = HKS_ALG_ECC
147 .uint32Param = HKS_ALG_ECC
162 .uint32Param = HKS_ALG_ECC
177 .uint32Param = HKS_ALG_ECC
193 .uint32Param = HKS_ALG_ECC
[all …]
Dhks_ecc_sign_verify_part1_test.cpp54 .uint32Param = HKS_ALG_ECC
69 .uint32Param = HKS_ALG_ECC
84 .uint32Param = HKS_ALG_ECC
100 .uint32Param = HKS_ALG_ECC
115 .uint32Param = HKS_ALG_ECC
130 .uint32Param = HKS_ALG_ECC
146 .uint32Param = HKS_ALG_ECC
161 .uint32Param = HKS_ALG_ECC
176 .uint32Param = HKS_ALG_ECC
192 .uint32Param = HKS_ALG_ECC
[all …]
Dhks_ecc_sign_verify_part2_test.cpp54 .uint32Param = HKS_ALG_ECC
69 .uint32Param = HKS_ALG_ECC
84 .uint32Param = HKS_ALG_ECC
100 .uint32Param = HKS_ALG_ECC
115 .uint32Param = HKS_ALG_ECC
130 .uint32Param = HKS_ALG_ECC
146 .uint32Param = HKS_ALG_ECC
161 .uint32Param = HKS_ALG_ECC
176 .uint32Param = HKS_ALG_ECC
192 .uint32Param = HKS_ALG_ECC
[all …]
Dhks_export_test.cpp135 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
144 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
153 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
162 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
Dhks_import_sign_verify_test.cpp517 material.keyAlg = HKS_ALG_ECC; in ConstructEcPrivateKey()
577 material.keyAlg = HKS_ALG_ECC; in ConstructEcKey()
735 } else if (alg == HKS_ALG_ECC) { in ConstructImportedKey()
966 ImportPlainKeyTest(HKS_ALG_ECC, HKS_ECC_KEY_SIZE_224, HKS_DIGEST_SHA256);
976 ImportPlainKeyTest(HKS_ALG_ECC, HKS_ECC_KEY_SIZE_256, HKS_DIGEST_SHA384);
986 ImportPlainKeyTest(HKS_ALG_ECC, HKS_ECC_KEY_SIZE_384, HKS_DIGEST_SHA512);
996 ImportPlainKeyTest(HKS_ALG_ECC, HKS_ECC_KEY_SIZE_521, HKS_DIGEST_SHA224);
Dhks_ecdh_agree_part2_test.cpp61 .uint32Param = HKS_ALG_ECC
127 .uint32Param = HKS_ALG_ECC
193 .uint32Param = HKS_ALG_ECC
259 .uint32Param = HKS_ALG_ECC
313 .uint32Param = HKS_ALG_ECC
Dhks_import_agree_test.cpp637 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
756 material.keyAlg = HKS_ALG_ECC; in ConstructEccKey()
990 } else if (alg == HKS_ALG_ECC) { in ConstructImportedKey()
1069 } else if (alg == HKS_ALG_ECC) { in ConstructAgreePubKey()
1149 ModifyinitOpParams((alg == HKS_ALG_ECC) ? HKS_ALG_ECDH : alg, keySize); in TestAgreeOp()
1223 ImportAgreeTest(HKS_ALG_ECC, HKS_ECC_KEY_SIZE_256);
Dhks_ecdh_agree_part1_test.cpp69 .uint32Param = HKS_ALG_ECC
191 .uint32Param = HKS_ALG_ECC
313 .uint32Param = HKS_ALG_ECC
435 .uint32Param = HKS_ALG_ECC
549 .uint32Param = HKS_ALG_ECC
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/
Dhks_ecc_sign_mt.cpp47 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
63 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
79 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
95 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
111 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
127 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
143 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
159 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
175 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
191 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
[all …]
Dhks_ecc_verify_mt.cpp45 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
61 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
77 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
93 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
109 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
125 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
141 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
157 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
173 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
189 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
[all …]
Dhks_ecc_key_mt.cpp47 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
63 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
79 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
95 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
111 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
127 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
143 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
159 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
175 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
191 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
[all …]
Dhks_agree_mt.cpp90 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
113 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
136 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
159 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
182 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
205 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
228 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
251 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
274 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
297 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
[all …]
/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/
Dhks_mbedtls_ability.c58 …(void)RegisterAbility(HKS_CRYPTO_ABILITY_GENERATE_KEY(HKS_ALG_ECC), (void *)HksMbedtlsEccGenerateK… in RegisterAbilityGenerateKey()
83 …(void)RegisterAbility(HKS_CRYPTO_ABILITY_GET_PUBLIC_KEY(HKS_ALG_ECC), (void *)HksMbedtlsGetEccPubK… in RegisterAbilityGetPublicKey()
102 (void)RegisterAbility(HKS_CRYPTO_ABILITY_SIGN(HKS_ALG_ECC), (void *)HksMbedtlsEcdsaSign); in RegisterAbilitySign()
115 (void)RegisterAbility(HKS_CRYPTO_ABILITY_VERIFY(HKS_ALG_ECC), (void *)HksMbedtlsEcdsaVerify); in RegisterAbilityVerify()
Dhks_mbedtls_ecc.c108 if ((keyMaterial->keyAlg != HKS_ALG_ECC) && (keyMaterial->keyAlg != HKS_ALG_ECDH)) { in HksMbedtlsEccGetKeyCurveNist()
172 keyMaterial->keyAlg = HKS_ALG_ECC; in EccSaveKeyMaterial()
/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/
Dhks_openssl_ability.c50 (void)RegisterAbility(HKS_CRYPTO_ABILITY_GENERATE_KEY(HKS_ALG_ECC), HksOpensslEccGenerateKey); in RegisterAbilityGenerateKey()
84 (void)RegisterAbility(HKS_CRYPTO_ABILITY_GET_PUBLIC_KEY(HKS_ALG_ECC), HksOpensslGetEccPubKey); in RegisterAbilityGetPublicKey()
109 (void)RegisterAbility(HKS_CRYPTO_ABILITY_SIGN(HKS_ALG_ECC), HksOpensslEcdsaSign); in RegisterAbilitySign()
128 (void)RegisterAbility(HKS_CRYPTO_ABILITY_VERIFY(HKS_ALG_ECC), HksOpensslEcdsaVerify); in RegisterAbilityVerify()
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/include/
Dhks_cross_test.h206 .uint32Param = HKS_ALG_ECC
221 .uint32Param = HKS_ALG_ECC
236 .uint32Param = HKS_ALG_ECC
/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 …]
Dapi_pressure_test.cpp60 …t struct HksParam g_PARAM_ALGORITHM_ECC = { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC };
398 } else if (paramAlgorithm[index]->uint32Param == HKS_ALG_ECC) { in ParamForSign()
540 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC }, in GenerateKeyTest()
596 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC }, in DeleteKeyTest()
649 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC }, in GenerateRandomTest()
1011 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
1047 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
1102 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
1138 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
1193 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ECC },
[all …]
/base/security/huks/frameworks/huks_standard/main/common/src/
Dhks_check_paramset.c54 HKS_ALG_ECC,
93 HKS_ALG_ECC,
138 HKS_ALG_ECC,
343 case HKS_ALG_ECC: in CheckImportKeySize()
638 case HKS_ALG_ECC: in CheckKeyLen()
667 case HKS_ALG_ECC: in CheckMutableParams()
862 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.cpp107 ret = CheckImportMutableParams(HKS_ALG_ECC, &values);
276 ret = HksFormatKeyFromMaterial(HKS_ALG_ECC, &keyMaterial, nullptr);
293 ret = HksFormatKeyFromMaterial(HKS_ALG_ECC, &keyMaterial, nullptr);
/base/security/huks/utils/crypto_adapter/
Dhks_client_service_adapter_common.c112 case HKS_ALG_ECC: in GetHksPubKeyInnerFormat()
/base/security/huks/test/unittest/huks_standard_test/module_test/framework_test/common_test/src/
Dhks_base_check_test.cpp153 int32_t ret = HksCheckSignature(0, HKS_ALG_ECC, HKS_RSA_KEY_SIZE_1024, nullptr);
195 int32_t ret = CheckImportMutableParams(HKS_ALG_ECC, &values);

123