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
app/crypto-perf: set AAD after the crypto operation
[dpdk.git]
/
app
/
test-crypto-perf
/
cperf_test_verify.c
diff --git
a/app/test-crypto-perf/cperf_test_verify.c
b/app/test-crypto-perf/cperf_test_verify.c
index
b8814b6
..
ca9947c
100644
(file)
--- a/
app/test-crypto-perf/cperf_test_verify.c
+++ b/
app/test-crypto-perf/cperf_test_verify.c
@@
-197,9
+197,9
@@
cperf_verify_op(struct rte_crypto_op *op,
break;
case CPERF_AEAD:
cipher = 1;
- cipher_offset =
vector->aad.length
;
+ cipher_offset =
0
;
auth = 1;
- auth_offset =
vector->aad.length +
options->test_buffer_size;
+ auth_offset = options->test_buffer_size;
break;
default:
res = 1;