diff options
author | Zhang Yiqun <zhangyiqun@phytium.com.cn> | 2023-02-02 16:38:05 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-02-10 17:20:19 +0800 |
commit | 5a9031a8f6740ef01b46e1815c26e570823f29fb (patch) | |
tree | 79fd2235f9c76b3593e6390d506c2bdb6a3ef45d /crypto | |
parent | 10b6e08a0ed0c9cee06932b4efaba21483e9a9a2 (diff) | |
download | linux-crypto-5a9031a8f6740ef01b46e1815c26e570823f29fb.tar.gz linux-crypto-5a9031a8f6740ef01b46e1815c26e570823f29fb.zip |
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')
-rw-r--r-- | crypto/testmgr.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/crypto/testmgr.c b/crypto/testmgr.c index dd748832..c91e93ec 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 = { |