From: Wenkai Lin <linwenkai6@xxxxxxxxxxxxx> 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