Skip to content

Commit acd4045

Browse files
CoveyZhangherbertx
authored andcommitted
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 <[email protected]> Reviewed-by: Eric Biggers <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
1 parent 4e4a088 commit acd4045

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

crypto/testmgr.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,14 @@ static const struct testvec_config default_cipher_testvec_configs[] = {
356356
{ .proportion_of_total = 5000 },
357357
{ .proportion_of_total = 5000 },
358358
},
359+
}, {
360+
.name = "one src, two even splits dst",
361+
.inplace_mode = OUT_OF_PLACE,
362+
.src_divs = { { .proportion_of_total = 10000 } },
363+
.dst_divs = {
364+
{ .proportion_of_total = 5000 },
365+
{ .proportion_of_total = 5000 },
366+
},
359367
}, {
360368
.name = "uneven misaligned splits, may sleep",
361369
.req_flags = CRYPTO_TFM_REQ_MAY_SLEEP,

0 commit comments

Comments
 (0)