mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-24 01:09:38 -05:00
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>
This commit is contained in:
parent
4e4a08868f
commit
acd4045db6
1 changed files with 8 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue