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
arch
x86
include
asm
crypto
ablk_helper.h
Go to the documentation of this file.
1
/*
2
* Shared async block cipher helpers
3
*/
4
5
#ifndef _CRYPTO_ABLK_HELPER_H
6
#define _CRYPTO_ABLK_HELPER_H
7
8
#include <
linux/crypto.h
>
9
#include <linux/kernel.h>
10
#include <
crypto/cryptd.h
>
11
12
struct
async_helper_ctx
{
13
struct
cryptd_ablkcipher
*
cryptd_tfm
;
14
};
15
16
extern
int
ablk_set_key
(
struct
crypto_ablkcipher
*tfm,
const
u8
*
key
,
17
unsigned
int
key_len
);
18
19
extern
int
__ablk_encrypt
(
struct
ablkcipher_request
*
req
);
20
21
extern
int
ablk_encrypt
(
struct
ablkcipher_request
*
req
);
22
23
extern
int
ablk_decrypt
(
struct
ablkcipher_request
*
req
);
24
25
extern
void
ablk_exit
(
struct
crypto_tfm
*tfm);
26
27
extern
int
ablk_init_common
(
struct
crypto_tfm
*tfm,
const
char
*drv_name);
28
29
extern
int
ablk_init
(
struct
crypto_tfm
*tfm);
30
31
#endif
/* _CRYPTO_ABLK_HELPER_H */
Generated on Thu Jan 10 2013 13:19:59 for Linux Kernel by
1.8.2