Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1639333
| Path | csiph.com!news.redatomik.org!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Gilad Ben-Yossef <gilad@benyossef.com> |
| Newsgroups | linux.kernel |
| Subject | [PATCH 0/4] crypto: async crypto op fixes |
| Date | Thu, 11 May 2017 14:00:02 +0200 |
| Message-ID | <tFUVb-5Qu-3@gated-at.bofh.it> (permalink) |
| X-Original-To | Herbert Xu <herbert@gondor.apana.org.au>, "David S. Miller" <davem@davemloft.net>, Jonathan Corbet <corbet@lwn.net>, David Howells <dhowells@redhat.com> |
| X-Mailer | git-send-email 2.1.4 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 27 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Ofir Drang <ofir.drang@arm.com>, Gilad Ben-Yossef <gilad.benyossef@arm.com>, Eric Biggers <ebiggers3@gmail.com>, stable@vger.kernel.org, linux-crypto@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, keyrings@vger.kernel.org |
| X-Original-Date | Thu, 11 May 2017 14:53:41 +0300 |
| X-Original-Message-ID | <1494503626-15877-1-git-send-email-gilad@benyossef.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1639333 |
Show key headers only | View raw
This patch set fixes various usage and documentation errors in waiting for async crypto op to complete which can result in data corruption. Note: these were discovered in the process of working on a patch set that replaces these call sites and more with a generic implementation that will prevent these problems going forward. These are just the fix ups for current code. Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com> CC: stable@vger.kernel.org CC: Eric Biggers <ebiggers3@gmail.com> Gilad Ben-Yossef (4): crypto: handle EBUSY due to backlog correctly crypto: drbg wait for crypto op not signal safe crypto: gcm wait for crypto op not signal safe crypto: Documentation: fix none signal safe sample Documentation/crypto/api-samples.rst | 2 +- crypto/asymmetric_keys/public_key.c | 2 +- crypto/drbg.c | 5 ++--- crypto/gcm.c | 6 ++---- 4 files changed, 6 insertions(+), 9 deletions(-) -- 2.1.4
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 0/4] crypto: async crypto op fixes Gilad Ben-Yossef <gilad@benyossef.com> - 2017-05-11 14:00 +0200 [PATCH 2/4] crypto: drbg wait for crypto op not signal safe Gilad Ben-Yossef <gilad@benyossef.com> - 2017-05-11 14:00 +0200 [PATCH 1/4] crypto: handle EBUSY due to backlog correctly Gilad Ben-Yossef <gilad@benyossef.com> - 2017-05-11 14:00 +0200
csiph-web