crypto/qat: fix authentication offset and length for GMAC
authorArek Kusztal <arkadiuszx.kusztal@intel.com>
Fri, 14 Jul 2017 08:49:02 +0000 (09:49 +0100)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Wed, 19 Jul 2017 11:10:41 +0000 (14:10 +0300)
commitf42f43140e64198c92802aa3d084020d18773bac
tree8f9b01aefe47f495468fe95f23cadad076ee4873
parent7b3880fdcc65329ecb1acf2ed87e4ab708435587
crypto/qat: fix authentication offset and length for GMAC

Authentication length and offset need to be set like for any other
authentication algorithms as it no longer uses aad pointer

Fixes: b79e4c00af0e ("cryptodev: use AES-GCM/CCM as AEAD algorithms")

Signed-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>
drivers/crypto/qat/qat_crypto.c