drm: i810/i830: fix locked ioctl variant
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / crypto / des.h
blob2971c6304aded327e8b2698d71121078744501e1
1 /*
2 * DES & Triple DES EDE Cipher Algorithms.
3 */
5 #ifndef __CRYPTO_DES_H
6 #define __CRYPTO_DES_H
8 #define DES_KEY_SIZE 8
9 #define DES_EXPKEY_WORDS 32
10 #define DES_BLOCK_SIZE 8
12 #define DES3_EDE_KEY_SIZE (3 * DES_KEY_SIZE)
13 #define DES3_EDE_EXPKEY_WORDS (3 * DES_EXPKEY_WORDS)
14 #define DES3_EDE_BLOCK_SIZE DES_BLOCK_SIZE
17 extern unsigned long des_ekey(u32 *pe, const u8 *k);
19 #endif /* __CRYPTO_DES_H */