#
8d70a194 |
| 07-Jun-2022 |
David Marchand <david.marchand@redhat.com> |
examples/fips_validation: fix link to libjansson
When compiling this example out of DPDK, linking the executable fails with:
## Building fips_validation /usr/bin/ld: /tmp/ccQjeHBg.o: in functio
examples/fips_validation: fix link to libjansson
When compiling this example out of DPDK, linking the executable fails with:
## Building fips_validation /usr/bin/ld: /tmp/ccQjeHBg.o: in function `fips_test_init': fips_validation.c:(.text+0x7ab): undefined reference to `json_loadf' /usr/bin/ld: /tmp/ccQjeHBg.o: in function `fips_test_parse_one_json_vector_set': fips_validation.c:(.text+0xc2e): undefined reference to `json_object_get' /usr/bin/ld: fips_validation.c:(.text+0xc36): undefined reference to `json_string_value' /usr/bin/ld: /tmp/ccQjeHBg.o: in function `fips_test_parse_one_json_group': fips_validation.c:(.text+0xd00): undefined reference to `json_object_get' /usr/bin/ld: fips_validation.c:(.text+0xd14): undefined reference to `json_integer_value' ...
Code in an example can't rely on RTE_HAS_JANSSON, because it only indicates that the jansson library was available at the time of dpdk compilation.
Prefer a local build flag (like what is done in vm_power_manager). And add linking to libjansson, if available.
Fixes: f556293fd58e ("examples/fips_validation: add JSON info to header")
Signed-off-by: David Marchand <david.marchand@redhat.com> Acked-by: Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com>
show more ...
|
#
d3b50557 |
| 30-May-2022 |
Brandon Lo <blo@iol.unh.edu> |
examples/fips_validation: implement JSON CMAC test
Implemented JSON support for the CMAC test.
Signed-off-by: Brandon Lo <blo@iol.unh.edu> Signed-off-by: Gowrishankar Muthukrishnan <gmuthukrishn@ma
examples/fips_validation: implement JSON CMAC test
Implemented JSON support for the CMAC test.
Signed-off-by: Brandon Lo <blo@iol.unh.edu> Signed-off-by: Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com> Acked-by: Fan Zhang <roy.fan.zhang@intel.com> Tested-by: Jakub Poczatek <jakub.poczatek@intel.com>
show more ...
|
#
ac026f46 |
| 02-Nov-2018 |
Marko Kovacevic <marko.kovacevic@intel.com> |
examples/fips_validation: support CMAC parsing
Added enablement for CMAC parser, to allow the application to parser the cmac request files and to validate all test types supported.
Signed-off-by: M
examples/fips_validation: support CMAC parsing
Added enablement for CMAC parser, to allow the application to parser the cmac request files and to validate all test types 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>
show more ...
|