Home
last modified time | relevance | path

Searched refs:agreeSpec (Results 1 – 2 of 2) sorted by relevance

/base/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_core_service.c228 struct HksKeySpec agreeSpec = { 0, HKS_CURVE25519_KEY_SIZE_256, NULL }; in GenAgreeKey() local
230 agreeSpec.algType = HKS_ALG_X25519; in GenAgreeKey()
232 agreeSpec.algType = HKS_ALG_ED25519; in GenAgreeKey()
238 ret = HksCryptoHalAgreeKey(privateKey, peerPublicKey, &agreeSpec, agreedKey); in GenAgreeKey()
1123 struct HksKeySpec agreeSpec = { 0 }; in HksCoreAgreeKey() local
1124 HksFillKeySpec(paramSet, &agreeSpec); in HksCoreAgreeKey()
1126 ret = HksCryptoHalAgreeKey(&key, peerPublicKey, &agreeSpec, agreedKey); in HksCoreAgreeKey()
Dhks_core_service_three_stage.c1225 struct HksKeySpec agreeSpec = { 0 }; in HksCoreAgreeThreeStageUpdate() local
1226 HksFillKeySpec(keyNode->runtimeParamSet, &agreeSpec); in HksCoreAgreeThreeStageUpdate()
1228 ret = HksCryptoHalAgreeKey(&rawKey, &publicKey, &agreeSpec, agreeTemp); in HksCoreAgreeThreeStageUpdate()