git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
crypto/cnxk: fix KASUMI input length
[dpdk.git]
/
drivers
/
crypto
/
cnxk
/
cnxk_se.h
diff --git
a/drivers/crypto/cnxk/cnxk_se.h
b/drivers/crypto/cnxk/cnxk_se.h
index
e4e554e
..
37237de
100644
(file)
--- a/
drivers/crypto/cnxk/cnxk_se.h
+++ b/
drivers/crypto/cnxk/cnxk_se.h
@@
-1482,7
+1482,7
@@
cpt_kasumi_dec_prep(uint64_t d_offs, uint64_t d_lens,
/* consider iv len */
encr_offset += iv_len;
- inputlen =
iv_len
+ (RTE_ALIGN(encr_data_len, 8) / 8);
+ inputlen =
encr_offset
+ (RTE_ALIGN(encr_data_len, 8) / 8);
outputlen = inputlen;
/* save space for offset ctrl & iv */