Searched refs:RAND_bytes (Results 1 – 9 of 9) sorted by relevance
/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/ |
D | hks_openssl_common.c | 36 if (RAND_bytes(tmpKey, keySizeByte) <= 0) { in HksOpensslGenerateRandomKey() 57 RAND_bytes(randomData->data, randomData->size); in HksOpensslFillRandomInner()
|
/base/security/device_security_level/services/common/ |
D | dslm_crypto.c | 30 RAND_bytes(&rand->value[0], rand->length); in GenerateRandom()
|
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/ |
D | cert_manager_crypto_operation.c | 34 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/ |
D | openssl_hmac_helper.c | 33 if (RAND_bytes(tmpKey, keySizeByte) != 1) { in HmacGenerateKey()
|
D | openssl_aes_helper.c | 39 if (RAND_bytes(key, keySize) != 1) { in GenerateAesKey()
|
/base/useriam/user_auth_framework/services/context/src/ |
D | context_pool_impl.cpp | 157 RAND_bytes(contextIdPtr, sizeof(uint64_t)); in GetNewContextId()
|
/base/security/code_signature/services/local_code_sign/src/ |
D | local_sign_key.cpp | 165 RAND_bytes(challenge_.get(), CHALLENGE_LEN); in GetAttestParamSet()
|
/base/security/dlp_permission_service/frameworks/test/mock/ |
D | openssl_mock.cpp | 71 int RAND_bytes(unsigned char *buf, int num) in RAND_bytes() function
|
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/src/ |
D | dlp_crypt.cpp | 80 int res = RAND_bytes(tmpKey, keySizeByte); in DlpOpensslGenerateRandomKey()
|