summaryrefslogtreecommitdiff
path: root/examples/fips_validation/fips_validation.h
diff options
context:
space:
mode:
authorMarko Kovacevic <marko.kovacevic@intel.com>2018-11-02 09:55:32 +0000
committerAkhil Goyal <akhil.goyal@nxp.com>2018-11-02 12:26:06 +0100
commit4aaad2995e131856b8520c175b9350c3fcfed7d8 (patch)
treecedbc0ca29391ce0567db834eb93631f3f8450d2 /examples/fips_validation/fips_validation.h
parent527cbf3d5ee380f49db828957de4ba75f71e4311 (diff)
downloaddpdk-4aaad2995e131856b8520c175b9350c3fcfed7d8.zip
dpdk-4aaad2995e131856b8520c175b9350c3fcfed7d8.tar.gz
dpdk-4aaad2995e131856b8520c175b9350c3fcfed7d8.tar.xz
examples/fips_validation: support GCM parsing
Added enablement for GCM parser, to allow the application to parser the GCM request file and to validate all tests supported. Signed-off-by: Marko Kovacevic <marko.kovacevic@intel.com> Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com> Acked-by: Arek Kusztal <arkadiuszx.kusztal@intel.com> Reviewed-by: Akhil Goyal <akhil.goyal@nxp.com>
Diffstat (limited to 'examples/fips_validation/fips_validation.h')
-rw-r--r--examples/fips_validation/fips_validation.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/fips_validation/fips_validation.h b/examples/fips_validation/fips_validation.h
index 69a2116..4cceff5 100644
--- a/examples/fips_validation/fips_validation.h
+++ b/examples/fips_validation/fips_validation.h
@@ -24,6 +24,7 @@
enum fips_test_algorithms {
FIPS_TEST_ALGO_AES = 0,
+ FIPS_TEST_ALGO_AES_GCM,
FIPS_TEST_ALGO_HMAC,
FIPS_TEST_ALGO_TDES,
FIPS_TEST_ALGO_MAX
@@ -171,6 +172,9 @@ int
parse_test_hmac_init(void);
int
+parse_test_gcm_init(void);
+
+int
parser_read_uint8_hex(uint8_t *value, const char *p);
int