/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/ |
D | hks_x25519_agree_test.cpp | 80 .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 …]
|
D | hks_import_wrapped_x25519_suite_test.cpp | 77 {.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_…
|
D | hks_access_control_agree_test.cpp | 115 { .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 },
|
D | hks_check_auth_part_test.cpp | 181 { .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()
|
D | hks_import_agree_test.cpp | 996 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/ |
D | hks_mbedtls_ability.c | 62 …(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()
|
D | hks_mbedtls_x25519.c | 180 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/ |
D | hks_agreement_test.cpp | 66 { 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 },
|
D | hks_generate_key_test.cpp | 64 true, HKS_ALG_X25519,
|
D | hks_safe_compare_key_test.cpp | 70 true, HKS_ALG_X25519,
|
/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/ |
D | hks_openssl_ability.c | 54 …(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()
|
D | hks_openssl_ed25519tox25519.c | 344 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/ |
D | hks_cross_test_common.h | 130 .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/ |
D | hks_attest_utils_test.cpp | 137 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/ |
D | hks_agreement_test.cpp | 65 { 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 },
|
D | hks_generate_key_test.cpp | 63 true, HKS_ALG_X25519,
|
D | hks_safe_compare_key_test.cpp | 68 true, HKS_ALG_X25519,
|
/base/security/huks/test/unittest/huks_lite_test/liteos_m_adapter/ |
D | hks_agreement_test.c | 68 { 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 },
|
D | hks_generate_key_test.c | 66 true, HKS_ALG_X25519,
|
D | hks_safe_compare_key_test.c | 71 true, HKS_ALG_X25519,
|
/base/security/huks/frameworks/huks_standard/main/common/src/ |
D | hks_check_paramset.c | 64 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()
|
D | hks_crypto_adapter.c | 519 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/ |
D | hks_client_service_adapter_common.c | 106 case HKS_ALG_X25519: in GetHksPubKeyInnerFormat()
|
/base/security/huks/test/unittest/huks_standard_test/module_test/framework_test/common_test/src/ |
D | hks_check_paramset_test.cpp | 147 int32_t ret = CheckMutableParams(HKS_ALG_X25519, keyType, ¶ms); 196 ret = CheckImportKeySize(HKS_ALG_X25519, nullptr, &key);
|
/base/security/huks/services/huks_standard/huks_engine/main/device_cert_manager/src/ |
D | dcm_attest_utils.c | 243 } else if (info->keyAlg == HKS_ALG_X25519) { in DcmGetPublicKey()
|