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

Chenghai Huang posted 2 patches 1 year ago
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(-)
[PATCH v5 0/2] crypto: hisilicon - fix the authsize and icv problems of aead in sec
Posted by Chenghai Huang 1 year ago
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@huawei.com/

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        |   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
Re: [PATCH v5 0/2] crypto: hisilicon - fix the authsize and icv problems of aead in sec
Posted by Herbert Xu 11 months, 4 weeks ago
On Fri, Dec 13, 2024 at 05:13:33PM +0800, Chenghai Huang wrote:
> 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@huawei.com/
> 
> 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        |   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

All applied.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt