diff options
Diffstat (limited to 'recipes-kernel/cryptodev/sdk_patches/0006-move-structure-definition-to-cryptodev_int.h.patch')
-rw-r--r-- | recipes-kernel/cryptodev/sdk_patches/0006-move-structure-definition-to-cryptodev_int.h.patch | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/recipes-kernel/cryptodev/sdk_patches/0006-move-structure-definition-to-cryptodev_int.h.patch b/recipes-kernel/cryptodev/sdk_patches/0006-move-structure-definition-to-cryptodev_int.h.patch new file mode 100644 index 00000000..9a7ef3dc --- /dev/null +++ b/recipes-kernel/cryptodev/sdk_patches/0006-move-structure-definition-to-cryptodev_int.h.patch | |||
@@ -0,0 +1,51 @@ | |||
1 | From 3245b0f9ed2085f6167068409fb344166093808c Mon Sep 17 00:00:00 2001 | ||
2 | From: Cristian Stoica <cristian.stoica@nxp.com> | ||
3 | Date: Tue, 23 May 2017 15:50:40 +0300 | ||
4 | Subject: [PATCH 6/9] move structure definition to cryptodev_int.h | ||
5 | |||
6 | This is necessary for the rsa patch and makes this data structure | ||
7 | visible to kernel_crypt_pkop structure which will be defined in | ||
8 | cryptodev_int.h as well. | ||
9 | |||
10 | Signed-off-by: Cristian Stoica <cristian.stoica@nxp.com> | ||
11 | --- | ||
12 | cryptlib.h | 6 ------ | ||
13 | cryptodev_int.h | 5 +++++ | ||
14 | 2 files changed, 5 insertions(+), 6 deletions(-) | ||
15 | |||
16 | diff --git a/cryptlib.h b/cryptlib.h | ||
17 | index 8e8aa71..48fe9bd 100644 | ||
18 | --- a/cryptlib.h | ||
19 | +++ b/cryptlib.h | ||
20 | @@ -2,12 +2,6 @@ | ||
21 | # define CRYPTLIB_H | ||
22 | |||
23 | #include <linux/version.h> | ||
24 | - | ||
25 | -struct cryptodev_result { | ||
26 | - struct completion completion; | ||
27 | - int err; | ||
28 | -}; | ||
29 | - | ||
30 | #include "cipherapi.h" | ||
31 | |||
32 | struct cipher_data { | ||
33 | diff --git a/cryptodev_int.h b/cryptodev_int.h | ||
34 | index d7660fa..c1879fd 100644 | ||
35 | --- a/cryptodev_int.h | ||
36 | +++ b/cryptodev_int.h | ||
37 | @@ -35,6 +35,11 @@ | ||
38 | #define ddebug(level, format, a...) dprintk(level, KERN_DEBUG, format, ##a) | ||
39 | |||
40 | |||
41 | +struct cryptodev_result { | ||
42 | + struct completion completion; | ||
43 | + int err; | ||
44 | +}; | ||
45 | + | ||
46 | extern int cryptodev_verbosity; | ||
47 | |||
48 | struct fcrypt { | ||
49 | -- | ||
50 | 2.7.4 | ||
51 | |||