From b198137b5b0011ed7ea8b58f2b6a3e391ceec662 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sat, 1 Dec 2018 18:28:01 +0100 Subject: backports: Remove BPAUTO_CRYPTO_SKCIPHER This was added in commit 32751c901728 ("backport: add crypto skcipher interface"), but all the drivers which need it were deactivated in commit cdcec8e6128 ("backports: disable things needing LIB80211 unless SKCIPHER can exist") because it does not compile any more. Remove this code now completely from the tree. lib80211 does not use skcipher any more, but directly uses the crpyto API. since kernel 4.20. Signed-off-by: Hauke Mehrtens --- patches/crypto-skcipher.patch | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 patches/crypto-skcipher.patch (limited to 'patches') diff --git a/patches/crypto-skcipher.patch b/patches/crypto-skcipher.patch deleted file mode 100644 index 99eedb24..00000000 --- a/patches/crypto-skcipher.patch +++ /dev/null @@ -1,32 +0,0 @@ ---- a/compat/crypto-skcipher.c -+++ b/compat/crypto-skcipher.c -@@ -26,7 +26,28 @@ - #include - #include - --#include "internal.h" -+struct crypto_tfm *__crypto_alloc_tfm(struct crypto_alg *alg, u32 type, -+ u32 mask); -+ -+void *crypto_alloc_tfm(const char *alg_name, -+ const struct crypto_type *frontend, u32 type, u32 mask); -+ -+struct crypto_alg *crypto_mod_get(struct crypto_alg *alg); -+ -+static inline void *crypto_skcipher_ctx(struct crypto_skcipher *tfm) -+{ -+ return crypto_tfm_ctx(&tfm->base); -+} -+ -+static inline void *skcipher_request_ctx(struct skcipher_request *req) -+{ -+ return req->__ctx; -+} -+ -+static inline u32 skcipher_request_flags(struct skcipher_request *req) -+{ -+ return req->base.flags; -+} - - enum { - SKCIPHER_WALK_PHYS = 1 << 0, -- cgit v1.2.3