]> git.cryptolib.org Git - arm-crypto-lib.git/blobdiff - noekeon/noekeon_prng.c
added base64 encoding
[arm-crypto-lib.git] / noekeon / noekeon_prng.c
index a264707a3235bd72bc14b61514c9226292b46380..3b2eca9c494d0a92661b2e7840aca167cc91af09 100644 (file)
@@ -31,7 +31,7 @@
 
 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];