Home
last modified time | relevance | path

Searched defs:random (Results 1 – 25 of 33) sorted by relevance

12

/base/security/huks/interfaces/inner_api/huks_lite/
Dhks_tmp_client.c23 HKS_API_EXPORT int32_t hks_generate_random(struct hks_blob *random) in hks_generate_random()
/base/security/huks/test/unittest/huks_lite_test/liteos_m_adapter/
Dhks_generate_random_test.c70 struct HksBlob *random = NULL; in LITE_TEST_CASE() local
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/
Dcert_manager_crypto_operation.c28 int32_t CmGetRandom(struct CmBlob *random) in CmGetRandom()
/base/security/huks/test/unittest/huks_lite_test/liteos_a_adapter/
Dhks_generate_random_test.cpp69 struct HksBlob *random = NULL; variable
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/
Dhks_generate_random_test.cpp71 struct HksBlob *random = NULL; variable
Dhks_test_api_performance.c148 int32_t HksGenerateRandomRun(struct HksBlob *random, uint32_t performTimes) in HksGenerateRandomRun()
/base/security/crypto_framework/frameworks/crypto_operation/
Drand.c63 static HcfResult GenerateRandom(HcfRand *self, int32_t numBytes, HcfBlob *random) in GenerateRandom()
124 HcfResult HcfRandCreate(HcfRand **random) in HcfRandCreate()
/base/security/huks/test/unittest/huks_standard_test/module_test/framework_test/common_test/src/
Dhks_crypto_hal_test.cpp73 …struct HksBlob random = { .size = randomSize, .data = reinterpret_cast<uint8_t *>(HksMalloc(random… variable
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_keyblob_lite.c45 static int32_t GetSalt(enum DeriveType type, const struct HksBlob *random, struct HksBlob *salt) in GetSalt()
67 static int32_t GetDeriveMaterial(enum DeriveType type, const struct HksBlob *random, struct HksBlob… in GetDeriveMaterial()
97 static int32_t BuildKeyBlobUsageSpec(const struct HksBlob *cipherKey, const struct HksBlob *random, in BuildKeyBlobUsageSpec()
145 struct HksBlob random = { HKS_DEFAULT_RANDOM_LEN, keyInfo->random }; in EncryptAndDecryptKeyBlob() local
Dhks_core_interfaces.c109 int32_t HuksHdiGenerateRandom(const struct HksParamSet *paramSet, struct HksBlob *random) in HuksHdiGenerateRandom()
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/rand/src/
Drand_openssl.c34 static HcfResult OpensslGenerateRandom(HcfRandSpi *self, int32_t numBytes, HcfBlob *random) in OpensslGenerateRandom()
/base/msdp/device_status/test/fuzztest/preparecoordination_fuzzer/
Dpreparecoordination_fuzzer.cpp48 int32_t random = 0; in PrepareCoordinationFuzzTest() local
/base/security/huks/test/unittest/huks_standard_test/module_test/service_test/huks_service/core/src/
Dhks_client_check_test.cpp177 struct HksBlob random = { .size = sizeof(randomData), .data = (uint8_t *)randomData}; variable
195 struct HksBlob random = { .size = sizeof(randomData), .data = (uint8_t *)randomData}; variable
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/ca/
Dhks_ca_access.c65 int32_t HksAccessGenerateRandom(const struct HksParamSet *paramSet, struct HksBlob *random) in HksAccessGenerateRandom()
/base/security/device_security_level/test/dslm_unit_test/
Ddslm_test.cpp132 uint64_t random = 0x0807060504030201; variable
145 uint64_t random = 0x0807060504030201; variable
153 uint64_t random = 0x0807060504030201; variable
165 uint64_t random = 0x0807060504030201; variable
183 uint64_t random = 0x0807060504030201; variable
/base/security/huks/services/huks_standard/huks_service/main/core/src/
Dhks_client_check.c141 …t32_t HksCheckGenerateRandomParams(const struct HksBlob *processName, const struct HksBlob *random) in HksCheckGenerateRandomParams()
/base/security/huks/test/unittest/huks_lite_test/common/
Dhks_test_api_performance.c143 int32_t HksGenerateRandomRun(struct HksBlob *random, uint32_t performTimes) in HksGenerateRandomRun()
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/idl/passthrough/
Dhuks_hdi_access.c413 static int32_t HdiProxyGenerateRandom(const struct HuksParamSet *paramSet, struct HuksBlob *random) in HdiProxyGenerateRandom()
422 …E_CFI(int32_t HuksAccessGenerateRandom(const struct HksParamSet *paramSet, struct HksBlob *random)) in ENABLE_CFI()
Dhuks_access.c299 …E_CFI(int32_t HuksAccessGenerateRandom(const struct HksParamSet *paramSet, struct HksBlob *random)) in ENABLE_CFI()
/base/security/huks/test/unittest/huks_standard_test/module_test/mock/idl/src/
Dhuks_access_mock.c177 …E_CFI(int32_t HuksAccessGenerateRandom(const struct HksParamSet *paramSet, struct HksBlob *random)) in ENABLE_CFI()
/base/security/device_auth/services/authenticators/src/account_unrelated/iso_task/
Diso_task_common.c580 uint8_t *random = (uint8_t *)HcMalloc(SEED_LEN, 0); in GenerateSeed() local
/base/security/access_token/interfaces/innerkits/nativetoken/src/
Dnativetoken.c250 uint32_t random; in GetRandomTokenId() local
/base/security/huks/frameworks/huks_standard/main/os_dependency/ipc/src/
Dhks_client_service_passthrough.c403 int32_t HksClientGenerateRandom(struct HksBlob *random, const struct HksParamSet *paramSet) in HksClientGenerateRandom()
/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()
/base/security/huks/interfaces/inner_api/huks_standard/main/include/
Dhuks_hdi.h185 #define HDI_CONVERTER_FUNC_GENERATERANDOM(paramSet, random, ret, func) \ argument

12