numam-dpdk/examples/fips_validation
Ibtisam Tariq fc6e6515c7 examples/fips_validation: enhance getopt_long usage
Instead of using getopt_long return value, strcmp was used to
compare the input parameters with the struct option array. This
patch get rid of all those strcmp by directly binding each longopt
with an int enum. This is to improve readability and consistency in
all examples.

Bugzilla ID: 238

Reported-by: David Marchand <david.marchand@redhat.com>
Signed-off-by: Ibtisam Tariq <ibtisam.tariq@emumba.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
2021-03-23 12:48:11 +01:00
..
fips_dev_self_test.c cryptodev: add feature flags to disable 2019-07-05 15:03:25 +02:00
fips_dev_self_test.h examples/fips_validation: add power on self test 2019-01-10 16:57:22 +01:00
fips_validation_aes.c replace unused attributes 2020-04-16 18:30:58 +02:00
fips_validation_ccm.c examples/fips_validation: support CCM parsing 2018-11-02 12:26:06 +01:00
fips_validation_cmac.c examples/fips_validation: support CMAC parsing 2018-11-02 12:26:06 +01:00
fips_validation_gcm.c fips_validation: fix GCM test 2020-11-02 09:24:41 +01:00
fips_validation_hmac.c replace unused attributes 2020-04-16 18:30:58 +02:00
fips_validation_sha.c replace unused attributes 2020-04-16 18:30:58 +02:00
fips_validation_tdes.c examples/fips_validation: fix TDES interim callback 2020-07-18 23:09:01 +02:00
fips_validation_xts.c examples/fips_validation: support AES XTS 2020-02-05 15:20:51 +01:00
fips_validation.c examples/fips_validation: enhance getopt_long usage 2021-03-23 12:48:11 +01:00
fips_validation.h examples/fips_validation: enhance getopt_long usage 2021-03-23 12:48:11 +01:00
main.c examples/fips_validation: enhance getopt_long usage 2021-03-23 12:48:11 +01:00
Makefile examples: warn about broken pkg-config 2021-01-30 01:27:28 +01:00
meson.build examples/fips_validation: support AES XTS 2020-02-05 15:20:51 +01:00