X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=noekeon%2Fnoekeon_prng.c;h=3b2eca9c494d0a92661b2e7840aca167cc91af09;hb=7390f9235d6bc08b7fe34a5f43a04bd3b58f6ea6;hp=17c71a5a3a96d22bd2598441d8e5edf4dad4ecfa;hpb=d70d1d77bab1a5f5278227d674bc59da0378fe15;p=arm-crypto-lib.git diff --git a/noekeon/noekeon_prng.c b/noekeon/noekeon_prng.c index 17c71a5..3b2eca9 100644 --- a/noekeon/noekeon_prng.c +++ b/noekeon/noekeon_prng.c @@ -24,14 +24,14 @@ * */ -#include "noekeon/noekeon.h" -#include "memxor/memxor.h" +#include "noekeon.h" +#include "memxor.h" #include #include static uint8_t random_state[16]; static uint8_t random_key[16]; -static uint8_t i=0; +static volatile uint8_t i=0; uint8_t random8(void){ static uint8_t sr[16];