randpool.h 384 B

12345678910111213
  1. /*
  2. * Copyright (c) 1995 Colin Plumb. All rights reserved.
  3. * For licensing and other legal details, see the file legal.c.
  4. */
  5. #include "usuals.h"
  6. /* Set this to whatever you need (must be > 512) */
  7. #define RANDPOOLBITS 3072
  8. void randPoolStir(void);
  9. void randPoolAddBytes(byte const *buf, unsigned len);
  10. void randPoolGetBytes(byte *buf, unsigned len);
  11. byte randPoolGetByte(void);