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

Griffin, John john.griffin at intel.com
Thu Sep 17 11:20:04 CEST 2020



> -----Original Message-----
> From: dev <dev-bounces at dpdk.org> On Behalf Of Fan Zhang
> Sent: Friday, September 4, 2020 5:10 PM
> To: dev at dpdk.org
> Cc: akhil.goyal at nxp.com; Trahe, Fiona <fiona.trahe at intel.com>; Kusztal,
> ArkadiuszX <arkadiuszx.kusztal at intel.com>; Dybkowski, AdamX
> <adamx.dybkowski at intel.com>; Zhang, Roy Fan <roy.fan.zhang at intel.com>;
> Janjua, Weqaar A <weqaar.a.janjua at intel.com>
> Subject: [dpdk-dev] [dpdk-dev v2 2/2] 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 <roy.fan.zhang at intel.com>
> Signed-off-by: Weqaar Janjua <Weqaar.A.Janjua at intel.com>
> ---
> --
> 2.20.1

Acked-by: John Griffin <john.griffin at intel.com>


More information about the dev mailing list