diff options
Diffstat (limited to 'recipes-connectivity/openssl/openssl-qoriq/qoriq/0044-cryptodev-check-for-errors-inside-cryptodev_dh_compu.patch')
-rw-r--r-- | recipes-connectivity/openssl/openssl-qoriq/qoriq/0044-cryptodev-check-for-errors-inside-cryptodev_dh_compu.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/recipes-connectivity/openssl/openssl-qoriq/qoriq/0044-cryptodev-check-for-errors-inside-cryptodev_dh_compu.patch b/recipes-connectivity/openssl/openssl-qoriq/qoriq/0044-cryptodev-check-for-errors-inside-cryptodev_dh_compu.patch index be996435..37bdff8d 100644 --- a/recipes-connectivity/openssl/openssl-qoriq/qoriq/0044-cryptodev-check-for-errors-inside-cryptodev_dh_compu.patch +++ b/recipes-connectivity/openssl/openssl-qoriq/qoriq/0044-cryptodev-check-for-errors-inside-cryptodev_dh_compu.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 42a1c45091ab7996c4411f3dd74539c908c63208 Mon Sep 17 00:00:00 2001 | 1 | From 0901ff383524e896424921f4e8a1ba7020e7613d Mon Sep 17 00:00:00 2001 |
2 | From: Cristian Stoica <cristian.stoica@nxp.com> | 2 | From: Cristian Stoica <cristian.stoica@nxp.com> |
3 | Date: Tue, 9 Feb 2016 11:53:33 +0200 | 3 | Date: Tue, 9 Feb 2016 11:53:33 +0200 |
4 | Subject: [PATCH 44/48] cryptodev: check for errors inside | 4 | Subject: [PATCH 44/48] cryptodev: check for errors inside |
@@ -10,10 +10,10 @@ Signed-off-by: Cristian Stoica <cristian.stoica@nxp.com> | |||
10 | 1 file changed, 21 insertions(+), 8 deletions(-) | 10 | 1 file changed, 21 insertions(+), 8 deletions(-) |
11 | 11 | ||
12 | diff --git a/crypto/engine/eng_cryptodev.c b/crypto/engine/eng_cryptodev.c | 12 | diff --git a/crypto/engine/eng_cryptodev.c b/crypto/engine/eng_cryptodev.c |
13 | index 55b2047..e0f9d4b 100644 | 13 | index 753e326..b9c7ff3 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 | @@ -4095,19 +4095,28 @@ static int | 16 | @@ -4108,19 +4108,28 @@ static int |
17 | cryptodev_dh_compute_key_async(unsigned char *key, const BIGNUM *pub_key, | 17 | cryptodev_dh_compute_key_async(unsigned char *key, const BIGNUM *pub_key, |
18 | DH *dh, struct pkc_cookie_s *cookie) | 18 | DH *dh, struct pkc_cookie_s *cookie) |
19 | { | 19 | { |
@@ -47,7 +47,7 @@ index 55b2047..e0f9d4b 100644 | |||
47 | kop->crk_param[1].crp_p = padded_pub_key; | 47 | kop->crk_param[1].crp_p = padded_pub_key; |
48 | kop->crk_param[1].crp_nbits = p_len * 8; | 48 | kop->crk_param[1].crp_nbits = p_len * 8; |
49 | kop->crk_param[2].crp_p = p; | 49 | kop->crk_param[2].crp_p = p; |
50 | @@ -4119,16 +4128,20 @@ cryptodev_dh_compute_key_async(unsigned char *key, const BIGNUM *pub_key, | 50 | @@ -4132,16 +4141,20 @@ cryptodev_dh_compute_key_async(unsigned char *key, const BIGNUM *pub_key, |
51 | kop->crk_param[3].crp_nbits = p_len * 8; | 51 | kop->crk_param[3].crp_nbits = p_len * 8; |
52 | kop->crk_oparams = 1; | 52 | kop->crk_oparams = 1; |
53 | 53 | ||
@@ -72,5 +72,5 @@ index 55b2047..e0f9d4b 100644 | |||
72 | /* Call user cookie handler */ | 72 | /* Call user cookie handler */ |
73 | cookie->pkc_callback(cookie, 0); | 73 | cookie->pkc_callback(cookie, 0); |
74 | -- | 74 | -- |
75 | 2.7.0 | 75 | 2.7.3 |
76 | 76 | ||