--- pgp/src/random.h 2018/04/24 16:42:35 1.1.1.6 +++ pgp/src/random.h 2018/04/24 16:44:48 1.1.1.7 @@ -1,10 +1,11 @@ #include "usuals.h" -int cryptRandOpen(void); -void cryptRandWash(byte const key[16]); +struct IdeaCfbContext; +int cryptRandOpen(struct IdeaCfbContext *); byte cryptRandByte(void); -void cryptRandSave(byte const key[16], byte const iv[8]); -void cryptRandCreate(void); +void cryptRandInit(struct IdeaCfbContext *); +int cryptRandWriteFile(char const *, struct IdeaCfbContext *, unsigned); +void cryptRandSave(struct IdeaCfbContext *); unsigned trueRandEvent(int event); void trueRandFlush(void);