crypto: {blk,giv}cipher: Set has_setkey
authorBen Hutchings <ben@decadent.org.uk>
Sun, 6 Mar 2016 19:52:46 +0000 (19:52 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Fri, 1 Apr 2016 00:54:31 +0000 (01:54 +0100)
commit16b059733afec75695550c0cfa3b116f79c54720
tree907eae953fdec78a1946655b31a02d67934a2503
parentd0c73ef2830a952e0bf2b5618a6d50b9d21fdfc2
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