crypto/qat: extend support for digest-encrypted auth-cipher
authorDamian Nowak <damianx.nowak@intel.com>
Wed, 3 Jul 2019 11:15:53 +0000 (13:15 +0200)
committerAkhil Goyal <akhil.goyal@nxp.com>
Fri, 5 Jul 2019 13:28:14 +0000 (15:28 +0200)
commit40002f6c2a24547846fee73afd345c3f7848a8f1
treeedaccda216b77ffb0082bca495b4f2b9057ddf49
parent90197eb0945b50c9cd6e11f310cfc5078b28f75e
crypto/qat: extend support for digest-encrypted auth-cipher

This patch adds condition to be met when using
out-of-place auth-cipher operations. It checks
if the digest location overlaps with the data to
be encrypted or decrypted and if so, treats as a
digest-encrypted case.
Patch adds checking, if the digest is being
encrypted or decrypted partially and extends PMD
buffers accordingly.
It also adds feature flag for QuickAssist
Technology to emphasize it's support for digest
appended auth-cipher operations.

Signed-off-by: Damian Nowak <damianx.nowak@intel.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>
doc/guides/cryptodevs/features/qat.ini
doc/guides/rel_notes/release_19_08.rst
drivers/crypto/qat/qat_sym.c
drivers/crypto/qat/qat_sym_pmd.c