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

Due to the removal of the blkcipher and ablkcipher algorithm types,
crypto_skcipher::encrypt is now redundant since it always equals
crypto_skcipher_alg(tfm)->encrypt.

Remove it and update crypto_skcipher_encrypt() accordingly.

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