summaryrefslogtreecommitdiff
path: root/include/crypto/des.h
blob: fc6274c6bb26cbfc6056c8abc1dcc5668c847119 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* 
 * DES & Triple DES EDE Cipher Algorithms.
 */

#ifndef __CRYPTO_DES_H
#define __CRYPTO_DES_H

#define DES_KEY_SIZE		8
#define DES_EXPKEY_WORDS	32
#define DES_BLOCK_SIZE		8

#define DES3_EDE_KEY_SIZE	(3 * DES_KEY_SIZE)
#define DES3_EDE_EXPKEY_WORDS	(3 * DES_EXPKEY_WORDS)
#define DES3_EDE_BLOCK_SIZE	DES_BLOCK_SIZE


extern unsigned long des_ekey(u32 *pe, const u8 *k);

extern int __des3_ede_setkey(u32 *expkey, u32 *flags, const u8 *key,
			     unsigned int keylen);

#endif /* __CRYPTO_DES_H */
mp;id2=d07830db1bdb254e4b50d366010b219286b8c937'>Diffstat (limited to 'drivers/usb')cf4f1a6c536e1b87cd3668a9fd'>net/bridge/br_private.h
2
-rw-r--r--net/bridge/br_private_tunnel.h11
-rw-r--r--net/bridge/br_vlan.c7
-rw-r--r--net/bridge/br_vlan_tunnel.c54
6 files changed, 82 insertions, 2 deletions
diff --git a/net/bridge/br_forward.c b/net/bridge/br_forward.c