ipsec: add SA data-path API
authorKonstantin Ananyev <konstantin.ananyev@intel.com>
Thu, 10 Jan 2019 21:06:29 +0000 (21:06 +0000)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Thu, 10 Jan 2019 15:57:22 +0000 (16:57 +0100)
commit1e0ad1e36d46a76bc675bd7df39539c3dd83211a
tree090a9e41ed3851040a432f56a4575fca09eed763
parent9f7b43141caadb55832c2107d1bf6479ff12b1a5
ipsec: add SA data-path API

Introduce Security Association (SA-level) data-path API
Operates at SA level, provides functions to:
    - initialize/teardown SA object
    - process inbound/outbound ESP/AH packets associated with the given SA
      (decrypt/encrypt, authenticate, check integrity,
      add/remove ESP/AH related headers and data, etc.).

Signed-off-by: Mohammad Abdul Awal <mohammad.abdul.awal@intel.com>
Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: Declan Doherty <declan.doherty@intel.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
lib/librte_ipsec/Makefile
lib/librte_ipsec/meson.build
lib/librte_ipsec/rte_ipsec.h [new file with mode: 0644]
lib/librte_ipsec/rte_ipsec_version.map
lib/librte_ipsec/sa.c
lib/librte_ipsec/sa.h
lib/librte_ipsec/ses.c [new file with mode: 0644]