Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
include
crypto
blowfish.h
Go to the documentation of this file.
1
/*
2
* Common values for blowfish algorithms
3
*/
4
5
#ifndef _CRYPTO_BLOWFISH_H
6
#define _CRYPTO_BLOWFISH_H
7
8
#include <linux/types.h>
9
#include <
linux/crypto.h
>
10
11
#define BF_BLOCK_SIZE 8
12
#define BF_MIN_KEY_SIZE 4
13
#define BF_MAX_KEY_SIZE 56
14
15
struct
bf_ctx
{
16
u32
p
[18];
17
u32
s
[1024];
18
};
19
20
int
blowfish_setkey
(
struct
crypto_tfm
*tfm,
const
u8
*
key
,
21
unsigned
int
key_len
);
22
23
#endif
Generated on Thu Jan 10 2013 14:50:53 for Linux Kernel by
1.8.2