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:
1442ab1
)
examples/fips_validation: bypass unsupported vectors
author
Archana Muniganti
<marchana@marvell.com>
Wed, 16 Sep 2020 10:41:51 +0000
(16:11 +0530)
committer
Akhil Goyal
<akhil.goyal@nxp.com>
Wed, 14 Oct 2020 20:22:06 +0000
(22:22 +0200)
Bypass the test vectors of unsupported crypto transform
for SHA.
Signed-off-by: Archana Muniganti <marchana@marvell.com>
examples/fips_validation/main.c
patch
|
blob
|
history
diff --git
a/examples/fips_validation/main.c
b/examples/fips_validation/main.c
index
ee3a890
..
9e46307
100644
(file)
--- a/
examples/fips_validation/main.c
+++ b/
examples/fips_validation/main.c
@@
-1040,7
+1040,7
@@
fips_generic_test(void)
ret = fips_run_test();
if (ret < 0) {
- if (ret == -EPERM) {
+ if (ret == -EPERM
|| ret == -ENOTSUP
) {
fprintf(info.fp_wr, "Bypass\n\n");
return 0;
}
@@
-1461,7
+1461,7
@@
fips_mct_sha_test(void)
ret = fips_run_test();
if (ret < 0) {
- if (ret == -EPERM) {
+ if (ret == -EPERM
|| ret == -ENOTSUP
) {
fprintf(info.fp_wr, "Bypass\n\n");
return 0;
}