commit | 9933e113c2e87a9f46a40fde8dafbf801dca1ab9 | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Wed May 10 03:48:23 2017 +0800 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Thu May 18 13:04:05 2017 +0800 |
tree | 2dfb79292d8b5799355667d5fbacfbff06d1e2e2 | |
parent | 2ea659a9ef488125eb46da6eb571de5eae5c43f6 [diff] |
crypto: skcipher - Add missing API setkey checks The API setkey checks for key sizes and alignment went AWOL during the skcipher conversion. This patch restores them. Cc: <stable@vger.kernel.org> Fixes: 4e6c3df4d729 ("crypto: skcipher - Add low-level skcipher...") Reported-by: Baozeng <sploving1@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>