Home
last modified time | relevance | path

Searched refs:HKS_ALG_X25519 (Results 1 – 25 of 47) sorted by relevance

12

/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
Dhks_x25519_agree_test.cpp80 .uint32Param = HKS_ALG_X25519
92 .uint32Param = HKS_ALG_X25519
122 .uint32Param = HKS_ALG_X25519
162 .uint32Param = HKS_ALG_X25519
174 .uint32Param = HKS_ALG_X25519
192 .uint32Param = HKS_ALG_X25519
219 .uint32Param = HKS_ALG_X25519
231 .uint32Param = HKS_ALG_X25519
243 .uint32Param = HKS_ALG_X25519
265 .uint32Param = HKS_ALG_X25519
[all …]
Dhks_import_wrapped_x25519_suite_test.cpp77 {.tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_X25519},
83 {.tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_X25519},
89 {.tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_X25519},
268 {.tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_X25519},
277 {.tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_X25519},
286 {.tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_X25519},
535 …int32_t ret = ConstructImportedCurve25519Key(HKS_ALG_X25519, HKS_CURVE25519_KEY_SIZE_256, HKS_KEY_…
566 …int32_t ret = ConstructImportedCurve25519Key(HKS_ALG_X25519, HKS_CURVE25519_KEY_SIZE_256, HKS_KEY_…
595 …int32_t ret = ConstructImportedCurve25519Key(HKS_ALG_X25519, HKS_CURVE25519_KEY_SIZE_256, HKS_KEY_…
Dhks_access_control_agree_test.cpp115 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_X25519 },
124 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_X25519 },
423 {.tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_X25519},
452 { .tag = HKS_TAG_AGREE_ALG, .uint32Param = HKS_ALG_X25519 },
Dhks_check_auth_part_test.cpp181 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_X25519 },
193 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_X25519 },
308 algParam->uint32Param == HKS_ALG_X25519 || algParam->uint32Param == HKS_ALG_ED25519 || in getParamSetAuthTest()
Dhks_import_agree_test.cpp996 if (alg == HKS_ALG_X25519) { in ConstructImportedKey()
1077 if (alg == HKS_ALG_X25519) { in ConstructAgreePubKey()
1224 ImportAgreeTest(HKS_ALG_X25519, HKS_CURVE25519_KEY_SIZE_256);
/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/
Dhks_mbedtls_ability.c62 …(void)RegisterAbility(HKS_CRYPTO_ABILITY_GENERATE_KEY(HKS_ALG_X25519), (void *)HksMbedtlsX25519Gen… in RegisterAbilityGenerateKey()
90 …(void)RegisterAbility(HKS_CRYPTO_ABILITY_GET_PUBLIC_KEY(HKS_ALG_X25519), (void *)HksMbedtlsGetX255… in RegisterAbilityGetPublicKey()
165 …(void)RegisterAbility(HKS_CRYPTO_ABILITY_AGREE_KEY(HKS_ALG_X25519), (void *)HksMbedtlsX25519KeyAgr… in RegisterAbilityAgree()
Dhks_mbedtls_x25519.c180 keyMaterial->keyAlg = HKS_ALG_X25519; in X25519SaveKeyMaterial()
811 …ret = HksSetKeyToMaterial(HKS_ALG_X25519, false, &(key.rawX25519NativeKey), &(key.kmX25519NativeKe… in HksMbedtlsEd25519KeyAgreement()
814 … ret = HksSetKeyToMaterial(HKS_ALG_X25519, true, &(key.rawX25519PubKey), &(key.kmX25519PubKey)); in HksMbedtlsEd25519KeyAgreement()
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/
Dhks_agreement_test.cpp66 { true, true, HKS_ALG_X25519, true, HKS_CURVE25519_KEY_SIZE_256, true,
70 { true, true, HKS_ALG_X25519, true, HKS_CURVE25519_KEY_SIZE_256, true, false },
Dhks_generate_key_test.cpp64 true, HKS_ALG_X25519,
Dhks_safe_compare_key_test.cpp70 true, HKS_ALG_X25519,
/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/
Dhks_openssl_ability.c54 …(void)RegisterAbility(HKS_CRYPTO_ABILITY_GENERATE_KEY(HKS_ALG_X25519), HksOpensslCurve25519Generat… in RegisterAbilityGenerateKey()
91 …(void)RegisterAbility(HKS_CRYPTO_ABILITY_GET_PUBLIC_KEY(HKS_ALG_X25519), HksOpensslGetEd25519PubKe… in RegisterAbilityGetPublicKey()
212 (void)RegisterAbility(HKS_CRYPTO_ABILITY_AGREE_KEY(HKS_ALG_X25519), HksOpensslX25519AgreeKey); in RegisterAbilityAgree()
Dhks_openssl_ed25519tox25519.c344 keyMaterialOut->keyAlg = HKS_ALG_X25519; in ConvertPubkeyX25519FromED25519()
378 keyMaterialOut->keyAlg = HKS_ALG_X25519; in ConvertPrivX25519FromED25519()
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/include/
Dhks_cross_test_common.h130 .uint32Param = HKS_ALG_X25519
142 .uint32Param = HKS_ALG_X25519
160 .uint32Param = HKS_ALG_X25519
/base/security/huks/test/unittest/huks_standard_test/module_test/utils_test/src/
Dhks_attest_utils_test.cpp137 struct HksPubKeyInfo info = { HKS_ALG_X25519, 0, 0, 0, 0};
138 struct HksUsageSpec usageSpec = { .algType = HKS_ALG_X25519, .mode = 0xffff };
/base/security/huks/test/unittest/huks_lite_test/liteos_a_adapter/
Dhks_agreement_test.cpp65 { true, true, HKS_ALG_X25519, true, HKS_CURVE25519_KEY_SIZE_256, true,
69 { true, true, HKS_ALG_X25519, true, HKS_CURVE25519_KEY_SIZE_256, true, false },
Dhks_generate_key_test.cpp63 true, HKS_ALG_X25519,
Dhks_safe_compare_key_test.cpp68 true, HKS_ALG_X25519,
/base/security/huks/test/unittest/huks_lite_test/liteos_m_adapter/
Dhks_agreement_test.c68 { true, true, HKS_ALG_X25519, true, HKS_CURVE25519_KEY_SIZE_256, true,
72 { true, true, HKS_ALG_X25519, true, HKS_CURVE25519_KEY_SIZE_256, true, false },
Dhks_generate_key_test.c66 true, HKS_ALG_X25519,
Dhks_safe_compare_key_test.c71 true, HKS_ALG_X25519,
/base/security/huks/frameworks/huks_standard/main/common/src/
Dhks_check_paramset.c64 HKS_ALG_X25519,
97 HKS_ALG_X25519,
158 HKS_ALG_X25519,
173 HKS_ALG_X25519,
360 case HKS_ALG_X25519: in CheckImportKeySize()
662 case HKS_ALG_X25519: in CheckKeyLen()
701 case HKS_ALG_X25519: in CheckMutableParams()
Dhks_crypto_adapter.c519 case HKS_ALG_X25519: in HksSetKeyToMaterial()
545 case HKS_ALG_X25519: in HksGetKeyFromMaterial()
558 case HKS_ALG_X25519: in HksFormatKeyFromMaterial()
/base/security/huks/utils/crypto_adapter/
Dhks_client_service_adapter_common.c106 case HKS_ALG_X25519: in GetHksPubKeyInnerFormat()
/base/security/huks/test/unittest/huks_standard_test/module_test/framework_test/common_test/src/
Dhks_check_paramset_test.cpp147 int32_t ret = CheckMutableParams(HKS_ALG_X25519, keyType, &params);
196 ret = CheckImportKeySize(HKS_ALG_X25519, nullptr, &key);
/base/security/huks/services/huks_standard/huks_engine/main/device_cert_manager/src/
Ddcm_attest_utils.c243 } else if (info->keyAlg == HKS_ALG_X25519) { in DcmGetPublicKey()

12