summaryrefslogtreecommitdiffstats
path: root/recipes-connectivity/openssl/openssl-qoriq/qoriq/0030-cryptodev-reduce-duplicated-efforts-for-searching-in.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-connectivity/openssl/openssl-qoriq/qoriq/0030-cryptodev-reduce-duplicated-efforts-for-searching-in.patch')
-rw-r--r--recipes-connectivity/openssl/openssl-qoriq/qoriq/0030-cryptodev-reduce-duplicated-efforts-for-searching-in.patch14
1 files changed, 7 insertions, 7 deletions
diff --git a/recipes-connectivity/openssl/openssl-qoriq/qoriq/0030-cryptodev-reduce-duplicated-efforts-for-searching-in.patch b/recipes-connectivity/openssl/openssl-qoriq/qoriq/0030-cryptodev-reduce-duplicated-efforts-for-searching-in.patch
index 995a593f..28de5673 100644
--- a/recipes-connectivity/openssl/openssl-qoriq/qoriq/0030-cryptodev-reduce-duplicated-efforts-for-searching-in.patch
+++ b/recipes-connectivity/openssl/openssl-qoriq/qoriq/0030-cryptodev-reduce-duplicated-efforts-for-searching-in.patch
@@ -1,4 +1,4 @@
1From 12fad710349bb72b7f95ee30b40c2e6dfbb5d373 Mon Sep 17 00:00:00 2001 1From 328b2890d5a9baf9f936bd9facaf411c01931f08 Mon Sep 17 00:00:00 2001
2From: Cristian Stoica <cristian.stoica@nxp.com> 2From: Cristian Stoica <cristian.stoica@nxp.com>
3Date: Wed, 13 Jan 2016 15:18:20 +0200 3Date: Wed, 13 Jan 2016 15:18:20 +0200
4Subject: [PATCH 30/48] cryptodev: reduce duplicated efforts for searching 4Subject: [PATCH 30/48] cryptodev: reduce duplicated efforts for searching
@@ -10,10 +10,10 @@ Signed-off-by: Cristian Stoica <cristian.stoica@nxp.com>
10 1 file changed, 18 insertions(+), 26 deletions(-) 10 1 file changed, 18 insertions(+), 26 deletions(-)
11 11
12diff --git a/crypto/engine/eng_cryptodev.c b/crypto/engine/eng_cryptodev.c 12diff --git a/crypto/engine/eng_cryptodev.c b/crypto/engine/eng_cryptodev.c
13index dc27b55..30713e5 100644 13index 4f375e0..163a37d 100644
14--- a/crypto/engine/eng_cryptodev.c 14--- a/crypto/engine/eng_cryptodev.c
15+++ b/crypto/engine/eng_cryptodev.c 15+++ b/crypto/engine/eng_cryptodev.c
16@@ -1533,37 +1533,31 @@ cryptodev_engine_ciphers(ENGINE *e, const EVP_CIPHER **cipher, 16@@ -1534,37 +1534,31 @@ cryptodev_engine_ciphers(ENGINE *e, const EVP_CIPHER **cipher,
17 17
18 # ifdef USE_CRYPTODEV_DIGESTS 18 # ifdef USE_CRYPTODEV_DIGESTS
19 19
@@ -64,7 +64,7 @@ index dc27b55..30713e5 100644
64 printf("%s: Can't get digest\n", __func__); 64 printf("%s: Can't get digest\n", __func__);
65 return (0); 65 return (0);
66 } 66 }
67@@ -1574,11 +1568,9 @@ static int cryptodev_digest_init(EVP_MD_CTX *ctx) 67@@ -1575,11 +1569,9 @@ static int cryptodev_digest_init(EVP_MD_CTX *ctx)
68 return (0); 68 return (0);
69 } 69 }
70 70
@@ -77,7 +77,7 @@ index dc27b55..30713e5 100644
77 } 77 }
78 78
79 static int cryptodev_digest_update(EVP_MD_CTX *ctx, const void *data, 79 static int cryptodev_digest_update(EVP_MD_CTX *ctx, const void *data,
80@@ -1668,7 +1660,7 @@ static int cryptodev_digest_copy(EVP_MD_CTX *to, const EVP_MD_CTX *from) 80@@ -1669,7 +1661,7 @@ static int cryptodev_digest_copy(EVP_MD_CTX *to, const EVP_MD_CTX *from)
81 struct dev_crypto_state *fstate = from->md_data; 81 struct dev_crypto_state *fstate = from->md_data;
82 struct dev_crypto_state *dstate = to->md_data; 82 struct dev_crypto_state *dstate = to->md_data;
83 struct session_op *sess; 83 struct session_op *sess;
@@ -86,7 +86,7 @@ index dc27b55..30713e5 100644
86 86
87 if (dstate == NULL || fstate == NULL) 87 if (dstate == NULL || fstate == NULL)
88 return 1; 88 return 1;
89@@ -1677,11 +1669,11 @@ static int cryptodev_digest_copy(EVP_MD_CTX *to, const EVP_MD_CTX *from) 89@@ -1678,11 +1670,11 @@ static int cryptodev_digest_copy(EVP_MD_CTX *to, const EVP_MD_CTX *from)
90 90
91 sess = &dstate->d_sess; 91 sess = &dstate->d_sess;
92 92
@@ -102,5 +102,5 @@ index dc27b55..30713e5 100644
102 dstate->d_fd = get_dev_crypto(); 102 dstate->d_fd = get_dev_crypto();
103 103
104-- 104--
1052.7.0 1052.7.3
106 106