]> git.cryptolib.org Git - arm-crypto-lib.git/blobdiff - noekeon/noekeon_prng.c
improving present
[arm-crypto-lib.git] / noekeon / noekeon_prng.c
index 17c71a5a3a96d22bd2598441d8e5edf4dad4ecfa..3b2eca9c494d0a92661b2e7840aca167cc91af09 100644 (file)
  * 
  */
 
-#include "noekeon/noekeon.h"
-#include "memxor/memxor.h"
+#include "noekeon.h"
+#include "memxor.h"
 #include <stdint.h>
 #include <string.h>
 
 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];