Home
last modified time | relevance | path

Searched refs:peerPublicKey (Results 1 – 7 of 7) sorted by relevance

/test/xts/acts/security_lite/huks/liteos_a_adapter/
Dhks_agreement_test.cpp78 struct HksBlob *peerPublicKey, struct HksBlob *agreedKey) in AgreeKey() argument
91 ret = HksAgreeKeyRun(agreeParamSet, privateKey, peerPublicKey, agreedKey, 1); in AgreeKey()
106 struct HksBlob *peerPublicKey = NULL; variable
113 …ret = GenerateLocalX25519Key(NULL, &peerPublicKey, NULL, &g_testAgreeParams[0].localPublicKeyParam…
125 ret = AgreeKey(&g_testAgreeParams[0].agreeParamSetParams, privateKey, peerPublicKey, agreeKey);
140 TestFreeBlob(&peerPublicKey);
155 struct HksBlob *peerPublicKey = NULL; variable
162 …ret = GenerateLocalX25519Key(&privateKey, &peerPublicKey, &g_testAgreeParams[0].localPrivateKeyPar…
185 … ret = AgreeKey(&g_testAgreeParams[0].agreeParamSetParams, privateKey2, peerPublicKey, agreeKey2);
199 TestFreeBlob(&peerPublicKey);
/test/xts/acts/security_lite/huks/liteos_m_adapter/
Dhks_agreement_test.c105 struct HksBlob *peerPublicKey, struct HksBlob *agreedKey) in AgreeKey() argument
118 ret = HksAgreeKeyRun(agreeParamSet, privateKey, peerPublicKey, agreedKey, 1); in AgreeKey()
130 struct HksBlob *peerPublicKey = NULL; in ExecHksAgreementTest001() local
137 …ret = GenerateLocalX25519Key(NULL, &peerPublicKey, NULL, &g_testAgreeParams[0].localPublicKeyParam… in ExecHksAgreementTest001()
149 ret = AgreeKey(&g_testAgreeParams[0].agreeParamSetParams, privateKey, peerPublicKey, agreeKey); in ExecHksAgreementTest001()
164 TestFreeBlob(&peerPublicKey); in ExecHksAgreementTest001()
179 struct HksBlob *peerPublicKey = NULL; in ExecHksAgreementTest002() local
186 …ret = GenerateLocalX25519Key(NULL, &peerPublicKey, NULL, &g_testAgreeParams[0].localPublicKeyParam… in ExecHksAgreementTest002()
198 ret = AgreeKey(&g_testAgreeParams[0].agreeParamSetParams, privateKey, peerPublicKey, agreeKey); in ExecHksAgreementTest002()
213 TestFreeBlob(&peerPublicKey); in ExecHksAgreementTest002()
/test/xts/acts/security/huks_napi_BasicTest/include/
Dhuks_three_stage_test_common.h93 const struct OH_Huks_Blob *peerPublicKey,
/test/xts/acts/security_lite/huks/common/include/
Dhks_test_api_performance.h49 const struct HksBlob *peerPublicKey, struct HksBlob *agreedKey, uint32_t performTimes);
/test/xts/acts/security_lite/huks/common/
Dhks_test_api_performance.c171 const struct HksBlob *peerPublicKey, struct HksBlob *agreedKey, uint32_t performTimes) in HksAgreeKeyRun() argument
184 ret = HksAgreeKey(paramSet, privateKey, peerPublicKey, agreedKey); in HksAgreeKeyRun()
/test/xts/acts/security/huks_napi_BasicTest/src/
Dhuks_wrapped_test_common.cpp178 …struct OH_Huks_Blob *kekCipherText, struct OH_Huks_Blob *peerPublicKey, struct OH_Huks_Blob *wrapp… in ImportWrappedKey() argument
205 …struct OH_Huks_Blob *blobArray[] = {peerPublicKey, &commonAad, &commonNonce, &agreeKeyTag, kekCiph… in ImportWrappedKey()
Dhuks_three_stage_test_common.cpp665 … const struct OH_Huks_Blob *peerPublicKey, struct OH_Huks_Blob *agreedKey) in HuksAgreeKey() argument
682 ret = OH_Huks_UpdateSession(&handle, paramSet, peerPublicKey, &outDataUpdate); in HuksAgreeKey()