mbox series

[0/3] crypto: hisilicon/sec2 - fix the specification problems for the sec

Message ID 20250205035628.845962-1-huangchenghai2@huawei.com
Headers show
Series crypto: hisilicon/sec2 - fix the specification problems for the sec | expand

Message

Chenghai Huang Feb. 5, 2025, 3:56 a.m. UTC
From: Wenkai Lin <linwenkai6@hisilicon.com>

1. Supports the case that the auth key length is 0.
2. Check if the aead authsize alignment is 4-byte aligned for cbc mode.
3. Fix for the specifications not supported by the sec hardware and
   use the software api to do the caculation.

Wenkai Lin (3):
  crypto: hisilicon/sec2 - fix for aead auth key length
  crypto: hisilicon/sec2 - fix for aead authsize alignment
  crypto: hisilicon/sec2 - fix for sec spec check

 drivers/crypto/hisilicon/sec2/sec.h        |   1 -
 drivers/crypto/hisilicon/sec2/sec_crypto.c | 125 ++++++++-------------
 2 files changed, 47 insertions(+), 79 deletions(-)

Comments

Herbert Xu Feb. 16, 2025, 5:25 a.m. UTC | #1
On Wed, Feb 05, 2025 at 11:56:25AM +0800, Chenghai Huang wrote:
> From: Wenkai Lin <linwenkai6@hisilicon.com>
> 
> 1. Supports the case that the auth key length is 0.
> 2. Check if the aead authsize alignment is 4-byte aligned for cbc mode.
> 3. Fix for the specifications not supported by the sec hardware and
>    use the software api to do the caculation.
> 
> Wenkai Lin (3):
>   crypto: hisilicon/sec2 - fix for aead auth key length
>   crypto: hisilicon/sec2 - fix for aead authsize alignment
>   crypto: hisilicon/sec2 - fix for sec spec check
> 
>  drivers/crypto/hisilicon/sec2/sec.h        |   1 -
>  drivers/crypto/hisilicon/sec2/sec_crypto.c | 125 ++++++++-------------
>  2 files changed, 47 insertions(+), 79 deletions(-)
> 
> -- 
> 2.33.0

All applied.  Thanks.