home *** CD-ROM | disk | FTP | other *** search
/ PC-Online 1998 February / PCOnline_02_1998.iso / filesbbs / os2 / pgp263.arj / PGP263I.SRC / PGP263II.ZIP / src / random.h < prev    next >
C/C++ Source or Header  |  1995-10-29  |  587b  |  18 lines

  1. #include "usuals.h"
  2. #include "idea.h"  /* Declaration of IdeaCfbContext */
  3.  
  4. int cryptRandOpen(struct IdeaCfbContext *);
  5. byte cryptRandByte(void);
  6. void cryptRandInit(struct IdeaCfbContext *);
  7. int cryptRandWriteFile(char const *, struct IdeaCfbContext *, unsigned);
  8. void cryptRandSave(struct IdeaCfbContext *);
  9.  
  10. unsigned trueRandEvent(int event);
  11. void trueRandFlush(void);
  12. void trueRandConsume(unsigned count);
  13. void trueRandAccumLater(unsigned bitcount);
  14. void trueRandAccum(unsigned count);
  15. int trueRandByte(void);
  16.  
  17. int getstring(char *strbuf, unsigned maxlen, int echo);
  18.