patches for DPDK stable branches
 help / color / Atom feed
* [dpdk-stable] [PATCH] examples/fips_validation: bypass the unsupported test vectors
@ 2020-09-16 10:41 Archana Muniganti
  2020-10-09 18:21 ` Akhil Goyal
  0 siblings, 1 reply; 2+ messages in thread
From: Archana Muniganti @ 2020-09-16 10:41 UTC (permalink / raw)
  To: marko.kovacevic, roy.fan.zhang, akhil.goyal
  Cc: Archana Muniganti, anoobj, dev, stable

Bypass the test vectors of unsupported crypto transform
for SHA.

Signed-off-by: Archana Muniganti <marchana@marvell.com>
---
 examples/fips_validation/main.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/fips_validation/main.c b/examples/fips_validation/main.c
index efd32a8..bde779c 100644
--- a/examples/fips_validation/main.c
+++ b/examples/fips_validation/main.c
@@ -1022,7 +1022,7 @@ struct fips_test_ops {
 
 	ret = fips_run_test();
 	if (ret < 0) {
-		if (ret == -EPERM) {
+		if (ret == -EPERM || ret == -ENOTSUP) {
 			fprintf(info.fp_wr, "Bypass\n\n");
 			return 0;
 		}
@@ -1443,7 +1443,7 @@ struct fips_test_ops {
 
 			ret = fips_run_test();
 			if (ret < 0) {
-				if (ret == -EPERM) {
+				if (ret == -EPERM || ret == -ENOTSUP) {
 					fprintf(info.fp_wr, "Bypass\n\n");
 					return 0;
 				}
-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-stable] [PATCH] examples/fips_validation: bypass the unsupported test vectors
  2020-09-16 10:41 [dpdk-stable] [PATCH] examples/fips_validation: bypass the unsupported test vectors Archana Muniganti
@ 2020-10-09 18:21 ` Akhil Goyal
  0 siblings, 0 replies; 2+ messages in thread
From: Akhil Goyal @ 2020-10-09 18:21 UTC (permalink / raw)
  To: Archana Muniganti, marko.kovacevic, roy.fan.zhang; +Cc: anoobj, dev, stable



> Bypass the test vectors of unsupported crypto transform
> for SHA.
> 
> Signed-off-by: Archana Muniganti <marchana@marvell.com>
> ---
Applied to dpdk-next-crypto

Thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-16 10:41 [dpdk-stable] [PATCH] examples/fips_validation: bypass the unsupported test vectors Archana Muniganti
2020-10-09 18:21 ` Akhil Goyal

patches for DPDK stable branches

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/stable/0 stable/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 stable stable/ http://inbox.dpdk.org/stable \
		stable@dpdk.org
	public-inbox-index stable


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.stable


AGPL code for this site: git clone https://public-inbox.org/ public-inbox