From: Eric Biggers <ebiggers@kernel.org>
To: Zhang Yiqun <zhangyiqun@phytium.com.cn>
Cc: herbert@gondor.apana.org.au, davem@davemloft.net,
linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] crypto: testmgr - add diff-splits of src/dst into default cipher config
Date: Mon, 6 Feb 2023 21:20:12 -0800 [thread overview]
Message-ID: <Y+HfjH0YVYdX+BFq@sol.localdomain> (raw)
In-Reply-To: <20230202083805.21838-1-zhangyiqun@phytium.com.cn>
On Thu, Feb 02, 2023 at 04:38:05PM +0800, Zhang Yiqun wrote:
> This type of request is often happened in AF_ALG cases.
> So add this vector in default cipher config array.
>
> Signed-off-by: Zhang Yiqun <zhangyiqun@phytium.com.cn>
> ---
> crypto/testmgr.c | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/crypto/testmgr.c b/crypto/testmgr.c
> index 4476ac97baa5..6e8d08999104 100644
> --- a/crypto/testmgr.c
> +++ b/crypto/testmgr.c
> @@ -356,6 +356,14 @@ static const struct testvec_config default_cipher_testvec_configs[] = {
> { .proportion_of_total = 5000 },
> { .proportion_of_total = 5000 },
> },
> + }, {
> + .name = "one src, two even splits dst",
> + .inplace_mode = OUT_OF_PLACE,
> + .src_divs = { { .proportion_of_total = 10000 } },
> + .dst_divs = {
> + { .proportion_of_total = 5000 },
> + { .proportion_of_total = 5000 },
> + },
> }, {
> .name = "uneven misaligned splits, may sleep",
> .req_flags = CRYPTO_TFM_REQ_MAY_SLEEP,
> --
Reviewed-by: Eric Biggers <ebiggers@google.com>
- Eric
next prev parent reply other threads:[~2023-02-07 5:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-02 8:38 [PATCH] crypto: testmgr - add diff-splits of src/dst into default cipher config Zhang Yiqun
2023-02-07 5:20 ` Eric Biggers [this message]
2023-02-10 9:48 ` 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=Y+HfjH0YVYdX+BFq@sol.localdomain \
--to=ebiggers@kernel.org \
--cc=davem@davemloft.net \
--cc=herbert@gondor.apana.org.au \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=zhangyiqun@phytium.com.cn \
/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