Home
last modified time | relevance | path

Searched refs:RAND_bytes (Results 1 – 9 of 9) sorted by relevance

/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/
Dhks_openssl_common.c36 if (RAND_bytes(tmpKey, keySizeByte) <= 0) { in HksOpensslGenerateRandomKey()
57 RAND_bytes(randomData->data, randomData->size); in HksOpensslFillRandomInner()
/base/security/device_security_level/services/common/
Ddslm_crypto.c30 RAND_bytes(&rand->value[0], rand->length); in GenerateRandom()
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/
Dcert_manager_crypto_operation.c34 int ret = RAND_bytes(random->data, random->size); in CmGetRandom()
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/
Dopenssl_hmac_helper.c33 if (RAND_bytes(tmpKey, keySizeByte) != 1) { in HmacGenerateKey()
Dopenssl_aes_helper.c39 if (RAND_bytes(key, keySize) != 1) { in GenerateAesKey()
/base/useriam/user_auth_framework/services/context/src/
Dcontext_pool_impl.cpp157 RAND_bytes(contextIdPtr, sizeof(uint64_t)); in GetNewContextId()
/base/security/code_signature/services/local_code_sign/src/
Dlocal_sign_key.cpp165 RAND_bytes(challenge_.get(), CHALLENGE_LEN); in GetAttestParamSet()
/base/security/dlp_permission_service/frameworks/test/mock/
Dopenssl_mock.cpp71 int RAND_bytes(unsigned char *buf, int num) in RAND_bytes() function
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/src/
Ddlp_crypt.cpp80 int res = RAND_bytes(tmpKey, keySizeByte); in DlpOpensslGenerateRandomKey()