diff options
Diffstat (limited to 'recipes-connectivity/openssl/openssl-qoriq/qoriq/0038-cryptodev-match-types-with-cryptodev.h.patch')
-rw-r--r-- | recipes-connectivity/openssl/openssl-qoriq/qoriq/0038-cryptodev-match-types-with-cryptodev.h.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/recipes-connectivity/openssl/openssl-qoriq/qoriq/0038-cryptodev-match-types-with-cryptodev.h.patch b/recipes-connectivity/openssl/openssl-qoriq/qoriq/0038-cryptodev-match-types-with-cryptodev.h.patch new file mode 100644 index 00000000..6e083bad --- /dev/null +++ b/recipes-connectivity/openssl/openssl-qoriq/qoriq/0038-cryptodev-match-types-with-cryptodev.h.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | From dcc3254b6dbb8627dd710fa58585542b98c80394 Mon Sep 17 00:00:00 2001 | ||
2 | From: Cristian Stoica <cristian.stoica@nxp.com> | ||
3 | Date: Mon, 8 Feb 2016 17:11:43 +0200 | ||
4 | Subject: [PATCH 38/48] cryptodev: match types with cryptodev.h | ||
5 | |||
6 | Signed-off-by: Cristian Stoica <cristian.stoica@nxp.com> | ||
7 | --- | ||
8 | crypto/engine/eng_cryptodev.c | 4 ++-- | ||
9 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
10 | |||
11 | diff --git a/crypto/engine/eng_cryptodev.c b/crypto/engine/eng_cryptodev.c | ||
12 | index 8cd3aa3..4613d2d 100644 | ||
13 | --- a/crypto/engine/eng_cryptodev.c | ||
14 | +++ b/crypto/engine/eng_cryptodev.c | ||
15 | @@ -85,9 +85,9 @@ struct dev_crypto_state { | ||
16 | int ivlen; | ||
17 | # ifdef USE_CRYPTODEV_DIGESTS | ||
18 | struct hash_op_data hash_op; | ||
19 | - char dummy_mac_key[HASH_MAX_LEN]; | ||
20 | + unsigned char dummy_mac_key[HASH_MAX_LEN]; | ||
21 | unsigned char digest_res[HASH_MAX_LEN]; | ||
22 | - char *mac_data; | ||
23 | + unsigned char *mac_data; | ||
24 | int mac_len; | ||
25 | # endif | ||
26 | }; | ||
27 | -- | ||
28 | 2.7.0 | ||
29 | |||