octeon: add crypto framework 48/40548/13
authorNithinsen Kaithakadan <[email protected]>
Fri, 16 Feb 2024 06:28:04 +0000 (11:58 +0530)
committerDamjan Marion <[email protected]>
Thu, 17 Oct 2024 11:53:39 +0000 (11:53 +0000)
commit6937c0b2dfa472e9e3e72446cad6468e85a161bc
treed448bfb8dcfd619c03102456c060ab6f949b58df
parent17a918133ba056851c848cbd95dcd241b900cd3d
octeon: add crypto framework

Configure crypto device.
Add crypto support in control plane and data plane.
Control plane
 - Handle vnet crypto key add and delete
 - Register crypto async enqueue and dequeue handlers
Data plane
 - Add encryption and decryption support for
    - AES-GCM
    - AES-CBC hmac sha1/256/384/512
    - AES-CTR sha1
    - 3DES-CBC md5 sha1/256/384/512

Type: feature

Signed-off-by: Nithinsen Kaithakadan <[email protected]>
Signed-off-by: Monendra Singh Kushwaha <[email protected]>
Change-Id: Ia9e16c61ed84800a59e0c932a4ba6aa1423c1ec8
src/plugins/dev_octeon/CMakeLists.txt
src/plugins/dev_octeon/crypto.c [new file with mode: 0644]
src/plugins/dev_octeon/crypto.h [new file with mode: 0644]
src/plugins/dev_octeon/init.c
src/plugins/dev_octeon/octeon.h
src/plugins/dev_octeon/roc_helper.c