Searched refs:RNG_RESEED_SIZE (Results 1 – 1 of 1) sorted by relevance
31 #define RNG_RESEED_SIZE 64 macro85 UniquePtr<uint8_t[]> rand_seed(new uint8_t[RNG_RESEED_SIZE]); in ReseedRng()86 memset(rand_seed.get(), 0, RNG_RESEED_SIZE); in ReseedRng()87 if (trusty_rng_secure_rand(rand_seed.get(), RNG_RESEED_SIZE) != NO_ERROR) { in ReseedRng()91 trusty_rng_add_entropy(rand_seed.get(), RNG_RESEED_SIZE); in ReseedRng()