Skip to content

crypto: AF_ALG AIO improvements

Stephan Müller linux-crypto 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 14 repliesIn review
  2. v24 patches 9 repliesSuperseded
  3. v11 patch 11 repliesSuperseded

Changes in v3 from the cover letter

* rename ALG_IIV flags into ALG_IV_...

* rename CRYPTO_TFM_REQ_PARALLEL into CRYPTO_TFM_REQ_IV_SERIALIZE

* fix branch in patch 4 to add CRYPTO_TFM_REQ_IV_SERIALIZE flag when ctx->iiv == ALG_IV_SERIAL_PROCESSING

* fix patch description of patch 4

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4crypto: AF_ALG AIO - lock context IVcrypto/af_alg.c crypto/algif_aead.c crypto/algif_skcipher.c +1 more+58 -1012 replies
2/4crypto: AF_ALG - inline IV supportcrypto/af_alg.c crypto/algif_aead.c crypto/algif_skcipher.c +2 more+143 -470 replies
3/4crypto: AF_ALG - allow driver to serialize IV accesscrypto/af_alg.c crypto/algif_aead.c crypto/algif_skcipher.c +2 more+38 -50 replies
4/4crypto: add CRYPTO_TFM_REQ_IV_SERIALIZE flagcrypto/algif_aead.c crypto/algif_skcipher.c include/linux/crypto.h+25 -62 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/4] crypto: AF_ALG AIO improvements

Hi,

Herbert, the patch 1 is meant for stable. However, this patch as is only applies to the new AF_ALG interface implementation. Though, the issue goes back to the first implementation of AIO support. Shall I try prepare a patch for the old AF_ALG implementation as well?

Changes from v2:

* rename ALG_IIV flags into ALG_IV_...

* rename CRYPTO_TFM_REQ_PARALLEL into CRYPTO_TFM_REQ_IV_SERIALIZE

* fix branch in patch 4 to add CRYPTO_TFM_REQ_IV_SERIALIZE flag when ctx->iiv == ALG_IV_SERIAL_PROCESSING

* fix patch description of patch 4

Stephan Mueller (4):
crypto: AF_ALG AIO - lock context IV
crypto: AF_ALG - inline IV support
crypto: AF_ALG - allow driver to serialize IV access
crypto: add CRYPTO_TFM_REQ_IV_SERIALIZE flag

 crypto/af_alg.c             | 119 +++++++++++++++++++++++++++++++++++++++++++-
 crypto/algif_aead.c         |  86 +++++++++++++++++---------------
 crypto/algif_skcipher.c     |  38 ++++++++++----
 include/crypto/if_alg.h     |  37 ++++++++++++++
 include/linux/crypto.h      |  16 ++++++
 include/uapi/linux/if_alg.h |   6 ++-
 6 files changed, 249 insertions(+), 53 deletions(-)
Signature · 1 line
2.14.3