Home
last modified time | relevance | path

Searched refs:HksAgreeKey (Results 1 – 21 of 21) sorted by relevance

/base/security/huks/interfaces/inner_api/huks_standard/main/
Dlibhukssdk.map32 HksAgreeKey;
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/asymmetric_alg_test/
Dhks_ecdh_agree_part2_test.cpp352 ret = HksAgreeKey(initParamSet02, &g_keyAlias02006, &publicKey01, &outData02);
405 ret = HksAgreeKey(initParamSet02, &g_keyAlias02007, &publicKey01, &outData02);
458 ret = HksAgreeKey(initParamSet02, &g_keyAlias02008, &publicKey01, &outData02);
Dhks_dh_agree_test.cpp632 ret = HksAgreeKey(initParamSet02, &g_keyAlias02004, &publicKey01, &outData02);
685 ret = HksAgreeKey(initParamSetTest02, &g_keyAlias02005, &publicKey01, &outData02);
738 ret = HksAgreeKey(initParamSetTest02, &g_keyAlias02006, &publicKey01, &outData02);
922 ret = HksAgreeKey(initParamSet02, &g_keyAlias02010, &publicKey01, &outData02);
Dhks_ecdh_agree_part1_test.cpp296 ret = HksAgreeKey(initParamSet02, &g_keyAlias02005, &publicKey01, &outData02);
/base/security/huks/interfaces/inner_api/huks_standard/main/include/
Dhks_api.h180 HKS_API_EXPORT int32_t HksAgreeKey(const struct HksParamSet *paramSet, const struct HksBlob *privat…
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/
Dhks_agree_mt.cpp571 …EXPECT_EQ(HksAgreeKey(agreeKeyParams, &bob, &x509KeyAlise, agreeKeyBob), testCaseParams.agreeResul… in ServiceAgreeScenario()
619 …EXPECT_EQ(HksAgreeKey(agreeKeyParams, &alise, &pubKeyBob, agreeKeyAlise), testCaseParams.agreeResu… in LocalAgreeScenario()
620 …EXPECT_EQ(HksAgreeKey(agreeKeyParams, &bob, &pubKeyAlise, agreeKeyBob), testCaseParams.agreeResult… in LocalAgreeScenario()
691 … EXPECT_EQ(HksAgreeKey(paramInSet, &alise, &pubKeyBob, agreeKeyAlise), testCaseParams.agreeResult); in DhLocalAgreeScenario()
692 … EXPECT_EQ(HksAgreeKey(paramInSet, &bob, &pubKeyAlise, agreeKeyBob), testCaseParams.agreeResult); in DhLocalAgreeScenario()
/base/security/huks/test/unittest/huks_lite_test/common/
Dhks_test_api_performance.c176 int32_t ret = HksAgreeKey(paramSet, privateKey, peerPublicKey, agreedKey); in HksAgreeKeyRun()
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/
Dhks_test_api_performance.c183 ret = HksAgreeKey(paramSet, privateKey, peerPublicKey, agreedKey); in HksAgreeKeyRun()
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
Dhks_cross_test.cpp632 ret = HksAgreeKey(initParamSet02, &g_dhKeyAlias02, &publicKey01, &outData02);
680 ret = HksAgreeKey(initParamSet02, &g_ecdhKeyAlias02, &publicKey01, &outData02);
728 ret = HksAgreeKey(initParamSet02, &g_x25519KeyAlias02, &publicKey01, &outData02);
Dhks_import_wrapped_test_common.cpp152 … ret = HksAgreeKey(params->agreeParamSet, params->callerKeyAlias, huksPublicKey, outSharedKey); in ImportKekAndAgreeSharedSecret()
Dhks_access_control_agree_test.cpp396 ret = HksAgreeKey(agreeParamSet, &keyAlias, &publicKey, &outDataBlob);
Dhks_x25519_agree_test.cpp501 ret = HksAgreeKey(initParamSet02, &g_keyAlias02002, &publicKey01, &outData02);
Dhks_chipset_platform_encrypt_test.cpp336 ret = HksAgreeKey(agreeParamSet.s, &g_tmpKeyPairAlias, &x509PubKey, &sharedKey); in AgreeSharedKey()
/base/security/huks/test/unittest/huks_standard_test/module_test/interface_test/src/
Dhks_api_test.cpp318 int32_t ret = HksAgreeKey(nullptr, nullptr, nullptr, nullptr);
/base/security/huks/interfaces/inner_api/huks_standard/main/src/
Dhks_api.c377 HKS_API_EXPORT int32_t HksAgreeKey(const struct HksParamSet *paramSet, const struct HksBlob *privat… in HksAgreeKey() function
/base/security/huks/test/reliability/src/
Dapi_pressure_test.cpp742 EXPECT_EQ(HksAgreeKey(paramInSet, authId, &pubKey, &agreeKey), HKS_SUCCESS); in AgreeKeyTest()
907 EXPECT_EQ(HksAgreeKey(agreeKeyParam, &authId, &pubKey, &agreeKey), HKS_SUCCESS); in AgreeScene()
Dpressure_test.cpp702 int32_t ret = HksAgreeKey(paramInSet, &authId, &pubKey, &agreeKey);
1190 int32_t ret = HksAgreeKey(paramInSet, &priKey, &pubKey, &agreeKey);
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/
Dhuks_adapter.c664 res = HksAgreeKey(paramSet, &priKeyBlob, &pubKeyBlob, &sharedKeyBlob); in AgreeSharedSecret()
/base/security/device_auth/frameworks/deviceauth_lite/test/unittest/unittest_mock/
Dhuks_adapter_mock.c1505 …hks_status = HksAgreeKey(param_set, &self_private_key_blob, &peer_public_key_blob, &key_alias_for_… in compute_sts_shared_secret()
Dhuks_adapter_mock_for_pake.c1575 …hks_status = HksAgreeKey(param_set, &self_private_key_blob, &peer_public_key_blob, &key_alias_for_… in compute_sts_shared_secret()
/base/security/device_auth/frameworks/deviceauth_lite/source/huks_adapter/
Dhuks_adapter.c1624 …hks_status = HksAgreeKey(param_set, &self_private_key_blob, &peer_public_key_blob, &key_alias_for_… in compute_sts_shared_secret()