summaryrefslogtreecommitdiff
path: root/crypto/testmgr.c
diff options
context:
space:
mode:
authorZhang Yiqun <zhangyiqun@phytium.com.cn>2023-02-02 11:38:05 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2023-02-10 12:20:19 +0300
commitacd4045db64cdebc6ce4be35abe01000311664aa (patch)
treeed8f67147482dadf162bca8f88838a46d512b599 /crypto/testmgr.c
parent4e4a08868f15897ca236528771c3733fded42c62 (diff)
downloadlinux-acd4045db64cdebc6ce4be35abe01000311664aa.tar.xz
crypto: testmgr - add diff-splits of src/dst into default cipher config
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> Reviewed-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/testmgr.c')
-rw-r--r--crypto/testmgr.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/crypto/testmgr.c b/crypto/testmgr.c
index dd748832ed4a..c91e93ece20b 100644
--- a/crypto/testmgr.c
+++ b/crypto/testmgr.c
@@ -357,6 +357,14 @@ static const struct testvec_config default_cipher_testvec_configs[] = {
{ .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,
.src_divs = {