--- pgp/src/random.h 2018/04/24 16:41:19 1.1.1.5 +++ pgp/src/random.h 2018/04/24 16:45:48 1.1.1.8 @@ -1,10 +1,11 @@ #include "usuals.h" +#include "idea.h" /* Declaration of IdeaCfbContext */ -int cryptRandOpen(void); -void cryptRandWash(byte const key[16]); +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);