mbox series

[v3,0/3] Add user specified IV with lookaside IPsec

Message ID 1631031463-211-1-git-send-email-anoobj@marvell.com (mailing list archive)
Headers show
Series Add user specified IV with lookaside IPsec | expand

Message

Anoob Joseph Sept. 7, 2021, 4:17 p.m. UTC
Add support for using user provided IV with lookaside protocol (IPsec). Using
this option, application can provide IV to be used per operation. This
option can be used for knownn vector tests (which is otherwise impossible
due to random nature of IV) as well as if application wishes to use its
own random generator source.

Depends on
http://patches.dpdk.org/project/dpdk/list/?series=18642

Changes in v3:
- Moved release notes update to ABI section instead of API section

Changes in v2:
- Updated crypto/cnxk patch to handle non-aes-gcm cases
- Rebased on v3 of lookaside IPsec tests

Anoob Joseph (2):
  security: support user specified IV
  test/crypto: add outbound known vector tests

Tejasree Kondoj (1):
  crypto/cnxk: add IV in SA in lookaside IPsec debug mode

 app/test/test_cryptodev.c                         | 44 +++++++++++++++++++++++
 app/test/test_cryptodev_security_ipsec.c          | 16 ++++++++-
 doc/guides/rel_notes/release_21_11.rst            |  5 +++
 drivers/crypto/cnxk/cn10k_ipsec.c                 | 16 +++++++++
 drivers/crypto/cnxk/cn10k_ipsec.h                 |  2 ++
 drivers/crypto/cnxk/cn10k_ipsec_la_ops.h          | 44 +++++++++++++++++++++++
 drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c | 29 +++++++++++++--
 drivers/crypto/cnxk/meson.build                   |  6 ++++
 lib/security/rte_security.h                       | 14 ++++++++
 9 files changed, 173 insertions(+), 3 deletions(-)

Comments

Akhil Goyal Sept. 28, 2021, 8:32 a.m. UTC | #1
> Add support for using user provided IV with lookaside protocol (IPsec). Using
> this option, application can provide IV to be used per operation. This
> option can be used for knownn vector tests (which is otherwise impossible
> due to random nature of IV) as well as if application wishes to use its
> own random generator source.
> 
> Depends on
> http://patches.dpdk.org/project/dpdk/list/?series=18642
Applied to dpdk-next-crypto

Thanks.