/base/security/huks/test/unittest/huks_standard_test/crypto_engine_test/src/ |
D | hks_crypto_hal_ecdsa_sign.cpp | 49 .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 …]
|
D | hks_crypto_hal_ecc_key.cpp | 41 .algType = HKS_ALG_ECC, 55 .algType = HKS_ALG_ECC, 68 .algType = HKS_ALG_ECC, 81 .algType = HKS_ALG_ECC, 183 .algType = HKS_ALG_ECC,
|
D | hks_crypto_hal_ecdh_agree.cpp | 45 .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/ |
D | hks_ecc_sign_verify_part3_test.cpp | 65 .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 …]
|
D | hks_ecc_sign_verify_part1_test.cpp | 64 .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 …]
|
D | hks_ecc_sign_verify_part2_test.cpp | 65 .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 …]
|
D | hks_export_test.cpp | 161 { .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 },
|
D | hks_ecdh_agree_part2_test.cpp | 71 .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/ |
D | hks_ecc_verify_mt.cpp | 50 { .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 …]
|
D | hks_ecc_sign_mt.cpp | 52 { .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 …]
|
D | hks_ecc_key_mt.cpp | 48 { .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 …]
|
D | hks_agree_mt.cpp | 95 { .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/ |
D | hks_attest_utils_test.cpp | 169 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/ |
D | hks_mbedtls_ability.c | 59 …(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/ |
D | hks_check_paramset_test.cpp | 87 int32_t ret = CheckMutableParams(HKS_ALG_ECC, keyType, ¶ms); 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/ |
D | hks_keynode_test.cpp | 159 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/ |
D | hks_openssl_ability.c | 51 (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/ |
D | hks_chipset_platform_key_hardcoded.c | 46 .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/ |
D | hks_cross_test.h | 208 .uint32Param = HKS_ALG_ECC 223 .uint32Param = HKS_ALG_ECC 238 .uint32Param = HKS_ALG_ECC
|
/base/security/code_signature/services/local_code_sign/src/ |
D | local_sign_key.cpp | 43 { .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/ |
D | hks_import_sign_verify_test.cpp | 550 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…
|
D | hks_import_agree_test.cpp | 647 { .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/ |
D | pressure_test.cpp | 184 { .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/ |
D | hks_check_paramset.c | 55 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/ |
D | hks_inner_test.cpp | 108 ret = CheckImportMutableParams(HKS_ALG_ECC, &values); 278 ret = HksFormatKeyFromMaterial(HKS_ALG_ECC, &keyMaterial, nullptr); 296 ret = HksFormatKeyFromMaterial(HKS_ALG_ECC, &keyMaterial, nullptr);
|