Home
last modified time | relevance | path

Searched refs:HKS_ALG_DH (Results 1 – 25 of 32) sorted by relevance

12

/base/security/huks/test/unittest/huks_standard_test/three_stage_test/include/asymmetric_alg_test/
Dhks_dh_agree_test.h49 .uint32Param = HKS_ALG_DH
61 .uint32Param = HKS_ALG_DH
86 .uint32Param = HKS_ALG_DH
127 .uint32Param = HKS_ALG_DH
139 .uint32Param = HKS_ALG_DH
164 .uint32Param = HKS_ALG_DH
205 .uint32Param = HKS_ALG_DH
217 .uint32Param = HKS_ALG_DH
242 .uint32Param = HKS_ALG_DH
275 .uint32Param = HKS_ALG_DH
[all …]
/base/security/huks/test/unittest/huks_standard_test/crypto_engine_test/src/
Dhks_crypto_hal_dh.cpp41 .spec = { .algType = HKS_ALG_DH, .keyLen = HKS_DH_KEY_SIZE_2048, },
46 .spec = { .algType = HKS_ALG_DH, .keyLen = HKS_DH_KEY_SIZE_3072, },
51 .spec = { .algType = HKS_ALG_DH, .keyLen = HKS_DH_KEY_SIZE_4096, },
Dhks_crypto_hal_dh_agree.cpp45 .algType = HKS_ALG_DH,
55 .algType = HKS_ALG_DH,
65 .algType = HKS_ALG_DH,
Dhks_crypto_hal_api_mbedtls.cpp438 .algType = HKS_ALG_DH,
458 .algType = HKS_ALG_DH,
492 .algType = HKS_ALG_DH,
Dhks_crypto_hal_api_openssl.cpp135 spec.algType = HKS_ALG_DH;
550 .algType = HKS_ALG_DH,
557 HksKeySpec spec = { .algType = HKS_ALG_DH, .keyLen = HKS_DH_KEY_SIZE_4096 };
/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/
Dhks_mbedtls_ability.c74 …(void)RegisterAbility(HKS_CRYPTO_ABILITY_GENERATE_KEY(HKS_ALG_DH), (void *)HksMbedtlsDhGenerateKey… in RegisterAbilityGenerateKey()
93 …(void)RegisterAbility(HKS_CRYPTO_ABILITY_GET_PUBLIC_KEY(HKS_ALG_DH), (void *)HksMbedtlsGetDhPubKey… in RegisterAbilityGetPublicKey()
171 (void)RegisterAbility(HKS_CRYPTO_ABILITY_AGREE_KEY(HKS_ALG_DH), (void *)HksMbedtlsDhAgreeKey); in RegisterAbilityAgree()
Dhks_mbedtls_dh.c80 keyMaterial->keyAlg = HKS_ALG_DH; in DhSaveKeyMaterial()
/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/
Dhks_openssl_ability.c66 (void)RegisterAbility(HKS_CRYPTO_ABILITY_GENERATE_KEY(HKS_ALG_DH), HksOpensslDhGenerateKey); in RegisterAbilityGenerateKey()
94 (void)RegisterAbility(HKS_CRYPTO_ABILITY_GET_PUBLIC_KEY(HKS_ALG_DH), HksOpensslGetDhPubKey); in RegisterAbilityGetPublicKey()
218 (void)RegisterAbility(HKS_CRYPTO_ABILITY_AGREE_KEY(HKS_ALG_DH), HksOpensslDhAgreeKey); in RegisterAbilityAgree()
Dhks_openssl_dh.c102 keyMaterial->keyAlg = HKS_ALG_DH; in DhSaveKeyMaterial()
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/include/
Dhks_cross_test.h395 .uint32Param = HKS_ALG_DH
407 .uint32Param = HKS_ALG_DH
425 .uint32Param = HKS_ALG_DH
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/asymmetric_alg_test/
Dhks_dh_agree_test.cpp73 .uint32Param = HKS_ALG_DH
85 .uint32Param = HKS_ALG_DH
103 .uint32Param = HKS_ALG_DH
130 .uint32Param = HKS_ALG_DH
142 .uint32Param = HKS_ALG_DH
154 .uint32Param = HKS_ALG_DH
175 .uint32Param = HKS_ALG_DH
187 .uint32Param = HKS_ALG_DH
199 .uint32Param = HKS_ALG_DH
221 .uint32Param = HKS_ALG_DH
[all …]
Dhks_export_test.cpp226 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_DH },
234 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_DH },
243 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_DH },
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/
Dhks_agree_mt.cpp377 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_DH },
391 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_DH },
405 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_DH },
419 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_DH },
433 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_DH },
447 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_DH },
461 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_DH },
476 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_DH },
490 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_DH },
553 } else if (algorithm == HKS_ALG_DH) { in ServiceAgreeScenario()
Dopenssl_dh_helper.c59 keyMaterial->keyAlg = HKS_ALG_DH; in DhSaveKeyMaterial()
245 keyMaterial->keyAlg = HKS_ALG_DH; in DhX509ToHksBlob()
/base/security/huks/frameworks/huks_standard/main/common/src/
Dhks_check_paramset.c70 HKS_ALG_DH,
106 HKS_ALG_DH,
164 HKS_ALG_DH,
176 HKS_ALG_DH,
364 case HKS_ALG_DH: { in CheckImportKeySize()
665 case HKS_ALG_DH: in CheckKeyLen()
702 case HKS_ALG_DH: in CheckMutableParams()
882 if (alg == HKS_ALG_DH || alg == HKS_ALG_ECC || alg == HKS_ALG_ECDH) { in HksCoreCheckAgreeKeyParams()
Dhks_crypto_adapter.c526 case HKS_ALG_DH: in HksSetKeyToMaterial()
583 case HKS_ALG_DH: in HksFormatKeyFromMaterial()
Dhks_base_check.c652 HKS_ALG_DH,
989 case HKS_ALG_DH: in InitInputParamsByAlg()
1054 case HKS_ALG_DH: in GetExpectParams()
1552 case HKS_ALG_DH: in HksGetKeySize()
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
Dhks_import_agree_test.cpp822 material.keyAlg = HKS_ALG_DH; in ConstructDhKey()
998 } else if (alg == HKS_ALG_DH) { in ConstructImportedKey()
1081 } else if (alg == HKS_ALG_DH) { in ConstructAgreePubKey()
1245 ImportAgreeTest(HKS_ALG_DH, HKS_DH_KEY_SIZE_2048);
1256 ImportAgreeTest(HKS_ALG_DH, HKS_DH_KEY_SIZE_3072);
1266 ImportAgreeTest(HKS_ALG_DH, HKS_DH_KEY_SIZE_4096);
Dhks_access_control_agree_test.cpp155 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_DH },
164 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_DH },
Dhks_import_key_test.cpp626 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_DH },
654 { .tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_DH },
/base/security/huks/utils/crypto_adapter/
Dhks_client_service_adapter_common.c115 case HKS_ALG_DH: in GetHksPubKeyInnerFormat()
Dhks_client_service_adapter.c536 case HKS_ALG_DH: in TranslateToX509PublicKeySwitchAlg()
841 keyMaterial->keyAlg = HKS_ALG_DH; in X509PublicKeyToDh()
/base/security/huks/test/unittest/huks_standard_test/module_test/framework_test/common_test/src/
Dhks_check_paramset_test.cpp162 int32_t ret = CheckMutableParams(HKS_ALG_DH, keyType, &params);
208 ret = CheckImportKeySize(HKS_ALG_DH, nullptr, &key);
/base/security/huks/test/unittest/huks_standard_test/module_test/service_test/huks_engine/core/src/
Dhks_core_service_test.cpp395 {.tag = HKS_TAG_ALGORITHM, .uint32Param = HKS_ALG_DH},
/base/security/huks/interfaces/inner_api/huks_standard/main/include/
Dhks_type.h215 HKS_ALG_DH = 103, enumerator

12