Commit d051d6ba58ea438d852145f59282395202b95e96

Francois Perrad 2018-02-02T13:38:56

remove unused code

diff --git a/demo/demo.c b/demo/demo.c
index 57afbaf..024eb66 100644
--- a/demo/demo.c
+++ b/demo/demo.c
@@ -1,13 +1,6 @@
 #include <string.h>
 #include <time.h>
 
-#ifdef IOWNANATHLON
-#include <unistd.h>
-#define SLEEP sleep(4)
-#else
-#define SLEEP
-#endif
-
 /*
  * Configuration
  */
@@ -50,21 +43,6 @@ static void draw(mp_int *a)
 }
 #endif
 
-#if 0
-static unsigned long lfsr = 0xAAAAAAAAUL;
-
-static int lbit(void)
-{
-   if (lfsr & 0x80000000UL) {
-      lfsr = ((lfsr << 1) ^ 0x8000001BUL) & 0xFFFFFFFFUL;
-      return 1;
-   } else {
-      lfsr <<= 1;
-      return 0;
-   }
-}
-#endif
-
 #if defined(LTM_DEMO_REAL_RAND) && !defined(_WIN32)
 static FILE *fd_urandom;
 #endif