Asym tests need a callback to write interim info in expected output. Signed-off-by: Gowrishankar Muthukrishnan <gmuthukri...@marvell.com> Acked-by: Brian Dooley <brian.doo...@intel.com> --- examples/fips_validation/fips_validation.c | 6 ++++++ examples/fips_validation/fips_validation.h | 1 + 2 files changed, 7 insertions(+)
diff --git a/examples/fips_validation/fips_validation.c b/examples/fips_validation/fips_validation.c index 06aeffe495..e755654cd0 100644 --- a/examples/fips_validation/fips_validation.c +++ b/examples/fips_validation/fips_validation.c @@ -512,6 +512,12 @@ fips_test_parse_one_json_group(void) if (ret < 0) return ret; } + + if (info.parse_interim_writeback) { + ret = info.parse_interim_writeback(NULL); + if (ret < 0) + return ret; + } } return 0; diff --git a/examples/fips_validation/fips_validation.h b/examples/fips_validation/fips_validation.h index f42040f460..a6288e17e5 100644 --- a/examples/fips_validation/fips_validation.h +++ b/examples/fips_validation/fips_validation.h @@ -228,6 +228,7 @@ struct fips_test_interim_info { const struct fips_test_callback *interim_callbacks; const struct fips_test_callback *writeback_callbacks; + post_prcess_t parse_interim_writeback; post_prcess_t parse_writeback; post_prcess_t kat_check; }; -- 2.25.1