Searched refs:randomBytes (Results 1 – 4 of 4) sorted by relevance
/system/security/keystore2/src/crypto/ |
D | lib.rs | 22 extractSubjectFromCertificate, generateKeyFromPassword, randomBytes, AES_gcm_decrypt, 52 if unsafe { randomBytes(key.as_mut_ptr(), AES_256_KEY_LENGTH) } { in generate_aes256_key() 68 if unsafe { randomBytes(data.as_mut_ptr(), size) } { in generate_random_data() 127 if !unsafe { randomBytes(iv.as_mut_ptr(), GCM_IV_LENGTH) } { in aes_gcm_encrypt()
|
D | crypto.hpp | 25 bool randomBytes(uint8_t* out, size_t len);
|
D | Android.bp | 62 "--allowlist-function", "randomBytes",
|
D | crypto.cpp | 69 bool randomBytes(uint8_t* out, size_t len) { in randomBytes() function
|