From: Archana Muniganti Date: Wed, 16 Sep 2020 10:41:51 +0000 (+0530) Subject: examples/fips_validation: bypass unsupported vectors X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=8a40ff390553ba2a08cbfc919140663aeefb40d5;p=dpdk.git examples/fips_validation: bypass unsupported vectors Bypass the test vectors of unsupported crypto transform for SHA. Signed-off-by: Archana Muniganti --- diff --git a/examples/fips_validation/main.c b/examples/fips_validation/main.c index ee3a890e9e..9e46307bb2 100644 --- 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; }