projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e4a088
)
crypto: testmgr - add diff-splits of src/dst into default cipher config
author
Zhang Yiqun
<zhangyiqun@phytium.com.cn>
Thu, 2 Feb 2023 08:38:05 +0000
(16:38 +0800)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Fri, 10 Feb 2023 09:20:19 +0000
(17:20 +0800)
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>
crypto/testmgr.c
patch
|
blob
|
history
diff --git
a/crypto/testmgr.c
b/crypto/testmgr.c
index dd748832ed4ac0936752d49752bc267ded04e552..c91e93ece20b948d6f597df04e6c13ac5936f8f7 100644
(file)
--- 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,