Skip to content

Commit

Permalink
lib: add clarification about offset in src/dst pointers
Browse files Browse the repository at this point in the history
Signed-off-by: Pablo de Lara <[email protected]>
  • Loading branch information
pablodelara authored and mdcornu committed Nov 20, 2024
1 parent 086bc86 commit 86cc89b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/intel-ipsec-mb.h
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,10 @@ struct IMB_SGL_IOV {
* expected to point to an array of 3 pointers for
* the corresponding 3 key schedules.
* - same key schedule used for enc and dec operations
*
* Cipher offset only applies to src pointer, not dst pointer.
* In case of an in-place operation, dst pointer needs to point
* at src + cipher_start_src_offset_in_bytes/bits.
*/

typedef struct IMB_JOB {
Expand Down

0 comments on commit 86cc89b

Please sign in to comment.