090-increase_entropy_pools.patch 503 B

1234567891011121314151617
  1. Index: linux-2.6.19/drivers/char/random.c
  2. ===================================================================
  3. --- linux-2.6.19.orig/drivers/char/random.c
  4. +++ linux-2.6.19/drivers/char/random.c
  5. @@ -248,9 +248,9 @@
  6. /*
  7. * Configuration information
  8. */
  9. -#define INPUT_POOL_WORDS 128
  10. -#define OUTPUT_POOL_WORDS 32
  11. -#define SEC_XFER_SIZE 512
  12. +#define INPUT_POOL_WORDS 256
  13. +#define OUTPUT_POOL_WORDS 64
  14. +#define SEC_XFER_SIZE 1024
  15. /*
  16. * The minimum number of bits of entropy before we wake up a read on