Searched refs:kRngReseedSize (Results 1 – 1 of 1) sorted by relevance
76 static const int kRngReseedSize = 64; variable782 uint8_t rand_seed[kRngReseedSize]; in ReseedRng()783 memset(rand_seed, 0, kRngReseedSize); in ReseedRng()784 if (trusty_rng_hw_rand(rand_seed, kRngReseedSize) != 0) { in ReseedRng()788 LOG_I("Reseeding with %d bytes from HW RNG", kRngReseedSize); in ReseedRng()789 trusty_rng_add_entropy(rand_seed, kRngReseedSize); in ReseedRng()