Revision 64b85a8f ui/d3des.h

b/ui/d3des.h
22 22
#define EN0	0	/* MODE == encrypt */
23 23
#define DE1	1	/* MODE == decrypt */
24 24

  
25
extern void deskey(unsigned char *, int);
25
void deskey(unsigned char *, int);
26 26
/*		      hexkey[8]     MODE
27 27
 * Sets the internal key register according to the hexadecimal
28 28
 * key contained in the 8 bytes of hexkey, according to the DES,
29 29
 * for encryption or decryption according to MODE.
30 30
 */
31 31

  
32
extern void usekey(unsigned long *);
32
void usekey(unsigned long *);
33 33
/*		    cookedkey[32]
34 34
 * Loads the internal key register with the data in cookedkey.
35 35
 */
36 36

  
37
extern void cpkey(unsigned long *);
37
void cpkey(unsigned long *);
38 38
/*		   cookedkey[32]
39 39
 * Copies the contents of the internal key register into the storage
40 40
 * located at &cookedkey[0].
41 41
 */
42 42

  
43
extern void des(unsigned char *, unsigned char *);
43
void des(unsigned char *, unsigned char *);
44 44
/*		    from[8]	      to[8]
45 45
 * Encrypts/Decrypts (according to the key currently loaded in the
46 46
 * internal key register) one block of eight bytes at address 'from'

Also available in: Unified diff