/test/xts/acts/security_lite/huks/liteos_a_adapter/ |
H A D | hks_agreement_test.cpp | 78 struct HksBlob *peerPublicKey, struct HksBlob *agreedKey) in AgreeKey() 91 ret = HksAgreeKeyRun(agreeParamSet, privateKey, peerPublicKey, agreedKey, 1); in AgreeKey() 106 struct HksBlob *peerPublicKey = NULL; in HWTEST_F() local 113 ret = GenerateLocalX25519Key(NULL, &peerPublicKey, NULL, &g_testAgreeParams[0].localPublicKeyParams); in HWTEST_F() 125 ret = AgreeKey(&g_testAgreeParams[0].agreeParamSetParams, privateKey, peerPublicKey, agreeKey); in HWTEST_F() 140 TestFreeBlob(&peerPublicKey); in HWTEST_F() 155 struct HksBlob *peerPublicKey = NULL; in HWTEST_F() local 162 ret = GenerateLocalX25519Key(&privateKey, &peerPublicKey, &g_testAgreeParams[0].localPrivateKeyParams, \ in HWTEST_F() 185 ret = AgreeKey(&g_testAgreeParams[0].agreeParamSetParams, privateKey2, peerPublicKey, agreeKey2); in HWTEST_F() 199 TestFreeBlob(&peerPublicKey); in HWTEST_F() 77 AgreeKey(const struct HksTestAgreeParamSet *agreeParamSetParams, struct HksBlob *privateKey, struct HksBlob *peerPublicKey, struct HksBlob *agreedKey) AgreeKey() argument [all...] |
/test/xts/acts/security_lite/huks/liteos_m_adapter/ |
H A D | hks_agreement_test.c | 105 struct HksBlob *peerPublicKey, struct HksBlob *agreedKey) in AgreeKey() 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].localPublicKeyParams); 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].localPublicKeyParams); in ExecHksAgreementTest002() 198 ret = AgreeKey(&g_testAgreeParams[0].agreeParamSetParams, privateKey, peerPublicKey, agreeKey); in ExecHksAgreementTest002() 213 TestFreeBlob(&peerPublicKey); in ExecHksAgreementTest002() 104 AgreeKey(const struct HksTestAgreeParamSet *agreeParamSetParams, struct HksBlob *privateKey, struct HksBlob *peerPublicKey, struct HksBlob *agreedKey) AgreeKey() argument [all...] |
/test/xts/acts/security_lite/huks/common/ |
H A D | hks_test_api_performance.c | 171 const struct HksBlob *peerPublicKey, struct HksBlob *agreedKey, uint32_t performTimes) in HksAgreeKeyRun() 184 ret = HksAgreeKey(paramSet, privateKey, peerPublicKey, agreedKey); in HksAgreeKeyRun() 170 HksAgreeKeyRun(const struct HksParamSet *paramSet, const struct HksBlob *privateKey, const struct HksBlob *peerPublicKey, struct HksBlob *agreedKey, uint32_t performTimes) HksAgreeKeyRun() argument
|
/test/xts/acts/security/huks/huks_napi_BasicTest/include/ |
H A D | huks_three_stage_test_common.h | 70 const struct OH_Huks_Blob *peerPublicKey, struct OH_Huks_Blob *agreedKey);
|
/test/xts/acts/security_lite/huks/common/include/ |
H A D | hks_test_api_performance.h | 49 const struct HksBlob *peerPublicKey, struct HksBlob *agreedKey, uint32_t performTimes);
|
/test/xts/acts/security/huks/huks_ndk_Test/entry/src/main/cpp/ |
H A D | utils.cpp | 141 const struct OH_Huks_Blob* peerPublicKey, struct OH_Huks_Blob* agreedKey)
in HuksAgreeKey() 153 ret = OH_Huks_UpdateSession(&handle, paramSet, peerPublicKey, &outDataUpdate);
in HuksAgreeKey() 386 struct OH_Huks_Blob* peerPublicKey, struct OH_Huks_Blob* wrappedKeyData)
in ImportWrappedKey() 402 struct OH_Huks_Blob* blobArray[] = {peerPublicKey, &commonAad, &commonNonce, &agreeKeyTag, kekCipherText,
in ImportWrappedKey() 140 HuksAgreeKey(const struct OH_Huks_ParamSet* paramSet, const struct OH_Huks_Blob* keyAlias, const struct OH_Huks_Blob* peerPublicKey, struct OH_Huks_Blob* agreedKey) HuksAgreeKey() argument 384 ImportWrappedKey(const struct HksImportWrappedKeyTestParams* params, struct OH_Huks_Blob* plainCipher, struct OH_Huks_Blob* kekCipherText, struct OH_Huks_Blob* peerPublicKey, struct OH_Huks_Blob* wrappedKeyData) ImportWrappedKey() argument
|
/test/xts/acts/security/huks/huks_napi_BasicTest/src/ |
H A D | huks_wrapped_test_common.cpp | 174 struct OH_Huks_Blob *kekCipherText, struct OH_Huks_Blob *peerPublicKey,
in ImportWrappedKey() 200 struct OH_Huks_Blob *blobArray[] = {peerPublicKey, &commonAad, &commonNonce, &agreeKeyTag, kekCipherText,
in ImportWrappedKey() 173 ImportWrappedKey(const struct HksImportWrappedKeyTestParams *params, struct OH_Huks_Blob *plainCipher, struct OH_Huks_Blob *kekCipherText, struct OH_Huks_Blob *peerPublicKey, struct OH_Huks_Blob *wrappedKeyData) ImportWrappedKey() argument
|
H A D | huks_three_stage_test_common.cpp | 559 const struct OH_Huks_Blob *peerPublicKey, struct OH_Huks_Blob *agreedKey) in HuksAgreeKey() 573 ret = OH_Huks_UpdateSession(&handle, paramSet, peerPublicKey, &outDataUpdate); in HuksAgreeKey() 558 HuksAgreeKey(const struct OH_Huks_ParamSet *paramSet, const struct OH_Huks_Blob *keyAlias, const struct OH_Huks_Blob *peerPublicKey, struct OH_Huks_Blob *agreedKey) HuksAgreeKey() argument
|