[dpdk-dev] [dpdk-dev v3 2/2] fips_validation: update GCM test

Akhil Goyal akhil.goyal at nxp.com
Sat Oct 10 18:55:50 CEST 2020


> 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 <roy.fan.zhang at intel.com>
> Signed-off-by: Weqaar Janjua <Weqaar.A.Janjua at intel.com>
> Acked-by: John Griffin <john.griffin at intel.com>
> ---
>  doc/guides/rel_notes/release_20_11.rst        |   5 +
>  examples/fips_validation/fips_validation.h    |  26 ++++
>  .../fips_validation/fips_validation_gcm.c     | 118 ++++++++++++++++--
>  examples/fips_validation/main.c               |  65 ++++++++--
>  4 files changed, 189 insertions(+), 25 deletions(-)
> 
> diff --git a/doc/guides/rel_notes/release_20_11.rst
> b/doc/guides/rel_notes/release_20_11.rst
> index 059ea5fca..7441e6ce4 100644
> --- a/doc/guides/rel_notes/release_20_11.rst
> +++ b/doc/guides/rel_notes/release_20_11.rst
> @@ -159,6 +159,11 @@ New Features
>    * Extern objects and functions can be plugged into the pipeline.
>    * Transaction-oriented table updates.
> 
> +* **fips_validation sample application enhancement.**
> +
> +     fips_vadation sample application is added SGL and NIST GCMVS complaint
> +     GMAC test method support.
> +
> 
These release notes need to be split into two for both the patches in the list. 
I did it while applying the patches.

Series Applied to dpdk-next-crypto

Thanks.


More information about the dev mailing list