crypto: {blk,giv}cipher: Set has_setkey
authorBen Hutchings <ben@decadent.org.uk>
Sun, 6 Mar 2016 19:52:46 +0000 (19:52 +0000)
committerGrazvydas Ignotas <notasas@gmail.com>
Sat, 19 Mar 2016 17:37:58 +0000 (19:37 +0200)
commit46a680fe266079d36c6e24308518ce0f21eb0766
treece84fc495535ab0e4495248c1eee1ff160b8cd48
parenta496c189d4c57f108df647aa4137de720f52b406
crypto: {blk,giv}cipher: Set has_setkey

Commit a1383cd86a06 ("crypto: skcipher - Add crypto_skcipher_has_setkey")
was incorrectly backported to the 3.2.y and 3.16.y stable branches.
We need to set ablkcipher_tfm::has_setkey in the
crypto_init_blkcipher_ops_async() and crypto_init_givcipher_ops()
functions as well as crypto_init_ablkcipher_ops().

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
crypto/ablkcipher.c
crypto/blkcipher.c