summaryrefslogtreecommitdiff
path: root/backport/backport-include/crypto
AgeCommit message (Collapse)Author
2018-12-06backports: Remove BPAUTO_CRYPTO_SKCIPHERHauke Mehrtens
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 <hauke@hauke-m.de>
2018-10-02Revert "backports: crypto_memneq has been backported to 3.12 and 3.10"Johannes Berg
This reverts commit 1b481348b4564970e3cfa04023f1cc22ce2b6931. It actually broke the build to include this, as memneq.c is always built for kernels < 3.13, and thus we get a duplicate symbol export if we skip the backport definitions. Easier than making the build system depend on the strange versions is to just always use our backported version with symbol rename. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2018-09-10backports: crypto_memneq has been backported to 3.12 and 3.10Alban Bedel
crypto_memneq has been backported in 3.12.59 and 3.10.106, it shouldn't be built for these kernels. Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2017-10-11backports: add crypto_memneq()Johannes Berg
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2017-02-09backports: always use new version compare macrosJohannes Berg
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2016-04-30header: add SHASH_DESC_ON_STACK()Hauke Mehrtens
SHASH_DESC_ON_STACK was added in Linux commit a0a77af14 "crypto: LLVMLinux: Add macro to remove use of VLAIS in crypto code". Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2016-04-30backport: add crypto skcipher interfaceHauke Mehrtens
This adds the crypto skcipher interface which was added in Linux commit 7a7ffe65c8c5f "crypto: skcipher - Add top-level skcipher interface" to backports. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2016-04-30header: add AHASH_REQUEST_ON_STACK()Hauke Mehrtens
AHASH_REQUEST_ON_STACK() was added in Linux commit d4421c54c "crypto: hash - Add AHASH_REQUEST_ON_STACK". Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2016-04-30header: add shash_desc_zero() and ahash_request_zero()Hauke Mehrtens
shash_desc_zero() and ahash_request_zero() were added in Linux commit e67ffe0af "crypto: hash - Add helpers to zero stack request/descriptor". Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2015-06-15backports: add backport for new AEAD crypto APIHauke Mehrtens
mac80211 makes use of the new AEAD crypto api since commit 957e0fe629. This patch provides a backport layer which converts the new API to the old one used in older kernel versions. This backport is based on this mainline commit: 996d98d85. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Cc: Johannes Berg <johannes.berg@intel.com>
2014-04-17backports: nuke support for kernels < 3.0Luis R. Rodriguez
mcgrof@drvbp1 ~/backports (git::master)$ time ./gentree.py --clean /home/mcgrof/linux-next /home/mcgrof/build/next-20140409 Copy original source files ... Apply patches ... Modify Kconfig tree ... Rewrite Makefiles and Kconfig files ... Done! real 1m30.186s user 9m25.180s sys 0m24.428s mcgrof@drvbp1 ~/build/next-20140409 $ time ckmake --allyesconfig 1 3.0.101 [ OK ] 2 3.1.10 [ OK ] 3 3.2.54 [ OK ] 4 3.3.8 [ OK ] 5 3.4.79 [ OK ] 6 3.5.7 [ OK ] 7 3.6.11 [ OK ] 8 3.7.10 [ OK ] 9 3.8.13 [ OK ] 10 3.9.11 [ OK ] 11 3.10.29 [ OK ] 12 3.11.10 [ OK ] 13 3.12.10 [ OK ] 14 3.13.2 [ OK ] 15 3.14-rc1 [ OK ] real 26m54.859s user 744m15.764s sys 83m47.440s Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
2013-04-15backports: move header filesJohannes Berg
This first step in reorganising the header files moves all the header files into a new backport-include/ directory that gets priority over the regular include/ where we copy the files we want to backport from the kernel. This will help split all the header files into logical units. While at it, move and rename compat_2.6.h and compat_autoconf.h to backport/backport.h and backport/autoconf.h respectively. Signed-off-by: Johannes Berg <johannes.berg@intel.com>