grr, bytes -> bits 1st part
[my-code/crypto.git] / des.h
1 /*
2  * des.h - data encryption standard header file
3  *
4  * author: hackbard@hackdaworld.dyndns.org
5  *
6  */
7
8 #ifndef DES_H
9 #define DES_H
10
11 #define DES_ROUNDS 16
12 #define DES_SUBKEY_LEN 56
13 #define DES_PERMC_LEN 48
14
15 typedef unsigned char u8;
16
17 int des_encrypt(u8 *plain,u8 *crypted,u8 *key);
18 int des_decrypt(u8 *crypted,u8 *plain,u8 *key);
19
20 #endif /* DES_H */