Searched refs:trusty_rng_add_entropy (Results 1 – 7 of 7) sorted by relevance
35 trusty_rng_add_entropy(data); in add_entropy()44 pub fn trusty_rng_add_entropy(data: &[u8]) { in trusty_rng_add_entropy() function46 let rc = unsafe { ffi_bindings::sys::trusty_rng_add_entropy(data.as_ptr(), data.len()) }; in trusty_rng_add_entropy()
17 use crate::ffi_bindings::trusty_rng_add_entropy;26 trusty_rng_add_entropy(data); in add_entropy()
34 pub fn trusty_rng_add_entropy(data: &[u8]) { in trusty_rng_add_entropy() function37 sys::trusty_rng_add_entropy(data.as_ptr(), data.len()) in trusty_rng_add_entropy()
28 int trusty_rng_add_entropy(const uint8_t* data, size_t len);
63 int trusty_rng_add_entropy(const uint8_t* data, size_t len) { in trusty_rng_add_entropy() function
91 trusty_rng_add_entropy(rand_seed.get(), RNG_RESEED_SIZE); in ReseedRng()
757 if (trusty_rng_add_entropy(buf, length) != 0) in AddRngEntropy()789 trusty_rng_add_entropy(rand_seed, kRngReseedSize); in ReseedRng()