Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux...
[linux/fpc-iii.git] / include / crypto / blowfish.h
blob1450d4a27980b073d99095742e7fd95254e1e4a1
1 /*
2 * Common values for blowfish algorithms
3 */
5 #ifndef _CRYPTO_BLOWFISH_H
6 #define _CRYPTO_BLOWFISH_H
8 #include <linux/types.h>
9 #include <linux/crypto.h>
11 #define BF_BLOCK_SIZE 8
12 #define BF_MIN_KEY_SIZE 4
13 #define BF_MAX_KEY_SIZE 56
15 struct bf_ctx {
16 u32 p[18];
17 u32 s[1024];
20 int blowfish_setkey(struct crypto_tfm *tfm, const u8 *key,
21 unsigned int key_len);
23 #endif