mirror of https://github.com/ARMmbed/mbed-os.git
Stronger RNG
parent
5710178afb
commit
d7d841fe17
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue