Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Since 6de62f1 ("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: 6de62f1 ("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]>
- Loading branch information