| 59f8c378 | 21-Apr-2022 |
Gowrishankar Muthukrishnan <[email protected]> |
crypto/cnxk: prevent out-of-bound access in capabilities
In a situation where crypto_caps elements are checked only for RTE_CRYPTO_OP_TYPE_UNDEFINED until valid op defined, there is possibility for
crypto/cnxk: prevent out-of-bound access in capabilities
In a situation where crypto_caps elements are checked only for RTE_CRYPTO_OP_TYPE_UNDEFINED until valid op defined, there is possibility for an out of bound access. Add this array by one element for current capabilities.
Signed-off-by: Gowrishankar Muthukrishnan <[email protected]> Acked-by: Anoob Joseph <[email protected]>
show more ...
|
| c662a1f9 | 25-Apr-2022 |
Anoob Joseph <[email protected]> |
crypto/cnxk: use set ctx operation for session destroy
Usage of flush and invalidate would involve delays to account for flush delay. Use set_ctx operation instead. When set_ctx fails, fall back to
crypto/cnxk: use set ctx operation for session destroy
Usage of flush and invalidate would involve delays to account for flush delay. Use set_ctx operation instead. When set_ctx fails, fall back to flush + invalidate scheme.
Signed-off-by: Anoob Joseph <[email protected]> Acked-by: Akhil Goyal <[email protected]>
show more ...
|
| 2f20817c | 17-Dec-2021 |
Archana Muniganti <[email protected]> |
crypto/cnxk: add per packet IV in lookaside IPsec debug
For cn9k, use HW GEN IV as default and add per pkt IV in lookaside IPsec debug mode. Debug mode helps to verify lookaside PMD using known outb
crypto/cnxk: add per packet IV in lookaside IPsec debug
For cn9k, use HW GEN IV as default and add per pkt IV in lookaside IPsec debug mode. Debug mode helps to verify lookaside PMD using known outbound vectors in lookaside autotest.
Signed-off-by: Archana Muniganti <[email protected]> Acked-by: Akhil Goyal <[email protected]>
show more ...
|
| c99f673f | 17-Dec-2021 |
Anoob Joseph <[email protected]> |
crypto/cnxk: fix extend tail calculation
If the packet size to be incremented after IPsec processing is less than size of hdr (size incremented before submitting), then extend_tail can become negati
crypto/cnxk: fix extend tail calculation
If the packet size to be incremented after IPsec processing is less than size of hdr (size incremented before submitting), then extend_tail can become negative. Allow negative values for the variable.
Fixes: 67a87e89561c ("crypto/cnxk: add cn9k lookaside IPsec datapath") Cc: [email protected]
Signed-off-by: Anoob Joseph <[email protected]> Acked-by: Akhil Goyal <[email protected]>
show more ...
|