]> git.karo-electronics.de Git - karo-tx-linux.git/commit
crypto: algif_skcipher - Add key check exception for cipher_null
authorHerbert Xu <herbert@gondor.apana.org.au>
Mon, 11 Jan 2016 13:29:41 +0000 (21:29 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 18 Jan 2016 10:16:12 +0000 (18:16 +0800)
commit6e8d8ecf438792ecf7a3207488fb4eebc4edb040
tree72297045c5f6fea771f9e68781a4d816d539d732
parenta1383cd86a062fc798899ab20f0ec2116cce39cb
crypto: algif_skcipher - Add key check exception for cipher_null

This patch adds an exception to the key check so that cipher_null
users may continue to use algif_skcipher without setting a key.

Cc: stable@vger.kernel.org
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/algif_skcipher.c