Go to the documentation of this file.
8 #ifndef _RANDOM_INT_DEFINED
10 #define _RANDOM_INT_DEFINED
12 #if defined( INC_ALL )
35 #define MAX_RANDOM_BYTES ( CRYPT_MAX_PKCSIZE + 8 )
40 #define RANDOMPOOL_SIZE 256
41 #define X917_POOLSIZE 8
47 #define RANDOMPOOL_ALLOCSIZE ( ( ( RANDOMPOOL_SIZE + 20 - 1 ) / 20 ) * 20 )
53 #define RANDOMPOOL_SAMPLES 16
54 #define RANDOMPOOL_RETRIES 5
60 #define X917_MAX_BYTES 4096
61 #define X917_MAX_CYCLES ( X917_MAX_BYTES / X917_POOLSIZE )
70 #define RANDOMPOOL_SAMPLE_SIZE 16
75 #define X917_KEYSIZE 16
76 #define X917_BLOCKSIZE X917_POOLSIZE
84 #define DES_KEYSIZE sizeof( Key_schedule )
128 int entropyByteCount;
132 #ifdef CONFIG_RANDSEED