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

Chenghai Huang
2024-11-02T02:56:10Z

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

---
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 | 1 -
drivers/crypto/hisilicon/sec2/sec_crypto.c | 156 ++++++++++-----------
drivers/crypto/hisilicon/sec2/sec_crypto.h | 11 --
3 files changed, 73 insertions(+), 95 deletions(-)

--
2.33.0