]> git.droids-corp.org - dpdk.git/commit
crypto/qat: fix cleanup function default behaviour
authorArek Kusztal <arkadiuszx.kusztal@intel.com>
Wed, 15 Jun 2022 05:57:56 +0000 (06:57 +0100)
committerAkhil Goyal <gakhil@marvell.com>
Tue, 21 Jun 2022 18:04:50 +0000 (20:04 +0200)
commit4c1a91b21f22295928ef230041fd47ed92c4bf58
tree98371aa826d75b0c25c9f37465bfd32311257e52
parent8d70a19417ad70accc3e138190875ff8f2baae8c
crypto/qat: fix cleanup function default behaviour

Full cookie data should be cleared by default if not algorithm
specified. This is protection in case algorithm specific cleanup
is not implemented.

Fixes: 3b78aa7b2317 ("crypto/qat: refactor asymmetric crypto functions")
Cc: stable@dpdk.org
Signed-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>
Acked-by: Fan Zhang <roy.fan.zhang@intel.com>
drivers/crypto/qat/qat_asym.c