Skip to contentSkip to conversation

FIPS validation capability

PATCH Superseded Marko Kovacevic 1 participant 3 messages Sep 7, 2018

v1 of 7 Superseded Latest is v7 →

lore
Share & tools
lore
#0 lore raw

cover FIPS validation capability

Adding capability into DPDK to allow certification for FIPS validation, I have just added one test for one algo will be adding other algos into other versions of the patch and i will be refactoring the code and cleaning the parser once i start adding the different algos.

Marko Kovacevic (2):
test/test: cryptodev application for FIPS certification test/test: cryptodev application parser for FIPS certification

 test/test/Makefile                           |   4 +
 test/test/test_cryptodev_fips.c              | 771 +++++++++++++++++++++++++++
 test/test/test_cryptodev_fips_parse.h        | 156 ++++++
 test/test/test_cryptodev_fips_parse_aes.c    | 399 ++++++++++++++
 test/test/test_cryptodev_fips_parse_common.c | 330 ++++++++++++
 5 files changed, 1660 insertions(+)
 create mode 100644 test/test/test_cryptodev_fips.c
 create mode 100644 test/test/test_cryptodev_fips_parse.h
 create mode 100644 test/test/test_cryptodev_fips_parse_aes.c
 create mode 100644 test/test/test_cryptodev_fips_parse_common.c
Signature · 1 line
2.9.5
#1 lore raw

PATCH 1/2 test/test: cryptodev application for FIPS certification

Adding initial set up for the FIPS ceritifcation into DPDK, more algos will be added in other versions of the code. Also documentation will be added with steps on how to run.

---
 test/test/Makefile              |   1 +
 test/test/test_cryptodev_fips.c | 771 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 772 insertions(+)
 create mode 100644 test/test/test_cryptodev_fips.c
test/test/Makefile +1 -0
index e6967ba..ee74450 100644
@@ -182,6 +182,7 @@ SRCS-$(CONFIG_RTE_LIBRTE_PMD_RING) += test_pmd_ring_perf.c
 SRCS-$(CONFIG_RTE_LIBRTE_CRYPTODEV) += test_cryptodev_blockcipher.c
 SRCS-$(CONFIG_RTE_LIBRTE_CRYPTODEV) += test_cryptodev.c
 SRCS-$(CONFIG_RTE_LIBRTE_CRYPTODEV) += test_cryptodev_asym.c
+SRCS-$(CONFIG_RTE_LIBRTE_CRYPTODEV) += test_cryptodev_fips.c
 
 ifeq ($(CONFIG_RTE_COMPRESSDEV_TEST),y)
 SRCS-$(CONFIG_RTE_LIBRTE_COMPRESSDEV) += test_compressdev.c
test/test/test_cryptodev_fips.c new file +771 -0

771 lines not on this page · raw message

Signature · 1 line
2.9.5
#2 lore raw

PATCH 2/2 test/test: cryptodev application parser for FIPS certification

In reply to Marko Kovacevic

Added parser to parser required request file which has different algos required by the fips certification and to generate the response file needed.

---
 test/test/Makefile                           |   3 +
 test/test/test_cryptodev_fips_parse.h        | 156 +++++++++++
 test/test/test_cryptodev_fips_parse_aes.c    | 399 +++++++++++++++++++++++++++
 test/test/test_cryptodev_fips_parse_common.c | 330 ++++++++++++++++++++++
 4 files changed, 888 insertions(+)
 create mode 100644 test/test/test_cryptodev_fips_parse.h
 create mode 100644 test/test/test_cryptodev_fips_parse_aes.c
 create mode 100644 test/test/test_cryptodev_fips_parse_common.c
test/test/Makefile +3 -0
index ee74450..9d6abb5 100644
@@ -183,6 +183,9 @@ SRCS-$(CONFIG_RTE_LIBRTE_CRYPTODEV) += test_cryptodev_blockcipher.c
 SRCS-$(CONFIG_RTE_LIBRTE_CRYPTODEV) += test_cryptodev.c
 SRCS-$(CONFIG_RTE_LIBRTE_CRYPTODEV) += test_cryptodev_asym.c
 SRCS-$(CONFIG_RTE_LIBRTE_CRYPTODEV) += test_cryptodev_fips.c
+SRCS-$(CONFIG_RTE_LIBRTE_CRYPTODEV) += test_cryptodev_fips_parse_common.c
+SRCS-$(CONFIG_RTE_LIBRTE_CRYPTODEV) += test_cryptodev_fips_parse_aes.c
+
 
 ifeq ($(CONFIG_RTE_COMPRESSDEV_TEST),y)
 SRCS-$(CONFIG_RTE_LIBRTE_COMPRESSDEV) += test_compressdev.c
test/test/test_cryptodev_fips_parse.h new file +156 -0

156 lines not on this page · raw message

test/test/test_cryptodev_fips_parse_aes.c new file +399 -0

399 lines not on this page · raw message

test/test/test_cryptodev_fips_parse_common.c new file +330 -0

330 lines not on this page · raw message

Signature · 1 line
2.9.5