mbox series

[v2,0/7] FIPS asymmetric validation

Message ID cover.1664263264.git.gmuthukrishn@marvell.com (mailing list archive)
Headers show
Series FIPS asymmetric validation | expand

Message

Gowrishankar Muthukrishnan Sept. 27, 2022, 7:26 a.m. UTC
This patch series adds support in fips_validation app to perform
asymmetric validation. To start with, RSA algorithm is used in
the evaluation. For the key value pairs which is multiprecision
in arithmetic, openssl library is used.

Changes:
 v2:
  - minor fixes in v1
  - addition of digest encoding for fips validation
  - addition of message randomization for fips conformance tests.

Gowrishankar Muthukrishnan (7):
  examples/fips_validation: fix parsing test group info
  examples/fips_validation: add interim parse writeback
  examples/fips_validation: add function to calculate SHA hash size
  examples/fips_validation: fix buffer size to parse JSON string
  examples/fips_validation: add asymmetric validation
  examples/fips_validation: encode digest with hash OID
  examples/fips_validation: randomize message for conformance test

 config/meson.build                            |   6 +
 doc/guides/sample_app_ug/fips_validation.rst  |   1 +
 examples/fips_validation/fips_validation.c    |  18 +-
 examples/fips_validation/fips_validation.h    |  60 +-
 .../fips_validation/fips_validation_gcm.c     |   8 +-
 .../fips_validation/fips_validation_rsa.c     | 630 ++++++++++++++++++
 .../fips_validation/fips_validation_sha.c     |  39 +-
 examples/fips_validation/main.c               | 542 ++++++++++++---
 examples/fips_validation/meson.build          |   6 +
 9 files changed, 1200 insertions(+), 110 deletions(-)
 create mode 100644 examples/fips_validation/fips_validation_rsa.c

Comments

Akhil Goyal Oct. 7, 2022, 9:52 a.m. UTC | #1
> Subject: [v2 0/7] FIPS asymmetric validation
> 
> This patch series adds support in fips_validation app to perform
> asymmetric validation. To start with, RSA algorithm is used in
> the evaluation. For the key value pairs which is multiprecision
> in arithmetic, openssl library is used.
> 
> Changes:
>  v2:
>   - minor fixes in v1
>   - addition of digest encoding for fips validation
>   - addition of message randomization for fips conformance tests.
> 
> Gowrishankar Muthukrishnan (7):
>   examples/fips_validation: fix parsing test group info
>   examples/fips_validation: add interim parse writeback
>   examples/fips_validation: add function to calculate SHA hash size
>   examples/fips_validation: fix buffer size to parse JSON string

First 4 patches are applied to dpdk-next-crypto
Rest of the patches need a rebase due to the recent changes in session create APIs.
Please send the rest of the patches.

>   examples/fips_validation: add asymmetric validation
>   examples/fips_validation: encode digest with hash OID
>   examples/fips_validation: randomize message for conformance test
> 
>  config/meson.build                            |   6 +
>  doc/guides/sample_app_ug/fips_validation.rst  |   1 +
>  examples/fips_validation/fips_validation.c    |  18 +-
>  examples/fips_validation/fips_validation.h    |  60 +-
>  .../fips_validation/fips_validation_gcm.c     |   8 +-
>  .../fips_validation/fips_validation_rsa.c     | 630 ++++++++++++++++++
>  .../fips_validation/fips_validation_sha.c     |  39 +-
>  examples/fips_validation/main.c               | 542 ++++++++++++---
>  examples/fips_validation/meson.build          |   6 +
>  9 files changed, 1200 insertions(+), 110 deletions(-)
>  create mode 100644 examples/fips_validation/fips_validation_rsa.c
> 
> --
> 2.25.1