History log of /dpdk/examples/fips_validation/fips_validation.h (Results 1 – 16 of 16)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v22.03, v22.03-rc4, v22.03-rc3, v22.03-rc2, v22.03-rc1, v21.11, v21.11-rc4, v21.11-rc3, v21.11-rc2, v21.11-rc1, v21.08, v21.08-rc4, v21.08-rc3, v21.08-rc2, v21.08-rc1, v21.05, v21.05-rc4, v21.05-rc3, v21.05-rc2, v21.05-rc1, v21.02, v21.02-rc4, v21.02-rc3
# fc6e6515 04-Feb-2021 Ibtisam Tariq <[email protected]>

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 <[email protected]>
Signed-off-by: Ibtisam Tariq <[email protected]>
Reviewed-by: David Marchand <[email protected]>

show more ...


Revision tags: v21.02-rc2, v21.02-rc1, v20.11, v20.11-rc5, v20.11-rc4, v20.11-rc3, v20.11-rc2, v20.11-rc1
# d09abf2d 09-Oct-2020 Fan Zhang <[email protected]>

examples/fips_validation: update GCM test

This patch updates fips validation GCM test capabilities:

- In NIST GCMVS spec GMAC test vectors are the GCM ones with
plaintext length as 0 and uses AAD a

examples/fips_validation: update GCM test

This patch updates fips validation GCM test capabilities:

- In NIST GCMVS spec GMAC test vectors are the GCM ones with
plaintext length as 0 and uses AAD as input data. Originally
fips_validation tests treats them both as GCM test vectors.
This patch introduce automatic test type recognition between
the two: when plaintext length is 0 the prepare_gmac_xform
and prepare_auth_op functions are called, otherwise
prepare_gcm_xform and prepare_aead_op functions are called.

- NIST GCMVS also specified externally or internally IV
generation. When IV is to be generated by IUT internally IUT
shall store the generated IV in the response file. This patch
also adds the support to that.

Signed-off-by: Fan Zhang <[email protected]>
Signed-off-by: Weqaar Janjua <[email protected]>
Acked-by: John Griffin <[email protected]>

show more ...


# 952e10cd 09-Oct-2020 Fan Zhang <[email protected]>

examples/fips_validation: support scatter gather list

This patch adds SGL support to FIPS sample application.
Originally the application allocates single mbuf of 64KB - 1
bytes data room. With the c

examples/fips_validation: support scatter gather list

This patch adds SGL support to FIPS sample application.
Originally the application allocates single mbuf of 64KB - 1
bytes data room. With the change the user may reduce the
mbuf dataroom size by using the add cmdline option. If the
input test data is longer than the user provided data room
size the application will automatically build chained mbufs
for the target cryptodev PMD to test.

Signed-off-by: Fan Zhang <[email protected]>
Acked-by: John Griffin <[email protected]>

show more ...


# 79365018 09-Sep-2020 Archana Muniganti <[email protected]>

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: [email protected]

Signed-off-by: Archana Muniganti <[email protected]>
Acked-by: Fan Zhang <[email protected]>
Tested-by: Yu Jiang <[email protected]>

show more ...


# 9275af3b 06-Oct-2020 Olivier Matz <[email protected]>

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: [email protected]

Signed-off-by: Olivier Matz <[email protected]>
Acked-by: Fan Zhang <[email protected]>

show more ...


Revision tags: v20.08, v20.08-rc4, v20.08-rc3, v20.08-rc2, v20.08-rc1
# 32440cdf 11-Jun-2020 Ayuj Verma <[email protected]>

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: [email protected]

Signed-off-by: Archana Muniganti <[email protected]>
Signed-off-by: Ayuj Verma <[email protected]>

show more ...


Revision tags: v20.05, v20.05-rc4, v20.05-rc3, v20.05-rc2, v20.05-rc1, v20.02, v20.02-rc4, v20.02-rc3, v20.02-rc2, v20.02-rc1
# d5a9ea55 07-Jan-2020 Sucharitha Sarananaga <[email protected]>

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 <[email protected]>
Signed-off-by: Archana Muniganti <[email protected]>
Signed-off-by: Sucharitha Sarananaga <[email protected]>

show more ...


Revision tags: v19.11, v19.11-rc4, v19.11-rc3, v19.11-rc2, v19.11-rc1
# efe3a8db 01-Oct-2019 Michael Shamis <[email protected]>

examples/fips_validation: support TDES ECB

Signed-off-by: Michael Shamis <[email protected]>
Reviewed-by: Marko Kovacevic <[email protected]>


Revision tags: v19.08, v19.08-rc4, v19.08-rc3, v19.08-rc2, v19.08-rc1, v19.05, v19.05-rc4, v19.05-rc3, v19.05-rc2, v19.05-rc1
# f4797bae 19-Mar-2019 Damian Nowak <[email protected]>

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 <[email protected]>
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 <[email protected]>
Acked-by: Fan Zhang <[email protected]>
Acked-by: Marko Kovacevic <[email protected]>

show more ...


Revision tags: v19.02, v19.02-rc4, v19.02-rc3, v19.02-rc2, v19.02-rc1, v18.11, v18.11-rc5, v18.11-rc4, v18.11-rc3, v18.11-rc2
# 305921f4 02-Nov-2018 Marko Kovacevic <[email protected]>

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 <[email protected]>
Signed-off-by: Fan Zhang <[email protected]>
Acked-by: Arek Kusztal <[email protected]>
Reviewed-by: Akhil Goyal <[email protected]>

show more ...


# ac026f46 02-Nov-2018 Marko Kovacevic <[email protected]>

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 <[email protected]>
Signed-off-by: Fan Zhang <[email protected]>
Acked-by: Arek Kusztal <[email protected]>
Reviewed-by: Akhil Goyal <[email protected]>

show more ...


# 4aaad299 02-Nov-2018 Marko Kovacevic <[email protected]>

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 <[email protected]>
Signed-off-by: Fan Zhang <[email protected]>
Acked-by: Arek Kusztal <[email protected]>
Reviewed-by: Akhil Goyal <[email protected]>

show more ...


# 527cbf3d 02-Nov-2018 Marko Kovacevic <[email protected]>

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 <[email protected]>
Signed-off-by: Fan Zhang <[email protected]>
Acked-by: Arek Kusztal <[email protected]>
Reviewed-by: Akhil Goyal <[email protected]>

show more ...


# f64adb67 02-Nov-2018 Marko Kovacevic <[email protected]>

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 <[email protected]>
Signed-off-by: Fan Zhang <[email protected]>
Acked-by: Arek Kusztal <[email protected]>
Reviewed-by: Akhil Goyal <[email protected]>

show more ...


# cd255ccf 02-Nov-2018 Marko Kovacevic <[email protected]>

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 <[email protected]>
Signed-off-by: Fan Zhang <[email protected]>
Acked-by: Arek Kusztal <[email protected]>
Reviewed-by: Akhil Goyal <[email protected]>

show more ...


# 3d0fad56 02-Nov-2018 Marko Kovacevic <[email protected]>

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 <[email protected]>
Signed-off-by: Fan Zhang <[email protected]>
Acked-by: Arek Kusztal <[email protected]>
Reviewed-by: Akhil Goyal <[email protected]>

show more ...