From: Chenghai Huang <huangchenghai2@huawei.com>
To: <herbert@gondor.apana.org.au>, <davem@davemloft.net>
Cc: <linux-kernel@vger.kernel.org>, <linux-crypto@vger.kernel.org>,
<liulongfang@huawei.com>, <shenyang39@huawei.com>,
<qianweili@huawei.com>, <linwenkai6@hisilicon.com>,
<wangzhou1@hisilicon.com>
Subject: [PATCH 0/3] crypto: hisilicon/sec2 - fix the specification problems for the sec
Date: Wed, 5 Feb 2025 11:56:25 +0800 [thread overview]
Message-ID: <20250205035628.845962-1-huangchenghai2@huawei.com> (raw)
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
next reply other threads:[~2025-02-05 3:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-05 3:56 Chenghai Huang [this message]
2025-02-05 3:56 ` [PATCH 1/3] crypto: hisilicon/sec2 - fix for aead auth key length Chenghai Huang
2025-02-05 3:56 ` [PATCH 2/3] crypto: hisilicon/sec2 - fix for aead authsize alignment Chenghai Huang
2025-02-05 3:56 ` [PATCH 3/3] crypto: hisilicon/sec2 - fix for sec spec check Chenghai Huang
2025-02-16 5:25 ` [PATCH 0/3] crypto: hisilicon/sec2 - fix the specification problems for the sec Herbert Xu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250205035628.845962-1-huangchenghai2@huawei.com \
--to=huangchenghai2@huawei.com \
--cc=davem@davemloft.net \
--cc=herbert@gondor.apana.org.au \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linwenkai6@hisilicon.com \
--cc=liulongfang@huawei.com \
--cc=qianweili@huawei.com \
--cc=shenyang39@huawei.com \
--cc=wangzhou1@hisilicon.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®