Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1644556 > unrolled thread

[PATCH v2 0/4] crypto: async crypto op fixes

Started byGilad Ben-Yossef <gilad@benyossef.com>
First post2017-05-18 15:40 +0200
Last post2017-05-23 07:10 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH v2 0/4] crypto: async crypto op fixes Gilad Ben-Yossef <gilad@benyossef.com> - 2017-05-18 15:40 +0200
    Re: [PATCH v2 0/4] crypto: async crypto op fixes Herbert Xu <herbert@gondor.apana.org.au> - 2017-05-23 07:10 +0200

#1644556 — [PATCH v2 0/4] crypto: async crypto op fixes

FromGilad Ben-Yossef <gilad@benyossef.com>
Date2017-05-18 15:40 +0200
Subject[PATCH v2 0/4] crypto: async crypto op fixes
Message-ID<tItON-3bL-7@gated-at.bofh.it>
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

Changes from v1:
- Fix a brown paper bug compile error due to bad git rebase squashing

 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

[toc] | [next] | [standalone]


#1647629

FromHerbert Xu <herbert@gondor.apana.org.au>
Date2017-05-23 07:10 +0200
Message-ID<tKaeZ-77l-1@gated-at.bofh.it>
In reply to#1644556
On Thu, May 18, 2017 at 04:29:22PM +0300, Gilad Ben-Yossef wrote:
> 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>

Patches 1-3 applied.  Please fix patch 4 and resubmit.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web