1 /* SPDX-License-Identifier: GPL-2.0 */
3 * DES & Triple DES EDE Cipher Algorithms.
10 #define DES_EXPKEY_WORDS 32
11 #define DES_BLOCK_SIZE 8
13 #define DES3_EDE_KEY_SIZE (3 * DES_KEY_SIZE)
14 #define DES3_EDE_EXPKEY_WORDS (3 * DES_EXPKEY_WORDS)
15 #define DES3_EDE_BLOCK_SIZE DES_BLOCK_SIZE
18 extern unsigned long des_ekey(u32 *pe, const u8 *k);
20 extern int __des3_ede_setkey(u32 *expkey, u32 *flags, const u8 *key,
23 #endif /* __CRYPTO_DES_H */