git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
825ab5c
)
test/crypto: skip null auth in ICV corrupt case
author
Tejasree Kondoj
<ktejasree@marvell.com>
Mon, 6 Dec 2021 11:07:58 +0000
(16:37 +0530)
committer
Akhil Goyal
<gakhil@marvell.com>
Fri, 21 Jan 2022 10:55:12 +0000
(11:55 +0100)
Skipping NULL authentication in ICV corruption test case
for lookaside IPsec testsuite.
Signed-off-by: Tejasree Kondoj <ktejasree@marvell.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
app/test/test_cryptodev.c
patch
|
blob
|
history
diff --git
a/app/test/test_cryptodev.c
b/app/test/test_cryptodev.c
index
4c00b62
..
12a5c71
100644
(file)
--- a/
app/test/test_cryptodev.c
+++ b/
app/test/test_cryptodev.c
@@
-9428,6
+9428,11
@@
test_ipsec_proto_all(const struct ipsec_test_flags *flags)
td_outb,
nb_pkts);
+ if (flags->icv_corrupt && (td_outb->aead == false) &&
+ (td_outb->xform.chain.auth.auth.algo ==
+ RTE_CRYPTO_AUTH_NULL))
+ continue;
+
ret = test_ipsec_proto_process(td_outb, td_inb, nb_pkts, true,
flags);
if (ret == TEST_SKIPPED)