crypto/qat: fix null cipher algo for non 8-byte multiple
authorFiona Trahe <fiona.trahe@intel.com>
Fri, 26 Apr 2019 19:28:03 +0000 (20:28 +0100)
committerAkhil Goyal <akhil.goyal@nxp.com>
Tue, 30 Apr 2019 13:40:56 +0000 (15:40 +0200)
commit20f1cb1aaf77535d11526c5a1c165eeeeddeff6a
treeabda77d110bd9eeb65845a24a2a0ef85f062ee66
parentffa89c90f35a98685495f11ad04be71e6ab4acdb
crypto/qat: fix null cipher algo for non 8-byte multiple

NULL cipher algo of 4-byte multiple and other sizes caused firmware hang
due to use of wrong mode. Changed from ECB mode to CTR mode to fix.

Fixes: 98f060891615 ("crypto/qat: add symmetric session file")
Cc: stable@dpdk.org
Signed-off-by: Fiona Trahe <fiona.trahe@intel.com>
drivers/crypto/qat/qat_sym_session.c