/base/security/asset/frameworks/os_dependency/openssl/inc/ |
H A D | openssl_wrapper.h | 28 int32_t GenerateRandom(uint8_t *random, uint32_t randomLen);
|
/base/security/device_security_level/services/common/ |
H A D | dslm_crypto.c | 23 void GenerateRandom(RandomValue *rand, uint32_t length) in GenerateRandom() function
|
/base/security/device_security_level/services/include/ |
H A D | dslm_crypto.h | 36 void GenerateRandom(RandomValue *rand, uint32_t length);
|
/base/security/asset/frameworks/os_dependency/openssl/src/ |
H A D | openssl_wrapper.c | 38 int32_t GenerateRandom(uint8_t *random, uint32_t randomLen) in GenerateRandom() function
|
/base/security/crypto_framework/frameworks/cj/include/ |
H A D | random_impl.h | 32 HcfBlob GenerateRandom(int32_t numBytes, int32_t* errCode);
|
/base/security/asset/services/db_key_operator/src/ |
H A D | lib.rs | 58 fn GenerateRandom(random: *mut u8, random_len: u32) -> i32; in GenerateRandom() functions 79 if unsafe { GenerateRandom(db_key.as_mut_ptr(), db_key.len() as u32) } != SUCCESS { in generate_db_key()
|
/base/security/crypto_framework/frameworks/crypto_operation/ |
H A D | rand.c | 71 static HcfResult GenerateRandom(HcfRand *self, int32_t numBytes, HcfBlob *random) in GenerateRandom() function 161 returnRandApi->base.generateRandom = GenerateRandom; in HcfRandCreate()
|
/base/security/crypto_framework/frameworks/cj/src/ |
H A D | random_impl.cpp | 41 HcfBlob RandomImpl::GenerateRandom(int32_t numBytes, int32_t* errCode) in GenerateRandom() function in OHOS::CryptoFramework::RandomImpl
|
H A D | crypto_ffi.cpp | 62 LOGD("[Random] GenerateRandom start"); in FfiOHOSGenerateRandom() 70 randBlob = instance->GenerateRandom(numBytes, errCode); in FfiOHOSGenerateRandom() 71 LOGD("[Randome] GenerateRandom success"); in FfiOHOSGenerateRandom()
|
/base/security/crypto_framework/frameworks/js/jsi/inc/ |
H A D | jsi_api.h | 42 static JSIValue GenerateRandom(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum);
|
/base/security/crypto_framework/frameworks/js/jsi/src/ |
H A D | jsi_rand.cpp | 46 JSIValue generateRandom = JSI::CreateFunction(GenerateRandom); in CreateRandom() 59 JSIValue CryptoFrameworkLiteModule::GenerateRandom(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum) in GenerateRandom() function in OHOS::ACELite::CryptoFrameworkLiteModule 62 LOGE("GenerateRandom params is err!"); in GenerateRandom() 68 LOGE("GenerateRandom randObj is null!"); in GenerateRandom() 75 LOGE("GenerateRandom numBytes too small!"); in GenerateRandom() 82 LOGE("GenerateRandom randObj not is success!"); in GenerateRandom() 103 LOGE("GenerateRandom randObj is null!!"); in GenerateRandomSync()
|
/base/security/device_security_level/services/dslm/ |
H A D | dslm_inner_process.c | 48 GenerateRandom(&rand, RANDOM_MAX_LEN); in CheckAndGenerateChallenge()
|
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/idl/passthrough/ |
H A D | huks_hdi_access.c | 434 HKS_IF_NULL_LOGE_RETURN(g_hksHdiProxyInstance->GenerateRandom, HKS_ERROR_NULL_POINTER, in HdiProxyGenerateRandom() 435 "GenerateRandom function is null pointer") in HdiProxyGenerateRandom() 436 return g_hksHdiProxyInstance->GenerateRandom(g_hksHdiProxyInstance, paramSet, random); in HdiProxyGenerateRandom()
|
/base/security/device_security_level/test/dslm_unit_test/ |
H A D | dslm_test.cpp | 1017 GenerateRandom(&rand1, sizeof(uint64_t)); in HWTEST_F() 1021 GenerateRandom(&rand2, sizeof(uint64_t)); in HWTEST_F() 1036 GenerateRandom(&rand, 1024); in HWTEST_F() 1039 GenerateRandom(nullptr, 1024); in HWTEST_F()
|
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/ |
H A D | huks_adapter.c | 151 static int32_t GenerateRandom(Uint8Buff *rand) in GenerateRandom() function 2248 .generateRandom = GenerateRandom,
|