Fiona Trahe 1a2ff59679 crypto/qat: fix crashes
Resolution for seg-faults observed:
1) in buffer re-alignment in-place sgl case
2) case where data end is exactly at end of an sgl segment.
Also renamed variable and increased comments for clearer code.

Fixes: 40002f6c2a24 ("crypto/qat: extend support for digest-encrypted auth-cipher")

Signed-off-by: Fiona Trahe <fiona.trahe@intel.com>
Tested-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: Damian Nowak <damianx.nowak@intel.com>
2019-07-19 14:15:21 +02:00
..
2019-03-22 15:54:24 +01:00
2019-07-19 14:15:21 +02:00

# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2015-2018 Intel Corporation

Makefile for crypto QAT PMD is in common/qat directory.
The build for the QAT driver is done from there as only one library is built for the
whole QAT pci device and that library includes all the services (crypto, compression)
which are enabled on the device.