Searched refs:generate_random_data (Results 1 – 2 of 2) sorted by relevance
46 keystore2_crypto::generate_random_data(size).context("Retrieving entropy for KeyMint device") in get_entropy()
61 generate_random_data(SALT_LENGTH) in generate_salt()65 pub fn generate_random_data(size: usize) -> Result<Vec<u8>, Error> { in generate_random_data() function