summaryrefslogtreecommitdiffstats
path: root/recipes-connectivity/openssl/openssl-qoriq/qoriq/0023-cryptodev-simplify-cryptodev-pkc-support-code.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-connectivity/openssl/openssl-qoriq/qoriq/0023-cryptodev-simplify-cryptodev-pkc-support-code.patch')
-rw-r--r--recipes-connectivity/openssl/openssl-qoriq/qoriq/0023-cryptodev-simplify-cryptodev-pkc-support-code.patch16
1 files changed, 8 insertions, 8 deletions
diff --git a/recipes-connectivity/openssl/openssl-qoriq/qoriq/0023-cryptodev-simplify-cryptodev-pkc-support-code.patch b/recipes-connectivity/openssl/openssl-qoriq/qoriq/0023-cryptodev-simplify-cryptodev-pkc-support-code.patch
index 1043fbd4..4f589af7 100644
--- a/recipes-connectivity/openssl/openssl-qoriq/qoriq/0023-cryptodev-simplify-cryptodev-pkc-support-code.patch
+++ b/recipes-connectivity/openssl/openssl-qoriq/qoriq/0023-cryptodev-simplify-cryptodev-pkc-support-code.patch
@@ -1,4 +1,4 @@
1From f99682e0ccaeadb7446d211dfad6dbf8fcd5675f Mon Sep 17 00:00:00 2001 1From b706132a33555162e6dbf26d9fde4bcb1136d553 Mon Sep 17 00:00:00 2001
2From: Cristian Stoica <cristian.stoica@freescale.com> 2From: Cristian Stoica <cristian.stoica@freescale.com>
3Date: Thu, 19 Feb 2015 13:39:52 +0200 3Date: Thu, 19 Feb 2015 13:39:52 +0200
4Subject: [PATCH 23/48] cryptodev: simplify cryptodev pkc support code 4Subject: [PATCH 23/48] cryptodev: simplify cryptodev pkc support code
@@ -29,10 +29,10 @@ index 2b4ec59..ddb9b69 100644
29 29
30 #ifdef __cplusplus 30 #ifdef __cplusplus
31diff --git a/crypto/engine/eng_cryptodev.c b/crypto/engine/eng_cryptodev.c 31diff --git a/crypto/engine/eng_cryptodev.c b/crypto/engine/eng_cryptodev.c
32index b162646..1910c89 100644 32index 7b3dbd1..34c8d18 100644
33--- a/crypto/engine/eng_cryptodev.c 33--- a/crypto/engine/eng_cryptodev.c
34+++ b/crypto/engine/eng_cryptodev.c 34+++ b/crypto/engine/eng_cryptodev.c
35@@ -433,10 +433,10 @@ static int get_dev_crypto(void) 35@@ -434,10 +434,10 @@ static int get_dev_crypto(void)
36 36
37 static int put_dev_crypto(int fd) 37 static int put_dev_crypto(int fd)
38 { 38 {
@@ -47,7 +47,7 @@ index b162646..1910c89 100644
47 # endif 47 # endif
48 } 48 }
49 49
50@@ -1863,7 +1863,7 @@ cryptodev_asym_async(struct crypt_kop *kop, int rlen, BIGNUM *r, int slen, 50@@ -1867,7 +1867,7 @@ cryptodev_asym_async(struct crypt_kop *kop, int rlen, BIGNUM *r, int slen,
51 struct pkc_cookie_s *cookie = kop->cookie; 51 struct pkc_cookie_s *cookie = kop->cookie;
52 struct cryptodev_cookie_s *eng_cookie; 52 struct cryptodev_cookie_s *eng_cookie;
53 53
@@ -56,8 +56,8 @@ index b162646..1910c89 100644
56 56
57 eng_cookie = malloc(sizeof(struct cryptodev_cookie_s)); 57 eng_cookie = malloc(sizeof(struct cryptodev_cookie_s));
58 if (!eng_cookie) 58 if (!eng_cookie)
59@@ -1926,38 +1926,11 @@ cryptodev_asym(struct crypt_kop *kop, int rlen, BIGNUM *r, int slen, 59@@ -1939,38 +1939,11 @@ cryptodev_asym(struct crypt_kop *kop, int rlen, BIGNUM *r, int slen,
60 return (ret); 60 return ret;
61 } 61 }
62 62
63-/* Close an opened instance of cryptodev engine */ 63-/* Close an opened instance of cryptodev engine */
@@ -96,7 +96,7 @@ index b162646..1910c89 100644
96 struct pkc_cookie_list_s cookie_list; 96 struct pkc_cookie_list_s cookie_list;
97 struct pkc_cookie_s *cookie; 97 struct pkc_cookie_s *cookie;
98 int i; 98 int i;
99@@ -4706,8 +4679,8 @@ void ENGINE_load_cryptodev(void) 99@@ -4719,8 +4692,8 @@ void ENGINE_load_cryptodev(void)
100 } 100 }
101 101
102 ENGINE_set_check_pkc_availability(engine, cryptodev_check_availability); 102 ENGINE_set_check_pkc_availability(engine, cryptodev_check_availability);
@@ -256,5 +256,5 @@ index 4527aa1..f83ee73 100644
256 int ENGINE_set_RSA(ENGINE *e, const RSA_METHOD *rsa_meth); 256 int ENGINE_set_RSA(ENGINE *e, const RSA_METHOD *rsa_meth);
257 int ENGINE_set_DSA(ENGINE *e, const DSA_METHOD *dsa_meth); 257 int ENGINE_set_DSA(ENGINE *e, const DSA_METHOD *dsa_meth);
258-- 258--
2592.7.0 2592.7.3
260 260