crypto: chelsio - switch to skcipher API

Commit 7a7ffe65c8 ("crypto: skcipher - Add top-level skcipher interface")
dated 20 august 2015 introduced the new skcipher API which is supposed to
replace both blkcipher and ablkcipher. While all consumers of the API have
been converted long ago, some producers of the ablkcipher remain, forcing
us to keep the ablkcipher support routines alive, along with the matching
code to expose [a]blkciphers via the skcipher API.

So switch this driver to the skcipher API, allowing us to finally drop the
ablkcipher code in the near future.

Cc: Atul Gupta <atul.gupta@chelsio.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
Ard Biesheuvel
2019-11-09 18:09:38 +01:00
committed by Herbert Xu
vanhempi ac0d3d130f
commit 7cea6d3e01
3 muutettua tiedostoa jossa 180 lisäystä ja 186 poistoa

Näytä tiedosto

@@ -287,7 +287,7 @@ struct hash_wr_param {
};
struct cipher_wr_param {
struct ablkcipher_request *req;
struct skcipher_request *req;
char *iv;
int bytes;
unsigned short qid;