crypto: skcipher - Add crypto_skcipher_has_setkey
authorHerbert Xu <herbert@gondor.apana.org.au>
Mon, 11 Jan 2016 13:26:50 +0000 (21:26 +0800)
committerBen Hutchings <ben@decadent.org.uk>
Sat, 13 Feb 2016 10:34:12 +0000 (10:34 +0000)
commit3ba1945b048afd9cd8dba6b341160fffc4e431a0
treee9aa1d1427e66cbb8f576a7d0109d960b7aba76e
parent5d4c935b8a1ea8bb0efed11b204de06f96fdb6b1
crypto: skcipher - Add crypto_skcipher_has_setkey

commit a1383cd86a062fc798899ab20f0ec2116cce39cb upstream.

This patch adds a way for skcipher users to determine whether a key
is required by a transform.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
[bwh: Backported to 3.2: add to ablkcipher API instead]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
crypto/ablkcipher.c
include/linux/crypto.h