]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1aef3e9b5f2b5dea179cdf3d9595aa71998abdf4
tree6fea564558a3a51b307ad74f83bb678e3c8b3204
parentb3c4ccbfd7b70ba1cf1cc51abc1b5a33ea9567ed
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