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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/20241115102139.3793659-1-huangchenghai2@xxxxxxxxxx/

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@xxxxxxxxxx/

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@xxxxxxxxxx/

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

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(-)

-- 
2.33.0





[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]
  Powered by Linux