090-increase_entropy_pools.patch 459 B

1234567891011121314151617
  1. --- a/drivers/char/random.c
  2. +++ b/drivers/char/random.c
  3. @@ -285,11 +285,11 @@
  4. /*
  5. * Configuration information
  6. */
  7. -#define INPUT_POOL_SHIFT 12
  8. +#define INPUT_POOL_SHIFT 13
  9. #define INPUT_POOL_WORDS (1 << (INPUT_POOL_SHIFT-5))
  10. -#define OUTPUT_POOL_SHIFT 10
  11. +#define OUTPUT_POOL_SHIFT 11
  12. #define OUTPUT_POOL_WORDS (1 << (OUTPUT_POOL_SHIFT-5))
  13. -#define SEC_XFER_SIZE 512
  14. +#define SEC_XFER_SIZE 1024
  15. #define EXTRACT_SIZE 10
  16. #define DEBUG_RANDOM_BOOT 0