crypto: algif_skcipher - Add nokey compatibility path
authorHerbert Xu <herbert@gondor.apana.org.au>
Mon, 4 Jan 2016 04:36:12 +0000 (13:36 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Feb 2016 20:31:03 +0000 (12:31 -0800)
commiteeb2e2e72bce3c4f3e74d1ea2c621aa574b8ef18
tree3fa0e2393777f92e3f7a3e5d0da1c503e536e996
parentd1b886e326f3578e8d6066c590d32a5c7028afbd
crypto: algif_skcipher - Add nokey compatibility path

commit a0fa2d037129a9849918a92d91b79ed6c7bd2818 upstream.

This patch adds a compatibility path to support old applications
that do acept(2) before setkey.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
crypto/algif_skcipher.c