aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches/subsys/100-remove-cryptoapi-dependencies.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2021-02-14 19:24:05 +0100
committerFelix Fietkau <nbd@nbd.name>2021-02-14 19:41:07 +0100
commited1e234d87fc2fc1561b02dcc2f67a464721fc6f (patch)
tree3d90bbcca262a865333ea4107871a97c5dda8d63 /package/kernel/mac80211/patches/subsys/100-remove-cryptoapi-dependencies.patch
parent072bfe21132b70ff348f094c5cab9b566d56b6e5 (diff)
downloadupstream-ed1e234d87fc2fc1561b02dcc2f67a464721fc6f.tar.gz
upstream-ed1e234d87fc2fc1561b02dcc2f67a464721fc6f.tar.bz2
upstream-ed1e234d87fc2fc1561b02dcc2f67a464721fc6f.zip
mac80211: refresh patches
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/kernel/mac80211/patches/subsys/100-remove-cryptoapi-dependencies.patch')
-rw-r--r--package/kernel/mac80211/patches/subsys/100-remove-cryptoapi-dependencies.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/package/kernel/mac80211/patches/subsys/100-remove-cryptoapi-dependencies.patch b/package/kernel/mac80211/patches/subsys/100-remove-cryptoapi-dependencies.patch
index 7b036e4e4c..ac78e62ccc 100644
--- a/package/kernel/mac80211/patches/subsys/100-remove-cryptoapi-dependencies.patch
+++ b/package/kernel/mac80211/patches/subsys/100-remove-cryptoapi-dependencies.patch
@@ -166,8 +166,7 @@
#define AES_CCM_H
-#include "aead_api.h"
-+#include <linux/crypto.h>
-
+-
-#define CCM_AAD_LEN 32
-
-static inline struct crypto_aead *
@@ -195,7 +194,8 @@
- be16_to_cpup((__be16 *)aad),
- data, data_len, mic);
-}
--
++#include <linux/crypto.h>
+
-static inline void ieee80211_aes_key_free(struct crypto_aead *tfm)
-{
- return aead_key_free(tfm);
@@ -331,10 +331,10 @@
#define AES_GCM_H
-#include "aead_api.h"
+-
+-#define GCM_AAD_LEN 32
+#include <linux/crypto.h>
--#define GCM_AAD_LEN 32
--
-static inline int ieee80211_aes_gcm_encrypt(struct crypto_aead *tfm,
- u8 *j_0, u8 *aad, u8 *data,
- size_t data_len, u8 *mic)