diff options
author | Russell King <[email protected]> | 2016-08-09 08:27:17 +0100 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2016-08-09 18:25:11 +0800 |
commit | a0118c8b2be9297aed8e915c60b4013326b256d4 (patch) | |
tree | 8dfcdb513241f32abc66222ac275ee4933cce505 /lib/cpu-notifier-error-inject.c | |
parent | c12abf346456416ca7f7ba45f363cf92d2480a99 (diff) |
crypto: caam - fix non-hmac hashes
Since 6de62f15b581 ("crypto: algif_hash - Require setkey before
accept(2)"), the AF_ALG interface requires userspace to provide a key
to any algorithm that has a setkey method. However, the non-HMAC
algorithms are not keyed, so setting a key is unnecessary.
Fix this by removing the setkey method from the non-keyed hash
algorithms.
Fixes: 6de62f15b581 ("crypto: algif_hash - Require setkey before accept(2)")
Cc: <[email protected]>
Signed-off-by: Russell King <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions