uint32_t num;
/** array of SGL vectors */
struct rte_crypto_sgl *src_sgl;
+ /** array of SGL vectors for OOP, keep it NULL for inplace*/
+ struct rte_crypto_sgl *dest_sgl;
/** array of pointers to cipher IV */
struct rte_crypto_va_iova_ptr *iv;
/** array of pointers to digest */
/* whole requested data is completed */
vec[i].len = left;
left = 0;
+ i++;
break;
}
}
RTE_ASSERT(left == 0);
- return i + 1;
+ return i;
}