aboutsummaryrefslogtreecommitdiffstats
path: root/lib/fault-inject.c
diff options
context:
space:
mode:
authorHerbert Xu <[email protected]>2019-05-06 06:39:44 +0000
committerHerbert Xu <[email protected]>2019-05-09 05:17:56 +0000
commit24586b5feaf17ecf85ae6259fe3ea7815dee432d (patch)
tree3ef729182d3fd15c93065876c0715a3f81ea65de /lib/fault-inject.c
parentMAINTAINERS: Maintainer for Chelsio crypto driver (diff)
downloadkernel-24586b5feaf17ecf85ae6259fe3ea7815dee432d.tar.gz
kernel-24586b5feaf17ecf85ae6259fe3ea7815dee432d.zip
crypto: caam - fix DKP detection logic
The detection for DKP (Derived Key Protocol) relied on the value of the setkey function. This was broken by the recent change which added des3_aead_setkey. This patch fixes this by introducing a new flag for DKP and setting that where needed. Fixes: 1b52c40919e6 ("crypto: caam - Forbid 2-key 3DES in FIPS mode") Reported-by: Horia Geantă <[email protected]> Signed-off-by: Herbert Xu <[email protected]> Tested-by: Horia Geantă <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions