]> 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)
commit620730100e55a8d58687a495a253076ffdd3b5ae
tree6fea564558a3a51b307ad74f83bb678e3c8b3204
parent380995b50f6ff77d7093b6b293ef62208383a8ce
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