diff mbox series

examples/fips_validation: disable iv_gen for decrypt tests

Message ID 20220421075624.528908-1-gmuthukrishn@marvell.com (mailing list archive)
State Superseded
Delegated to: akhil goyal
Headers show
Series examples/fips_validation: disable iv_gen for decrypt tests | expand

Checks

Context Check Description
ci/iol-testing warning apply patch failure
ci/Intel-compilation warning apply issues
ci/checkpatch success coding style OK

Commit Message

Gowrishankar Muthukrishnan April 21, 2022, 7:56 a.m. UTC
Disable iv_gen for decrypt tests.

Signed-off-by: Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com>
---
 examples/fips_validation/fips_validation_gcm.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/examples/fips_validation/fips_validation_gcm.c b/examples/fips_validation/fips_validation_gcm.c
index 5c72dbf790..6bd974e065 100644
--- a/examples/fips_validation/fips_validation_gcm.c
+++ b/examples/fips_validation/fips_validation_gcm.c
@@ -335,6 +335,7 @@  parse_test_gcm_init(void)
 		} else if (strcmp(direction_str, OP_DEC_JSON_STR) == 0) {
 			info.op = FIPS_TEST_DEC_AUTH_VERIF;
 			info.callbacks = gcm_dec_json_vectors;
+			info.interim_info.gcm_data.gen_iv = 0;
 		} else {
 			return -EINVAL;
 		}