From d051d6ba58ea438d852145f59282395202b95e96 Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Fri, 2 Feb 2018 13:38:56 +0100 Subject: [PATCH] remove unused code --- demo/demo.c | 22 ---------------------- 1 file changed, 22 deletions(-) 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 #include -#ifdef IOWNANATHLON -#include -#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