remove unused code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
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