diff options
Diffstat (limited to 'recipes-connectivity/openssl/openssl-qoriq/qoriq/0028-cryptodev-fix-debug-print-messages.patch')
-rw-r--r-- | recipes-connectivity/openssl/openssl-qoriq/qoriq/0028-cryptodev-fix-debug-print-messages.patch | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/recipes-connectivity/openssl/openssl-qoriq/qoriq/0028-cryptodev-fix-debug-print-messages.patch b/recipes-connectivity/openssl/openssl-qoriq/qoriq/0028-cryptodev-fix-debug-print-messages.patch index 03d1b96a..91bd4a45 100644 --- a/recipes-connectivity/openssl/openssl-qoriq/qoriq/0028-cryptodev-fix-debug-print-messages.patch +++ b/recipes-connectivity/openssl/openssl-qoriq/qoriq/0028-cryptodev-fix-debug-print-messages.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 3dd41691dc8162ec26d188269934689ad834894c Mon Sep 17 00:00:00 2001 | 1 | From 07f16d70cf7993c43e2c24a1e121c197db9ce1bc 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, 15 Dec 2015 12:51:36 +0200 | 3 | Date: Tue, 15 Dec 2015 12:51:36 +0200 |
4 | Subject: [PATCH 28/48] cryptodev: fix debug print messages | 4 | Subject: [PATCH 28/48] cryptodev: fix debug print messages |
@@ -9,10 +9,10 @@ Signed-off-by: Cristian Stoica <cristian.stoica@nxp.com> | |||
9 | 1 file changed, 9 insertions(+), 9 deletions(-) | 9 | 1 file changed, 9 insertions(+), 9 deletions(-) |
10 | 10 | ||
11 | diff --git a/crypto/engine/eng_cryptodev.c b/crypto/engine/eng_cryptodev.c | 11 | diff --git a/crypto/engine/eng_cryptodev.c b/crypto/engine/eng_cryptodev.c |
12 | index 76faa35..1585009 100644 | 12 | index 8b8710a..b74f21c 100644 |
13 | --- a/crypto/engine/eng_cryptodev.c | 13 | --- a/crypto/engine/eng_cryptodev.c |
14 | +++ b/crypto/engine/eng_cryptodev.c | 14 | +++ b/crypto/engine/eng_cryptodev.c |
15 | @@ -1563,13 +1563,13 @@ static int cryptodev_digest_init(EVP_MD_CTX *ctx) | 15 | @@ -1564,13 +1564,13 @@ static int cryptodev_digest_init(EVP_MD_CTX *ctx) |
16 | 16 | ||
17 | digest = digest_nid_to_cryptodev(ctx->digest->type); | 17 | digest = digest_nid_to_cryptodev(ctx->digest->type); |
18 | if (digest == NID_undef) { | 18 | if (digest == NID_undef) { |
@@ -28,7 +28,7 @@ index 76faa35..1585009 100644 | |||
28 | return (0); | 28 | return (0); |
29 | } | 29 | } |
30 | 30 | ||
31 | @@ -1586,7 +1586,7 @@ static int cryptodev_digest_update(EVP_MD_CTX *ctx, const void *data, | 31 | @@ -1587,7 +1587,7 @@ static int cryptodev_digest_update(EVP_MD_CTX *ctx, const void *data, |
32 | struct dev_crypto_state *state = ctx->md_data; | 32 | struct dev_crypto_state *state = ctx->md_data; |
33 | 33 | ||
34 | if (!data || !count) { | 34 | if (!data || !count) { |
@@ -37,7 +37,7 @@ index 76faa35..1585009 100644 | |||
37 | return 0; | 37 | return 0; |
38 | } | 38 | } |
39 | 39 | ||
40 | @@ -1603,7 +1603,7 @@ static int cryptodev_digest_update(EVP_MD_CTX *ctx, const void *data, | 40 | @@ -1604,7 +1604,7 @@ static int cryptodev_digest_update(EVP_MD_CTX *ctx, const void *data, |
41 | state->mac_data = | 41 | state->mac_data = |
42 | OPENSSL_realloc(state->mac_data, state->mac_len + count); | 42 | OPENSSL_realloc(state->mac_data, state->mac_len + count); |
43 | if (!state->mac_data) { | 43 | if (!state->mac_data) { |
@@ -46,7 +46,7 @@ index 76faa35..1585009 100644 | |||
46 | return (0); | 46 | return (0); |
47 | } | 47 | } |
48 | 48 | ||
49 | @@ -1622,12 +1622,12 @@ static int cryptodev_digest_final(EVP_MD_CTX *ctx, unsigned char *md) | 49 | @@ -1623,12 +1623,12 @@ static int cryptodev_digest_final(EVP_MD_CTX *ctx, unsigned char *md) |
50 | struct session_op *sess = &state->d_sess; | 50 | struct session_op *sess = &state->d_sess; |
51 | 51 | ||
52 | if (!md || state->d_fd < 0) { | 52 | if (!md || state->d_fd < 0) { |
@@ -61,7 +61,7 @@ index 76faa35..1585009 100644 | |||
61 | return (0); | 61 | return (0); |
62 | } | 62 | } |
63 | 63 | ||
64 | @@ -1640,12 +1640,12 @@ static int cryptodev_digest_final(EVP_MD_CTX *ctx, unsigned char *md) | 64 | @@ -1641,12 +1641,12 @@ static int cryptodev_digest_final(EVP_MD_CTX *ctx, unsigned char *md) |
65 | cryp.mac = md; | 65 | cryp.mac = md; |
66 | 66 | ||
67 | if (ioctl(state->d_fd, CIOCCRYPT, &cryp) < 0) { | 67 | if (ioctl(state->d_fd, CIOCCRYPT, &cryp) < 0) { |
@@ -76,7 +76,7 @@ index 76faa35..1585009 100644 | |||
76 | } | 76 | } |
77 | 77 | ||
78 | return ret; | 78 | return ret; |
79 | @@ -1700,7 +1700,7 @@ static int cryptodev_digest_copy(EVP_MD_CTX *to, const EVP_MD_CTX *from) | 79 | @@ -1701,7 +1701,7 @@ static int cryptodev_digest_copy(EVP_MD_CTX *to, const EVP_MD_CTX *from) |
80 | if (ioctl(dstate->d_fd, CIOCGSESSION, sess) < 0) { | 80 | if (ioctl(dstate->d_fd, CIOCGSESSION, sess) < 0) { |
81 | put_dev_crypto(dstate->d_fd); | 81 | put_dev_crypto(dstate->d_fd); |
82 | dstate->d_fd = -1; | 82 | dstate->d_fd = -1; |
@@ -86,5 +86,5 @@ index 76faa35..1585009 100644 | |||
86 | } | 86 | } |
87 | 87 | ||
88 | -- | 88 | -- |
89 | 2.7.0 | 89 | 2.7.3 |
90 | 90 | ||