commit | 4472887cbd1373d7781bea9d8935f2d4968dd580 | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Wed May 10 03:48:23 2017 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jun 07 12:07:46 2017 +0200 |
tree | ada6fb0eabc15708d082126a3ab7c4339d4515a6 | |
parent | 63399974effb65d755a94edd10f33cd74e5a1b77 [diff] |
crypto: skcipher - Add missing API setkey checks commit 9933e113c2e87a9f46a40fde8dafbf801dca1ab9 upstream. The API setkey checks for key sizes and alignment went AWOL during the skcipher conversion. This patch restores them. Fixes: 4e6c3df4d729 ("crypto: skcipher - Add low-level skcipher...") Reported-by: Baozeng <sploving1@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>