mbox series

[0/2] Improvements to rte_security

Message ID 1626759974-334-1-git-send-email-anoobj@marvell.com (mailing list archive)
Headers
Series Improvements to rte_security |

Message

Anoob Joseph July 20, 2021, 5:46 a.m. UTC
  Add options for offloading
- IV generation
- SA lifetime

With lookaside protocol (IPsec) offloads, application is expected to
provide IV in rte_crypto_op. For cryptodevs which can generate true
random, this operation can be offloaded.

SA lifetime is used in tracking SA expiries and initiating SA renegotiation.
For cryptodevs which can track expiries, this operation can be offloaded.

This patchset introduces ABI breakages and is intended for 21.11 release

Anoob Joseph (2):
  lib/security: add IV generation
  lib/security: add SA lifetime configuration

 examples/ipsec-secgw/ipsec.c |  2 +-
 examples/ipsec-secgw/ipsec.h |  2 +-
 lib/cryptodev/rte_crypto.h   |  7 +++++++
 lib/security/rte_security.h  | 42 ++++++++++++++++++++++++++++++++++++++++--
 4 files changed, 49 insertions(+), 4 deletions(-)