home *** CD-ROM | disk | FTP | other *** search
/ RISC DISC 2 / RISC_DISC_2.iso / pd_share / utilities / cli / pgp2 / src / h / random < prev    next >
Encoding:
Text File  |  1995-06-07  |  659 b   |  21 lines

  1. #include "usuals.h"
  2.  
  3. #ifndef AMIGA     /* RKNOP 941029 -- also defined in idea.h, causing problems
  4.                      in random.c */
  5. struct IdeaCfbContext;
  6. #endif
  7. int cryptRandOpen(struct IdeaCfbContext *);
  8. byte cryptRandByte(void);
  9. void cryptRandInit(struct IdeaCfbContext *);
  10. int cryptRandWriteFile(char const *, struct IdeaCfbContext *, unsigned);
  11. void cryptRandSave(struct IdeaCfbContext *);
  12.  
  13. unsigned trueRandEvent(int event);
  14. void trueRandFlush(void);
  15. void trueRandConsume(unsigned count);
  16. void trueRandAccumLater(unsigned bitcount);
  17. void trueRandAccum(unsigned count);
  18. int trueRandByte(void);
  19.  
  20. int getstring(char *strbuf, unsigned maxlen, int echo);
  21.