crypto/qat: fix digest in wireless auth case
authorFiona Trahe <fiona.trahe@intel.com>
Fri, 25 Jan 2019 16:59:00 +0000 (16:59 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 27 Jan 2019 22:48:34 +0000 (23:48 +0100)
commit89da5e006f23dd4ef29b55f5b29a239297eb2f9c
tree3dec62d92e56f2046ac90ff6785386fa2b348575
parent61e093398fbc55b35c97dd8af1b282d5c1a2dab9
crypto/qat: fix digest in wireless auth case

When operation calls for auth (digest generation), followed by
encryption of both data plus digest, the digest-in-buffer
flag must be set for QAT.

Fixes: 39e0bee48e81 ("crypto/qat: rework request builder for performance")
Cc: stable@dpdk.org
Signed-off-by: Fiona Trahe <fiona.trahe@intel.com>
Acked-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>
drivers/crypto/qat/qat_sym.c