remove unused code
This commit is contained in:
parent
7c671e10d7
commit
d051d6ba58
22
demo/demo.c
22
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
|
||||
|
|
Loading…
Reference in New Issue