crypto: skcipher - Add crypto_skcipher_has_setkey

commit a1383cd86a 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>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
This commit is contained in:
Herbert Xu 2016-01-11 21:26:50 +08:00 • committed by Luis Henriques
commit 05b93b57b6
2 changed files with 9 additions and 0 deletions