]> git.droids-corp.org - dpdk.git/blobdiff - app/test-crypto-perf/cperf_test_verify.c
app/crypto-perf: set AAD after the crypto operation
[dpdk.git] / app / test-crypto-perf / cperf_test_verify.c
index b8814b6bcb5be0fb2edafcd667b57486330c54c8..ca9947c8f45e4cb22371a5c780af599ce4d38caa 100644 (file)
@@ -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;