On 10/17/2018 6:19 PM, Marko Kovacevic wrote: > diff --git a/examples/cryptodev_fips_validate/cryptodev_fips_validate.h > b/examples/cryptodev_fips_validate/cryptodev_fips_validate.h > index beb6bed..5ac858d 100644 > --- a/examples/cryptodev_fips_validate/cryptodev_fips_validate.h > +++ b/examples/cryptodev_fips_validate/cryptodev_fips_validate.h > @@ -23,6 +23,7 @@ > #define FAX_FILE_PERFIX "fax" > > enum fips_test_algorithms { > + FIPS_TEST_ALGO_AES = 0, > FIPS_TEST_ALGO_MAX > }; > > @@ -77,6 +78,21 @@ struct fips_test_callback { > struct fips_val *val; > }; > > +enum fips_aesavs_test_types { > + AESAVS_TYPE_GFXBOX = 0, > + AESAVS_TYPE_KEYSBOX, > + AESAVS_TYPE_VARKEY, > + AESAVS_TYPE_VARTXT, > + AESAVS_TYPE_MMT, > + AESAVS_TYPE_MCT, > +}; It would be better to start the enums from 1. Consider a case when an uninitialized/unsupported type is accidentally used and it would be treated as AES and would be processed accordingly.
- [dpdk-dev] [PATCH v4 6/8] examples: add cmac parser an... Marko Kovacevic
- [dpdk-dev] [PATCH v4 7/8] examples: add ccm parser and... Marko Kovacevic
- [dpdk-dev] [PATCH v4 8/8] doc: add guides for fips val... Marko Kovacevic
- Re: [dpdk-dev] [PATCH v4 0/8] FIPS validation capabili... Kusztal, ArkadiuszX
- Re: [dpdk-dev] [PATCH v4 0/8] FIPS validation capabili... Akhil Goyal
- [dpdk-dev] [PATCH v5 0/8] FIPS validation capability Marko Kovacevic
- [dpdk-dev] [PATCH v5 1/8] examples/cryptodev_fips... Marko Kovacevic
- Re: [dpdk-dev] [PATCH v5 1/8] examples/crypto... Akhil Goyal
- Re: [dpdk-dev] [PATCH v5 1/8] examples/cr... Marko Kovacevic
- [dpdk-dev] [PATCH v5 2/8] examples/cryptodev_fips... Marko Kovacevic
- Re: [dpdk-dev] [PATCH v5 2/8] examples/crypto... Akhil Goyal
- Re: [dpdk-dev] [PATCH v5 2/8] examples/cr... Marko Kovacevic
- [dpdk-dev] [PATCH v5 5/8] examples/cryptodev_fips... Marko Kovacevic
- [dpdk-dev] [PATCH v5 4/8] examples/cryptodev_fips... Marko Kovacevic
- Re: [dpdk-dev] [PATCH v5 4/8] examples/crypto... Akhil Goyal
- Re: [dpdk-dev] [PATCH v5 4/8] examples/cr... Marko Kovacevic
- [dpdk-dev] [PATCH v5 6/8] examples/cryptodev_fips... Marko Kovacevic
- [dpdk-dev] [PATCH v5 7/8] examples/cryptodev_fips... Marko Kovacevic
- [dpdk-dev] [PATCH v5 3/8] examples/cryptodev_fips... Marko Kovacevic
- [dpdk-dev] [PATCH v5 8/8] doc/guides/sample_app_u... Marko Kovacevic
- Re: [dpdk-dev] [PATCH v5 8/8] doc/guides/samp... Akhil Goyal