[PATCH v3 5/5] test/crypto: add remaining blockcipher SGL tests

Zhang, Roy Fan roy.fan.zhang at intel.com
Wed Sep 21 16:55:22 CEST 2022


> -----Original Message-----
> From: Power, Ciara <ciara.power at intel.com>
> Sent: Wednesday, September 21, 2022 1:51 PM
> To: Akhil Goyal <gakhil at marvell.com>; Zhang, Roy Fan
> <roy.fan.zhang at intel.com>; Wang, Yipeng1 <yipeng1.wang at intel.com>;
> Gobriel, Sameh <sameh.gobriel at intel.com>; Richardson, Bruce
> <bruce.richardson at intel.com>; Medvedkin, Vladimir
> <vladimir.medvedkin at intel.com>
> Cc: dev at dpdk.org; Ji, Kai <kai.ji at intel.com>; De Lara Guarch, Pablo
> <pablo.de.lara.guarch at intel.com>; Power, Ciara <ciara.power at intel.com>
> Subject: [PATCH v3 5/5] test/crypto: add remaining blockcipher SGL tests
> 
> The current blockcipher test function only has support for two types of
> SGL test, INPLACE or OOP_SGL_IN_LB_OUT. These types are hardcoded into
> the function, with the number of segments always set to 3.
> 
> To ensure all SGL types are tested, blockcipher test vectors now have
> fields to specify SGL type, and the number of segments.
> If these fields are missing, the previous defaults are used,
> either INPLACE or OOP_SGL_IN_LB_OUT, with 3 segments.
> 
> Some AES and Hash vectors are modified to use these new fields, and new
> AES tests are added to test the SGL types that were not previously
> being tested.
> 
> Signed-off-by: Ciara Power <ciara.power at intel.com>
> ---
Acked-by: Fan Zhang <roy.fan.zhang at intel.com>


More information about the dev mailing list