Skip to content

crypto: hisilicon - fix the authsize and icv problems of aead in sec

Chenghai Huang linux-crypto lkml 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest2 patches 1 replyIn review
  2. v42 patches 1 replySuperseded
  3. v32 patches 4 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v22 patches5 repliesSuperseded
v12 patches1 replySuperseded

Changes in v5 from the cover letter

- Delete the 'fallback' that is not used.
- Link to v4: https://lore.kernel.org/all/[email protected]/

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2crypto: hisilicon/sec2 - fix for aead icv errordrivers/crypto/hisilicon/sec2/sec.h drivers/crypto/hisilicon/sec2/sec_crypto.c drivers/crypto/hisilicon/sec2/sec_crypto.h+44 -690 replies
2/2crypto: hisilicon/sec2 - fix for aead invalid authsizedrivers/crypto/hisilicon/sec2/sec.h drivers/crypto/hisilicon/sec2/sec_crypto.c+34 -320 replies

Reviews trailers per patch

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

Read the v5 thread

Cover letter [PATCH v5 0/2] crypto: hisilicon - fix the authsize and icv problems of aead in sec

1. Fix for aead invalid authsize.
2. Fix for aead icv error.

---
Changes in v5:
- Delete the 'fallback' that is not used.
- Link to v4: https://lore.kernel.org/all/[email protected]/

Changes in v4:
- Add a switching flag (fallback) for soft-calculation in req.
- Link to v3: https://lore.kernel.org/all/[email protected]/

Changes in v3:
- Call crypto_aead_authsize to obtain authsize instead of
actx->authsize.
- Link to v2: https://lore.kernel.org/all/[email protected]/

Changes in v2:
- Restored authsize to the tfm.
- Link to v1: https://lore.kernel.org/all/[email protected]/
---

Wenkai Lin (2):
crypto: hisilicon/sec2 - fix for aead icv error
crypto: hisilicon/sec2 - fix for aead invalid authsize

 drivers/crypto/hisilicon/sec2/sec.h        |   3 +-
 drivers/crypto/hisilicon/sec2/sec_crypto.c | 161 ++++++++++-----------
 drivers/crypto/hisilicon/sec2/sec_crypto.h |  11 --
 3 files changed, 76 insertions(+), 99 deletions(-)
Signature · 1 line
2.33.0