Stronger RNG

pull/2238/head
cyliangtw 2016-07-28 15:19:39 +08:00
parent 5710178afb
commit d7d841fe17
1 changed files with 1 additions and 2 deletions

View File

@ -53,8 +53,7 @@ static void rng_get( int32_t *p32ConversionData)
PRNG_ENABLE_INT();
// PRNG_Open(PRNG_KEY_SIZE_64, 0, 0);
PRNG_Open(PRNG_KEY_SIZE_256, 0, 0);
PRNG_Open(PRNG_KEY_SIZE_256, 1, us_ticker_read());
PRNG_Start();
while (!g_PRNG_done);