/base/security/huks/test/unittest/huks_standard_test/three_stage_test/include/ |
D | hks_ed25519_sign_verify_test.h | 78 .uint32Param = HKS_ALG_ED25519 93 .uint32Param = HKS_ALG_ED25519 108 .uint32Param = HKS_ALG_ED25519 124 .uint32Param = HKS_ALG_ED25519 139 .uint32Param = HKS_ALG_ED25519 154 .uint32Param = HKS_ALG_ED25519 169 .uint32Param = HKS_ALG_ED25519 184 .uint32Param = HKS_ALG_ED25519 200 .uint32Param = HKS_ALG_ED25519 215 .uint32Param = HKS_ALG_ED25519 [all …]
|
D | hks_cross_test.h | 252 .uint32Param = HKS_ALG_ED25519 267 .uint32Param = HKS_ALG_ED25519 282 .uint32Param = HKS_ALG_ED25519
|
/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/ |
D | hks_mbedtls_ability.c | 64 …(void)RegisterAbility(HKS_CRYPTO_ABILITY_GENERATE_KEY(HKS_ALG_ED25519), (void *)HksEd25519Generate… in RegisterAbilityGenerateKey() 86 …(void)RegisterAbility(HKS_CRYPTO_ABILITY_GET_PUBLIC_KEY(HKS_ALG_ED25519), (void *)HksGetEd25519Pub… in RegisterAbilityGetPublicKey() 105 (void)RegisterAbility(HKS_CRYPTO_ABILITY_SIGN(HKS_ALG_ED25519), (void *)HksEd25519Sign); in RegisterAbilitySign() 118 (void)RegisterAbility(HKS_CRYPTO_ABILITY_VERIFY(HKS_ALG_ED25519), (void *)HksEd25519Verify); in RegisterAbilityVerify() 167 …(void)RegisterAbility(HKS_CRYPTO_ABILITY_AGREE_KEY(HKS_ALG_ED25519), (void *)HksMbedtlsEd25519KeyA… in RegisterAbilityAgree()
|
D | hks_crypto_ed25519.c | 50 keyMaterial->keyAlg = HKS_ALG_ED25519; in SaveEd25519KeyMaterial()
|
D | hks_mbedtls_x25519.c | 802 ret = HksGetKeyFromMaterial(HKS_ALG_ED25519, false, nativeKey, &(key.rawNativeKey)); in HksMbedtlsEd25519KeyAgreement() 804 ret = HksGetKeyFromMaterial(HKS_ALG_ED25519, true, pubKey, &(key.rawPubKey)); in HksMbedtlsEd25519KeyAgreement()
|
/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/ |
D | hks_openssl_ability.c | 56 …(void)RegisterAbility(HKS_CRYPTO_ABILITY_GENERATE_KEY(HKS_ALG_ED25519), HksOpensslCurve25519Genera… in RegisterAbilityGenerateKey() 87 …(void)RegisterAbility(HKS_CRYPTO_ABILITY_GET_PUBLIC_KEY(HKS_ALG_ED25519), HksOpensslGetEd25519PubK… in RegisterAbilityGetPublicKey() 112 (void)RegisterAbility(HKS_CRYPTO_ABILITY_SIGN(HKS_ALG_ED25519), HksOpensslEd25519Sign); in RegisterAbilitySign() 131 (void)RegisterAbility(HKS_CRYPTO_ABILITY_VERIFY(HKS_ALG_ED25519), HksOpensslEd25519Verify); in RegisterAbilityVerify() 206 (void)RegisterAbility(HKS_CRYPTO_ABILITY_AGREE_KEY(HKS_ALG_ED25519), HksOpensslEd25519AgreeKey); in RegisterAbilityAgree()
|
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/ |
D | hks_test_curve25519.c | 38 algParam.uint32Param = HKS_ALG_ED25519; in TestGenerateEd25519Key() 78 algParam.uint32Param = HKS_ALG_ED25519; in TestSignEd25519() 118 algParam.uint32Param = HKS_ALG_ED25519; in TestVerifyEd25519() 159 algParam.uint32Param = HKS_ALG_ED25519; in TestImportEd25519() 246 algParam.uint32Param = HKS_ALG_ED25519; in BuildTeeSignParamSet() 280 algParam.uint32Param = HKS_ALG_ED25519; in BuildLocalVerifyParamSet() 363 algParam.uint32Param = HKS_ALG_ED25519; in TestSignEd25519Wrong() 417 algParam.uint32Param = HKS_ALG_ED25519; in TestVerifyEd25519Wrong()
|
D | hks_test_aes.c | 155 .uint32Param = HKS_ALG_ED25519 }, in GenerateBaseKey() 208 .uint32Param = HKS_ALG_ED25519 }, in PlainPubKey() 237 .uint32Param = HKS_ALG_ED25519 }, in SetKeyAliasTrue() 264 .uint32Param = HKS_ALG_ED25519 }, in SetKeyAliasWrong() 307 .uint32Param = HKS_ALG_ED25519 }, in ImportPubKey()
|
/base/security/huks/test/unittest/huks_lite_test/common/ |
D | hks_test_curve25519.c | 40 algParam.uint32Param = HKS_ALG_ED25519; in TestGenerateEd25519Key() 80 algParam.uint32Param = HKS_ALG_ED25519; in TestSignEd25519() 120 algParam.uint32Param = HKS_ALG_ED25519; in TestVerifyEd25519() 161 algParam.uint32Param = HKS_ALG_ED25519; in TestImportEd25519() 250 algParam.uint32Param = HKS_ALG_ED25519; in BuildTeeSignParamSet() 284 algParam.uint32Param = HKS_ALG_ED25519; in BuildLocalVerifyParamSet() 365 algParam.uint32Param = HKS_ALG_ED25519; in TestSignEd25519Wrong() 420 algParam.uint32Param = HKS_ALG_ED25519; in TestVerifyEd25519Wrong()
|
D | hks_test_aes.c | 156 .uint32Param = HKS_ALG_ED25519 }, in GenerateBaseKey() 209 .uint32Param = HKS_ALG_ED25519 }, in PlainPubKey() 238 .uint32Param = HKS_ALG_ED25519 }, in SetKeyAliasTrue() 265 .uint32Param = HKS_ALG_ED25519 }, in SetKeyAliasWrong() 309 .uint32Param = HKS_ALG_ED25519 }, in ImportPubKey()
|
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/ |
D | hks_import_sign_verify_test.cpp | 377 …dataBlob.data = (alg == HKS_ALG_ED25519) ? (uint8_t *)g_ed25519PriData : (uint8_t *)g_x25519PriDat… in CopyToInner() 378 … dataBlob.size = (alg == HKS_ALG_ED25519) ? sizeof(g_ed25519PriData) : sizeof(g_x25519PriData); in CopyToInner() 380 …dataBlob.data = (alg == HKS_ALG_ED25519) ? (uint8_t *)g_ed25519PubData : (uint8_t *)g_x25519PubDat… in CopyToInner() 381 … dataBlob.size = (alg == HKS_ALG_ED25519) ? sizeof(g_ed25519PubData) : sizeof(g_x25519PubData); in CopyToInner() 395 …privKeyBlob.data = (alg == HKS_ALG_ED25519) ? (uint8_t *)g_ed25519PriData : (uint8_t *)g_x25519Pri… in ConstructImportedCurve25519Key() 396 … privKeyBlob.size = (alg == HKS_ALG_ED25519) ? sizeof(g_ed25519PriData) : sizeof(g_x25519PriData); in ConstructImportedCurve25519Key() 397 …pubKeyBlob.data = (alg == HKS_ALG_ED25519) ? (uint8_t *)g_ed25519PubData : (uint8_t *)g_x25519PubD… in ConstructImportedCurve25519Key() 398 pubKeyBlob.size = (alg == HKS_ALG_ED25519) ? sizeof(g_ed25519PubData) : sizeof(g_x25519PubData); in ConstructImportedCurve25519Key() 731 if (alg == HKS_ALG_ED25519 || alg == HKS_ALG_X25519) { in ConstructImportedKey() 955 ImportPlainKeyTest(HKS_ALG_ED25519, HKS_CURVE25519_KEY_SIZE_256, HKS_DIGEST_SHA256);
|
D | hks_access_control_secure_sign_test.cpp | 165 .uint32Param = HKS_ALG_ED25519 328 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ED25519 }, 349 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ED25519 }, 423 .uint32Param = HKS_ALG_ED25519 439 .uint32Param = HKS_ALG_ED25519 674 case HKS_ALG_ED25519: { in BuildImportKeyTestParams() 687 … ret = ConstructEd25519KeyPair(HKS_CURVE25519_KEY_SIZE_256, HKS_ALG_ED25519, &ed25519PubData, in BuildImportKeyTestParams() 718 case HKS_ALG_ED25519: { in BuildUpdateFinishParams() 754 case HKS_ALG_ED25519: { in BuildUpdateFinishVerifyParams()
|
D | hks_check_auth_part_test.cpp | 229 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ED25519 }, 240 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ED25519 }, 298 algParam->uint32Param == HKS_ALG_X25519 || algParam->uint32Param == HKS_ALG_ED25519 || in getParamSetAuthTest()
|
D | hks_export_test.cpp | 179 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ED25519 },
|
D | hks_import_key_test.cpp | 584 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ED25519 }, 597 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_ED25519 },
|
/base/security/huks/frameworks/huks_standard/main/common/src/ |
D | hks_check_paramset.c | 63 HKS_ALG_ED25519, 99 HKS_ALG_ED25519, 141 HKS_ALG_ED25519, 340 case HKS_ALG_ED25519: in CheckImportKeySize() 644 case HKS_ALG_ED25519: in CheckKeyLen() 676 case HKS_ALG_ED25519: in CheckMutableParams() 855 if (alg == HKS_ALG_ED25519) { in HksCoreCheckAgreeKeyParams() 867 } else if (alg == HKS_ALG_ED25519) { in HksCoreCheckAgreeKeyParams()
|
D | hks_crypto_adapter.c | 235 struct KeyMaterial25519 curve25519Km = {HKS_ALG_ED25519, 0, 0, 0, 0}; in SetCurve25519KeyMaterial() 559 case HKS_ALG_ED25519: in HksSetKeyToMaterial() 585 case HKS_ALG_ED25519: in HksGetKeyFromMaterial() 598 case HKS_ALG_ED25519: in HksFormatKeyFromMaterial()
|
D | hks_base_check.c | 611 HKS_ALG_ED25519, 889 case HKS_ALG_ED25519: in InitInputParamsByAlg() 955 case HKS_ALG_ED25519: in GetExpectParams() 1461 case HKS_ALG_ED25519: in HksGetKeySize() 1627 if (((alg == HKS_ALG_SM2) || (alg == HKS_ALG_DSA) || (alg == HKS_ALG_ED25519)) && in CheckImportMutableParams() 1687 case HKS_ALG_ED25519: in HksCheckSignature() 1886 if ((alg == HKS_ALG_ED25519) || (digest == HKS_DIGEST_NONE)) { in HksCheckNeedCache()
|
/base/security/huks/utils/crypto_adapter/ |
D | hks_client_service_adapter_common.c | 105 case HKS_ALG_ED25519: in GetHksPubKeyInnerFormat()
|
/base/security/huks/services/huks_standard/huks_engine/main/core/src/ |
D | hks_keyblob_lite.c | 219 keyMaterial->keyAlg = HKS_ALG_ED25519; in Ed25519BlobToKeyMaterial() 289 if ((keyInfo->keyAlg == HKS_ALG_ED25519) && (keyInfo->flag == HKS_KEY_FLAG_GENERATE_KEY)) { in GetRawKeyMaterial() 428 if ((algParam->uint32Param == HKS_ALG_ED25519) && (keyFlag == HKS_KEY_FLAG_GENERATE_KEY)) { in AdjustKey()
|
D | hks_upgrade_key_info.c | 296 keyMaterial->keyAlg = HKS_ALG_ED25519; in ConvertEd25519ToNewFormat() 430 spec->algType = HKS_ALG_ED25519; in TranslateToNewValue()
|
D | hks_keynode.c | 355 hasCalcHash &= (param2->uint32Param != HKS_ALG_ED25519); in FreeRuntimeParamSet()
|
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/ |
D | cert_manager_app_cert_process.c | 308 int32_t ret = SaveKeyMaterialCurve25519(HKS_ALG_ED25519, priKey, &keyPair); in ImportEd25519Key() 315 .algType = HKS_ALG_ED25519, in ImportEd25519Key()
|
/base/security/huks/frameworks/huks_standard/main/core/src/ |
D | hks_local_engine.c | 268 } else if (algParam->uint32Param == HKS_ALG_ED25519) { in CheckLocalSignVerifyParams() 275 if (algParam->uint32Param == HKS_ALG_ED25519) { in CheckLocalSignVerifyParams()
|
/base/security/huks/interfaces/innerkits/huks_standard/main/include/ |
D | hks_type.h | 179 HKS_ALG_ED25519 = 102, enumerator
|