Skip to content

[PATCH v1] crypto: add simple support for out-of-place operations#267

Open
JannePeltonen wants to merge 3 commits into
OpenDataPlane:masterfrom
JannePeltonen:crypto-oop-simple
Open

[PATCH v1] crypto: add simple support for out-of-place operations#267
JannePeltonen wants to merge 3 commits into
OpenDataPlane:masterfrom
JannePeltonen:crypto-oop-simple

Conversation

@JannePeltonen

Copy link
Copy Markdown
Collaborator

Add functionally complete but slow copy-based support for out-of-place crypto-operations.

The per-operation null-crypto flag is read from the first operation of a
burst, resulting in the other packets of the burst getting wrong treatment
if their null-crypto flags do not have the same value. Fix the bug by
reading the flag from the correct element of the parameter array.

Signed-off-by: Janne Peltonen <janne.peltonen@nokia.com>
Introduce helper functions to convert between crypto session handles
of the ODP API and internal crypto session pointers to avoid other code
having to do casting and having to know the exact relationship between
the handles and the session pointers.

Signed-off-by: Janne Peltonen <janne.peltonen@nokia.com>
Add simple support for out-of-place crypto operations with packet data
copying before and after the actual processing that is still done in-place.

Signed-off-by: Janne Peltonen <janne.peltonen@nokia.com>
@github-actions github-actions Bot changed the title crypto: add simple support for out-of-place operations [PATCH v1] crypto: add simple support for out-of-place operations Jul 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant