[PATCH v4] app/test: add additional stream cipher tests

Power, Ciara ciara.power at intel.com
Tue Jun 28 14:07:22 CEST 2022



> -----Original Message-----
> From: Tejasree Kondoj <ktejasree at marvell.com>
> Sent: Thursday 23 June 2022 19:20
> To: Akhil Goyal <gakhil at marvell.com>; Power, Ciara <ciara.power at intel.com>;
> Zhang, Roy Fan <roy.fan.zhang at intel.com>
> Cc: Anoob Joseph <anoobj at marvell.com>; Ankur Dwivedi
> <adwivedi at marvell.com>; dev at dpdk.org
> Subject: [PATCH v4] app/test: add additional stream cipher tests
> 
> Adding zuc, snow3g and aes-ctr-cmac auth-cipher test vectors with same auth
> and cipher offsets and total digest data encrypted.
> Existing tests have different cipher and auth offsets and partial or no digest
> encrypted.
> 
> Signed-off-by: Tejasree Kondoj <ktejasree at marvell.com>
> ---
> v4:
> * Set last 3 bytes of IV to zero in each 8 byte block
> 
> v3:
> * Modified IV of test vectors as per specification
> 
> v2:
> * Removed cn9k PMD checks
> 
>  app/test/test_cryptodev.c                     | 270 ++++++++++++++++++
>  app/test/test_cryptodev_mixed_test_vectors.h  | 194 +++++++++++++
> app/test/test_cryptodev_snow3g_test_vectors.h |  67 +++++
>  app/test/test_cryptodev_zuc_test_vectors.h    |  77 +++++
>  4 files changed, 608 insertions(+)

Thanks for updating those vectors to match spec.

Acked-by: Ciara Power <ciara.power at intel.com>



More information about the dev mailing list