|
|
1.1 root 1: /* idea.h - header file for idea.c
2: */
3:
4: #include "usuals.h" /* typedefs for byte, word16, boolean, etc. */
5:
6: #define IDEAKEYSIZE 16
7: #define IDEABLOCKSIZE 8
8:
9:
10: void initcfb_idea(word16 iv0[4], byte key[16], boolean decryp);
11: void ideacfb(byteptr buf, int count);
12: void close_idea(void);
13:
14: void init_idearand(byte key[16], byte seed[8], word32 tstamp);
15: byte idearand(void);
16: void close_idearand(void);
17:
18:
19: /* prototypes for passwd.c */
20:
21: /* getideakey - get pass phrase from user, hashes it to an IDEA key. */
22: int getideakey(char *keystring, char *hash, boolean noecho);
23:
24: /* hashpass - Hash pass phrase down to 128 bits (16 bytes). */
25: void hashpass (char *keystring, int keylen, byte *hash);
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.