Home
last modified time | relevance | path

Searched refs:trusty_rng_add_entropy (Results 1 – 7 of 7) sorted by relevance

/trusty/user/app/sample/hwcryptohal/server/
Dplatform_functions.rs35 trusty_rng_add_entropy(data); in add_entropy()
44 pub fn trusty_rng_add_entropy(data: &[u8]) { in trusty_rng_add_entropy() function
46 let rc = unsafe { ffi_bindings::sys::trusty_rng_add_entropy(data.as_ptr(), data.len()) }; in trusty_rng_add_entropy()
/trusty/user/app/keymint/
Drng.rs17 use crate::ffi_bindings::trusty_rng_add_entropy;
26 trusty_rng_add_entropy(data); in add_entropy()
Dffi_bindings.rs34 pub fn trusty_rng_add_entropy(data: &[u8]) { in trusty_rng_add_entropy() function
37 sys::trusty_rng_add_entropy(data.as_ptr(), data.len()) in trusty_rng_add_entropy()
/trusty/user/base/lib/rng/include/lib/rng/
Dtrusty_rng.h28 int trusty_rng_add_entropy(const uint8_t* data, size_t len);
/trusty/user/base/lib/rng/
Dtrusty_rng.c63 int trusty_rng_add_entropy(const uint8_t* data, size_t len) { in trusty_rng_add_entropy() function
/trusty/user/app/gatekeeper/
Dtrusty_gatekeeper.cpp91 trusty_rng_add_entropy(rand_seed.get(), RNG_RESEED_SIZE); in ReseedRng()
/trusty/user/app/keymaster/
Dtrusty_keymaster_context.cpp757 if (trusty_rng_add_entropy(buf, length) != 0) in AddRngEntropy()
789 trusty_rng_add_entropy(rand_seed, kRngReseedSize); in ReseedRng()