mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v4 0/2] crypto: hisilicon - fix the authsize and icv problems of aead in sec
@ 2024-11-15 10:21 Chenghai Huang
  2024-11-15 10:21 ` [PATCH v4 1/2] crypto: hisilicon/sec2 - fix for aead icv error Chenghai Huang
  2024-11-15 10:21 ` [PATCH v4 2/2] crypto: hisilicon/sec2 - fix for aead invalid authsize Chenghai Huang
  0 siblings, 2 replies; 4+ messages in thread
From: Chenghai Huang @ 2024-11-15 10:21 UTC (permalink / raw)
  To: herbert, davem
  Cc: linux-kernel, linux-crypto, liulongfang, qianweili, linwenkai6

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

---
Changes in v4:
- Add a switching flag (fallback) for soft-calculation in req.
- Link to v3: https://lore.kernel.org/all/20241102025559.2256734-1-huangchenghai2@huawei.com/

Changes in v3:
- Call crypto_aead_authsize to obtain authsize instead of
actx->authsize.
- Link to v2: https://lore.kernel.org/all/20241018105830.169212-1-huangchenghai2@huawei.com/

Changes in v2:
- Restored authsize to the tfm.
- Link to v1: https://lore.kernel.org/all/20240929112630.863282-1-huangchenghai2@huawei.com/

---
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        |   2 +-
 drivers/crypto/hisilicon/sec2/sec_crypto.c | 161 ++++++++++-----------
 drivers/crypto/hisilicon/sec2/sec_crypto.h |  11 --
 3 files changed, 77 insertions(+), 97 deletions(-)

-- 
2.33.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-12-10  3:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-15 10:21 [PATCH v4 0/2] crypto: hisilicon - fix the authsize and icv problems of aead in sec Chenghai Huang
2024-11-15 10:21 ` [PATCH v4 1/2] crypto: hisilicon/sec2 - fix for aead icv error Chenghai Huang
2024-11-15 10:21 ` [PATCH v4 2/2] crypto: hisilicon/sec2 - fix for aead invalid authsize Chenghai Huang
2024-12-10  3:31   ` Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®