Home
last modified time | relevance | path

Searched refs:HksGenerateRandom (Results 1 – 22 of 22) sorted by relevance

/base/security/huks/interfaces/inner_api/huks_lite/
Dhks_tmp_client.c33 return HksGenerateRandom(NULL, &temp); in hks_generate_random()
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
Dhks_pbkdf2_derive_part2_test.cpp554 ret = HksGenerateRandom(NULL, &(saltParam->blob));
598 ret = HksGenerateRandom(NULL, &(saltParam->blob));
640 ret = HksGenerateRandom(NULL, &(saltParam->blob));
684 ret = HksGenerateRandom(NULL, &(saltParam->blob));
727 ret = HksGenerateRandom(NULL, &(saltParam->blob));
771 ret = HksGenerateRandom(NULL, &(saltParam->blob));
815 ret = HksGenerateRandom(NULL, &(saltParam->blob));
858 ret = HksGenerateRandom(NULL, &(saltParam->blob));
902 ret = HksGenerateRandom(NULL, &(saltParam->blob));
952 ret = HksGenerateRandom(NULL, &(saltParam->blob));
[all …]
Dhks_pbkdf2_derive_part1_test.cpp661 ret = HksGenerateRandom(NULL, &(saltParam->blob));
706 ret = HksGenerateRandom(NULL, &(saltParam->blob));
750 ret = HksGenerateRandom(NULL, &(saltParam->blob));
795 ret = HksGenerateRandom(NULL, &(saltParam->blob));
839 ret = HksGenerateRandom(NULL, &(saltParam->blob));
883 ret = HksGenerateRandom(NULL, &(saltParam->blob));
927 ret = HksGenerateRandom(NULL, &(saltParam->blob));
972 ret = HksGenerateRandom(NULL, &(saltParam->blob));
1016 ret = HksGenerateRandom(NULL, &(saltParam->blob));
Dhks_chipset_platform_encrypt_test.cpp380 ret = HksGenerateRandom(nullptr, &iv); in AesGcmEncrypt()
382 ret = HksGenerateRandom(nullptr, &aad); in AesGcmEncrypt()
Dhks_import_rsa_test.cpp822 (void)HksGenerateRandom(nullptr, &inData); in DoOperation()
Dhks_import_sign_verify_test.cpp955 (void)HksGenerateRandom(nullptr, &inData); in DoOperation()
Dhks_import_key_test.cpp691 (void)HksGenerateRandom(nullptr, &key); in ImportTest()
Dhks_cross_test.cpp792 ret = HksGenerateRandom(NULL, &(saltParam->blob));
/base/security/huks/interfaces/inner_api/huks_standard/main/
Dlibhukssdk.map26 HksGenerateRandom;
/base/security/huks/interfaces/inner_api/huks_standard/main/include/
Dhks_api.h126 HKS_API_EXPORT int32_t HksGenerateRandom(const struct HksParamSet *paramSet, struct HksBlob *random…
/base/security/huks/test/unittest/huks_lite_test/common/
Dhks_test_api_performance.c155 int32_t ret = HksGenerateRandom(NULL, random); in HksGenerateRandomRun()
Dhks_test_common.c71 HKS_TEST_ASSERT(HksGenerateRandom(NULL, &tmp) == 0); in TestConstuctBlob()
85 HKS_TEST_ASSERT(HksGenerateRandom(NULL, &tmp) == 0); in TestConstuctBlob()
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/
Dhks_test_api_performance.c161 ret = HksGenerateRandom(NULL, random); in HksGenerateRandomRun()
Dhks_test_common.c68 HKS_TEST_ASSERT(HksGenerateRandom(NULL, &tmp) == 0); in TestConstuctBlob()
82 HKS_TEST_ASSERT(HksGenerateRandom(NULL, &tmp) == 0); in TestConstuctBlob()
/base/security/huks/test/unittest/huks_standard_test/module_test/interface_test/src/
Dhks_api_test.cpp380 int32_t ret = HksGenerateRandom(nullptr, nullptr);
/base/security/huks/interfaces/inner_api/huks_standard/main/src/
Dhks_api.c243 HKS_API_EXPORT int32_t HksGenerateRandom(const struct HksParamSet *paramSet, struct HksBlob *random) in HksGenerateRandom() function
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/mini/
Dhuks_adapter.c152 int32_t res = HksGenerateRandom(NULL, &randBlob); in GenerateRandom()
/base/security/huks/test/reliability/src/
Dpressure_test.cpp455 int32_t ret = HksGenerateRandom(paramInSet, &authId);
1253 HksGenerateRandom(paramInSet, &authId);
Dapi_pressure_test.cpp660 EXPECT_EQ(HksGenerateRandom(paramInSet, &authId), HKS_SUCCESS); in GenerateRandomTest()
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/small/
Dhuks_adapter.c132 int32_t res = HksGenerateRandom(NULL, &randBlob); in GenerateRandom()
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/standard/
Dhuks_adapter.c134 int32_t res = HksGenerateRandom(NULL, &randBlob); in GenerateRandom()
/base/security/device_auth/frameworks/deviceauth_lite/source/huks_adapter/
Dhuks_adapter.c365 int32_t status = HksGenerateRandom(NULL, &hks_rand); in generate_random()