crypto: skcipher - remove crypto_skcipher::setkey
authorEric Biggers <ebiggers@google.com>
Fri, 29 Nov 2019 18:23:05 +0000 (10:23 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 11 Dec 2019 08:36:56 +0000 (16:36 +0800)
commit15252d942739813c8d0eac4c1ee6d4c4eb6f101e
tree3290c3c7c182090e671a4bd01464e31a8cdd469f
parent9ac0d136938ad8b8dd309f833abe5304dd2f0b08
crypto: skcipher - remove crypto_skcipher::setkey

Due to the removal of the blkcipher and ablkcipher algorithm types,
crypto_skcipher::setkey now always points to skcipher_setkey().

Simplify by removing this function pointer and instead just making
skcipher_setkey() be crypto_skcipher_setkey() directly.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/skcipher.c
include/crypto/skcipher.h