#
06c047b6 |
| 09-Feb-2022 |
Stephen Hemminger <stephen@networkplumber.org> |
remove unnecessary null checks
Functions like free, rte_free, and rte_mempool_free already handle NULL pointer so the checks here are not necessary.
Remove redundant NULL pointer checks before free
remove unnecessary null checks
Functions like free, rte_free, and rte_mempool_free already handle NULL pointer so the checks here are not necessary.
Remove redundant NULL pointer checks before free functions found by nullfree.cocci
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
show more ...
|
#
fc6e6515 |
| 04-Feb-2021 |
Ibtisam Tariq <ibtisam.tariq@emumba.com> |
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
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>
show more ...
|
#
ecc3356f |
| 22-Oct-2020 |
Fan Zhang <roy.fan.zhang@intel.com> |
examples/fips_validation: fix missed version line
This patch fixes the missing version line in the response file.
Fixes: 793650184099 ("examples/fips_validation: fix version compatibility") Cc: sta
examples/fips_validation: fix missed version line
This patch fixes the missing version line in the response file.
Fixes: 793650184099 ("examples/fips_validation: fix version compatibility") Cc: stable@dpdk.org
Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
show more ...
|
#
79365018 |
| 09-Sep-2020 |
Archana Muniganti <marchana@marvell.com> |
examples/fips_validation: fix version compatibility
Separate out CAVS request file version 21.4 code to support lower versions.
Fixes: 32440cdf2af9 ("examples/fips_validation: fix parsing of TDES v
examples/fips_validation: fix version compatibility
Separate out CAVS request file version 21.4 code to support lower versions.
Fixes: 32440cdf2af9 ("examples/fips_validation: fix parsing of TDES vectors") Fixes: 2b84d2bd47df ("examples/fips_validation: fix count overwrite for TDES") Cc: stable@dpdk.org
Signed-off-by: Archana Muniganti <marchana@marvell.com> Acked-by: Fan Zhang <roy.fan.zhang@intel.com> Tested-by: Yu Jiang <yux.jiang@intel.com>
show more ...
|
#
9275af3b |
| 06-Oct-2020 |
Olivier Matz <olivier.matz@6wind.com> |
examples/fips_validation: fix buffer overflow
If the file name is larger than MAX_STRING_SIZE (64), strcpy() will overwrite the content of memory.
Replace strcpy() by rte_strscpy(), check its retur
examples/fips_validation: fix buffer overflow
If the file name is larger than MAX_STRING_SIZE (64), strcpy() will overwrite the content of memory.
Replace strcpy() by rte_strscpy(), check its return value, and increase file_name size to 256.
Fixes: 3d0fad56b74a ("examples/fips_validation: add crypto FIPS application") Cc: stable@dpdk.org
Signed-off-by: Olivier Matz <olivier.matz@6wind.com> Acked-by: Fan Zhang <roy.fan.zhang@intel.com>
show more ...
|
#
2b84d2bd |
| 11-Jun-2020 |
Archana Muniganti <marchana@marvell.com> |
examples/fips_validation: fix count overwrite for TDES
Application updates first line of each test vector with COUNT = i(where i = 1,2,3..) assuming first line contains COUNT string. But few of the
examples/fips_validation: fix count overwrite for TDES
Application updates first line of each test vector with COUNT = i(where i = 1,2,3..) assuming first line contains COUNT string. But few of the TDES input test vectors don't contain COUNT string and thus COUNT is getting overwritten on other data.
Fixes: 527cbf3d5ee3 ("examples/fips_validation: support TDES parsing") Cc: stable@dpdk.org
Signed-off-by: Archana Muniganti <marchana@marvell.com> Signed-off-by: Kanaka Durga Kotamarthy <kkotamarthy@marvell.com>
show more ...
|
#
32440cdf |
| 11-Jun-2020 |
Ayuj Verma <ayverma@marvell.com> |
examples/fips_validation: fix parsing of TDES vectors
Processing of test vector for COUNT = 0 is getting skipped, as some of the NIST TDES files doesn't have an empty line after [ENCRYPT]/[DECRYPT]
examples/fips_validation: fix parsing of TDES vectors
Processing of test vector for COUNT = 0 is getting skipped, as some of the NIST TDES files doesn't have an empty line after [ENCRYPT]/[DECRYPT] and thus treated as an interim block.
Parse function now identifies such blocks, separates out interim and test vector data, and then parses each with their respective callbacks.
Fixes: 3d0fad56b74a ("examples/fips_validation: add crypto FIPS application") Cc: stable@dpdk.org
Signed-off-by: Archana Muniganti <marchana@marvell.com> Signed-off-by: Ayuj Verma <ayverma@marvell.com>
show more ...
|
#
90ecace4 |
| 17-Apr-2020 |
Archana Muniganti <marchana@marvell.com> |
examples/fips_validation: fix parsing of algorithms
Few of the NIST TDES test files don't contain TDES string. Added indicators to identify such files. These indicators are part of only NIST TDES te
examples/fips_validation: fix parsing of algorithms
Few of the NIST TDES test files don't contain TDES string. Added indicators to identify such files. These indicators are part of only NIST TDES test vector files.
Fixes: 527cbf3d5ee3 ("examples/fips_validation: support TDES parsing") Cc: stable@dpdk.org
Signed-off-by: Archana Muniganti <marchana@marvell.com> Signed-off-by: Ayuj Verma <ayverma@marvell.com> Acked-by: Anoob Joseph <anoobj@marvell.com>
show more ...
|
#
d5a9ea55 |
| 07-Jan-2020 |
Sucharitha Sarananaga <ssarananaga@marvell.com> |
examples/fips_validation: support AES XTS
AES XTS support is added to fips application. Parse test-vectors from input files, populate AES XTS tests and prepare AES XTS operations for fips validation
examples/fips_validation: support AES XTS
AES XTS support is added to fips application. Parse test-vectors from input files, populate AES XTS tests and prepare AES XTS operations for fips validation.
Signed-off-by: Abed Kamaluddin <akamaluddin@marvell.com> Signed-off-by: Archana Muniganti <marchana@marvell.com> Signed-off-by: Sucharitha Sarananaga <ssarananaga@marvell.com>
show more ...
|
#
efe3a8db |
| 01-Oct-2019 |
Michael Shamis <michaelsh@marvell.com> |
examples/fips_validation: support TDES ECB
Signed-off-by: Michael Shamis <michaelsh@marvell.com> Reviewed-by: Marko Kovacevic <marko.kovacevic@intel.com>
|
#
07f403e7 |
| 15-Apr-2019 |
Marko Kovacevic <marko.kovacevic@intel.com> |
examples/fips_validation: fix HMAC test
Application was failing as the HMAC and Plain SHA fips request files are similar in a way that they both have SHA- in the top section to determine the hash al
examples/fips_validation: fix HMAC test
Application was failing as the HMAC and Plain SHA fips request files are similar in a way that they both have SHA- in the top section to determine the hash algo and hash sizes. And HMAC having the algo in the second line but the Plain SHA in the third meant that when the HMAC files was used once it parsed the third line Plain SHA was set as the algo and not HMAC.
USER1: Failed to get capability for cdev 0 USER1: Error -22: test block [L=20 SHAAlg=SHA_2] USER1: Error -22: Failed test /root/FIPS/HMAC/req/HMAC.req
Fixes: f4797bae0050 ("examples/fips_validation: support plain SHA")
Signed-off-by: Marko Kovacevic <marko.kovacevic@intel.com>
show more ...
|
#
f4797bae |
| 19-Mar-2019 |
Damian Nowak <damianx.nowak@intel.com> |
examples/fips_validation: support plain SHA
This patch enables plain SHA algorithm CAVP test support in fips_validation sample application.
Signed-off-by: Damian Nowak <damianx.nowak@intel.com> Ack
examples/fips_validation: support plain SHA
This patch enables plain SHA algorithm CAVP test support in fips_validation sample application.
Signed-off-by: Damian Nowak <damianx.nowak@intel.com> Acked-by: Fan Zhang <roy.fan.zhang@intel.com> Acked-by: Marko Kovacevic <marko.kovacevic@intel.com>
show more ...
|
#
305921f4 |
| 02-Nov-2018 |
Marko Kovacevic <marko.kovacevic@intel.com> |
examples/fips_validation: support CCM parsing
Added enablement for CCM parser, to allow the application to parser the ccm request files and to validate all test types supported.
Signed-off-by: Mark
examples/fips_validation: support CCM parsing
Added enablement for CCM parser, to allow the application to parser the ccm 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 ...
|
#
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 ...
|
#
4aaad299 |
| 02-Nov-2018 |
Marko Kovacevic <marko.kovacevic@intel.com> |
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 Kova
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>
show more ...
|
#
527cbf3d |
| 02-Nov-2018 |
Marko Kovacevic <marko.kovacevic@intel.com> |
examples/fips_validation: support TDES parsing
Added enablement for TDES parser, to allow the application to parser the TDES request files and to validate all test types supported.
Signed-off-by: M
examples/fips_validation: support TDES parsing
Added enablement for TDES parser, to allow the application to parser the TDES 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 ...
|
#
f64adb67 |
| 02-Nov-2018 |
Marko Kovacevic <marko.kovacevic@intel.com> |
examples/fips_validation: support HMAC parsing
Added enablement for HMAC parser, to allow the application to parser the hmac request files and to validate all tests supported
Signed-off-by: Marko K
examples/fips_validation: support HMAC parsing
Added enablement for HMAC parser, to allow the application to parser the hmac request files 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>
show more ...
|
#
cd255ccf |
| 02-Nov-2018 |
Marko Kovacevic <marko.kovacevic@intel.com> |
examples/fips_validation: support AES parsing
Added enablement for AES-CBC parser, to allow the application to parser the aes request file and to validate all test types supported.
Signed-off-by: M
examples/fips_validation: support AES parsing
Added enablement for AES-CBC parser, to allow the application to parser the aes request file 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 ...
|
#
3d0fad56 |
| 02-Nov-2018 |
Marko Kovacevic <marko.kovacevic@intel.com> |
examples/fips_validation: add crypto FIPS application
Added FIPS application into the examples to allow users to use a simple sample app to validate their systems and be able to get FIPS certificati
examples/fips_validation: add crypto FIPS application
Added FIPS application into the examples to allow users to use a simple sample app to validate their systems and be able to get FIPS certification.
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 ...
|