Commit Graph

114 Commits

Author SHA1 Message Date
Felix Fietkau
f4802fa8bf kernel: make sure that packages are generated for built-in crypto modules to avoid dependency errors with kmod-crypto-core on 3.7
SVN-Revision: 35158
2013-01-14 17:09:16 +00:00
Florian Fainelli
85fbe13cf5 kernel: adjust orion/kirkwood packages to also build for mvebu target
Armada XP/370 boards share these hardware blocks with Orion and Kirkwood
SoCs.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35059
2013-01-08 22:20:21 +00:00
Gabor Juhos
ab4ea8ad16 package/kernel: create separate package for the sha256 crypto module
Based on a patch from #12711

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34955
2013-01-01 19:04:17 +00:00
Gabor Juhos
ae97cc7d0f kernel: fix module names for crypto modules in 3.7
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34751
2012-12-18 14:50:43 +00:00
John Crispin
12cfa40375 add crypto-pcompress
SVN-Revision: 34685
2012-12-15 01:59:29 +00:00
Florian Fainelli
4a1e2123eb kernel: remove references to TARGET_ubicom32
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34431
2012-11-30 10:53:51 +00:00
Florian Fainelli
203cbbd51d modules: remove obsolete comment (#12514)
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34327
2012-11-25 11:41:07 +00:00
Jonas Gorski
24a372b6ec package: kernel: make crypto kmods always visible
Don't hide crypo submodules unless crypo-core is selected.

Fixes kmods depending on crypto modules being unselectable
until crypto core is selected (like ext4 on 3.6 or mac80211).

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>

SVN-Revision: 34298
2012-11-22 11:55:18 +00:00
Gabor Juhos
01c8449865 package/kernel: arc4 needs blkcipher support on 3.6
[   78.530000] arc4: Unknown symbol blkcipher_walk_done (err 0)
[   78.530000] arc4: Unknown symbol blkcipher_walk_virt (err 0)
[   78.540000] arc4: Unknown symbol crypto_blkcipher_type (err 0)

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33965
2012-10-27 12:33:00 +00:00
Florian Fainelli
f8af095002 kernel: the camellia module name has changed in kernel 3.4
With the support for architecture optimized camellia routines, the original
camellia module got renamed to camellia_generic, account for that.

SVN-Revision: 33903
2012-10-24 13:04:54 +00:00
Florian Fainelli
c7a69869f7 move ubsec-ssb driver to target specific modules.mk
SVN-Revision: 32863
2012-07-25 15:50:38 +00:00
Florian Fainelli
4000de357e move crypto module to target specific modules.mk
SVN-Revision: 32856
2012-07-25 15:50:16 +00:00
Luka Perkov
f3112b06d2 openssl: enable the use of cryptodev digests
SVN-Revision: 32673
2012-07-11 23:38:16 +00:00
Felix Fietkau
d1ad1c2c56 kernel: remove more unnecessary kernel version checks/dependencies
SVN-Revision: 31907
2012-05-27 15:22:13 +00:00
Felix Fietkau
b85c7c117a kernel: remove a few more obsolete CompareKernelPatchVer calls, add dependencies on @TARGET_x86 for a few network drivers that are typically not found in non-PC equipment
SVN-Revision: 31870
2012-05-27 12:33:55 +00:00
Felix Fietkau
2360a53116 kernel: remove obsolete dependencies and conditionals
SVN-Revision: 31779
2012-05-17 15:28:17 +00:00
Felix Fietkau
8ff9b93dfa kernel: remove obsolete CompareKernelPatchVer calls
SVN-Revision: 31775
2012-05-17 15:28:02 +00:00
Hauke Mehrtens
8ff6417c41 kernel: remove kernel modules and references to kernels <= 2.6.36
OpenWrt does not support kernel version <= 2.6.36 any more, remove all modules only build for those kernels and all conditions specific for those kernel versions.

SVN-Revision: 31634
2012-05-06 20:43:17 +00:00
John Crispin
6c5d3e0844 add missing autoload shortcut to crypto modules for btrfs
Currently the btrfs module (and other fs modules) is loaded before other modules to provide early extroot compatibility. This will fail for btrfs however, because the dependencies crypto-core and crypto-hash are missing. This patch makes them available for early loading too.

Signed-off-by: Jan Willies <jan@willies.info>

SVN-Revision: 30542
2012-02-14 20:11:28 +00:00
Jonas Gorski
c336de3d85 kernel: update module names and add new config symbols for linux 3.3
SVN-Revision: 29985
2012-02-02 08:23:44 +00:00
Jonas Gorski
aa8f9171f2 kernel: fix OCF for linux 3.2
Add skb_frag_page from 3.2 to OCF for 3.1 and earlier and use it.

SVN-Revision: 29818
2012-01-19 19:51:54 +00:00
Jonas Gorski
3d09c34dd3 package: kernel: fix files for blowfish and pcimcia-rsrc
Based on a patch from Philip Prindeville.

SVN-Revision: 29797
2012-01-19 08:25:26 +00:00
Jonas Gorski
f8f30bff82 package: kernel: fix typo
SVN-Revision: 28898
2011-11-09 22:11:51 +00:00
Jonas Gorski
0a2728664f package: kernel: add handling for 3.2 renames (and some missed ones for 3.1)
SVN-Revision: 28897
2011-11-09 21:16:52 +00:00
Nicolas Thill
c824c76aae package/kernel: move MD4 crypto module in its own package
SVN-Revision: 28660
2011-10-28 19:16:12 +00:00
Nicolas Thill
ab29084cdb package/kernel: prefix library modules with lib-
SVN-Revision: 28656
2011-10-28 13:24:41 +00:00
Nicolas Thill
a66a8875bb package/kernel: move crc32c in its own package
SVN-Revision: 28651
2011-10-28 13:10:55 +00:00
Florian Fainelli
9d9722c40f kernel: add kmod-crypto-user
Add kernel crypto user-space interface (af_alg). Includes interface for
hash algorithms (algif_hash) and skcipher algorithms (algif_skcipher).

Signed-off-by: Lars Hjersted <lars@hjersted.com>

SVN-Revision: 28026
2011-08-17 08:48:38 +00:00
Hauke Mehrtens
866a22dc67 kernel: crypto: fix spelling
SVN-Revision: 27757
2011-07-24 15:08:17 +00:00
Hauke Mehrtens
00dd85d8f6 ocf-linux: version bump to 20110720
Fixes problem with TFM allocation in cryptosoft.c

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

Hauke:
 * remove ubsec_ssb package and take it from ocf-linux
 * use patches from ocf-linux package
 * refresh all patches
 * readd some build fixes for OpenWrt.
 * readd CRYPTO_MANAGER dependency

SVN-Revision: 27753
2011-07-24 14:17:58 +00:00
Imre Kaloz
1e395abc80 fixup orion compile
SVN-Revision: 27591
2011-07-11 16:52:28 +00:00
Jo-Philipp Wich
7a5fcc5695 kernel: kmod-crypto-iv depends on kmod-crypto-manager Add a missing dependency to kmod-crypto-iv. chainiv.ko and eseqiv.ko from kmod-crypto-iv depend on crypto_blkcipher.ko from kmod-crypto-manager.
Signed-off-by: Lars Hjersted <lars@hjersted.com>

SVN-Revision: 26984
2011-05-24 09:14:35 +00:00
John Crispin
8c2de891a9 * add missing aes dependency to mv_cesa
Signed-off-by: Jan Willies <jan@willies.info>

SVN-Revision: 26920
2011-05-17 10:48:37 +00:00
Vasilis Tsiligiannis
ec05877491 package/kernel: crypto: Remove renamed modules hack
Since the oldest kernel in trunk is 2.6.30 the modules always use the
newer names, so we can just use the _generic prefix directly.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 26903
2011-05-15 09:37:35 +00:00
Vasilis Tsiligiannis
2850136ae8 package/kernel: Remove all 2.4 definitions
With no 2.4 support in trunk, we can safely remove any 2.4 definitions for
kmods and merge the 2.6 definitions into the generic ones.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 26901
2011-05-15 09:37:28 +00:00
Jo-Philipp Wich
bba138c671 kernel: revert r26814
SVN-Revision: 26815
2011-05-03 21:25:36 +00:00
Jo-Philipp Wich
be2275b8e6 kernel: add kmod-crypto-ipsec kmod-crypto-ipsec bundles some otherwise unprovided kernel crypto modules that are useful for IPSEC. This is an alternative to breaking these modules out into kmod-crypto-wq (crypto_wq.ko), kmod-crypto-rng (rng.ko and krng.ko), and kmod-crypto-iv (eseqiv.ko and chainiv.ko).
Signed-off-by: Lars Hjersted <lars@hjersted.com>

SVN-Revision: 26814
2011-05-03 21:22:43 +00:00
Jo-Philipp Wich
32f3c920a2 kernel: add kmod-crypto-{wq,rng,iv} This patch adds kmod-crypto-wq, kmod-crypto-rng, and kmod-crypto-iv packages. These packages provide some missing kernel crypto modules which are required for IPSEC. The strongswan4, ipsec-tools, and possibly other IPSEC packages do not work properly without these modules.
NOTE: The KCONFIG associated with each of these modules gets selected
whenever CRYPTO_MANAGER (kmod-crypto-manager) is selected so these
modules are already being built.

Signed-off-by: Lars Hjersted <lars@hjersted.com>

SVN-Revision: 26812
2011-05-03 21:19:56 +00:00
Vasilis Tsiligiannis
41cc2d3a52 kernel/modules: Fix r26637
SVN-Revision: 26638
2011-04-12 23:42:01 +00:00
Vasilis Tsiligiannis
d7197ec50b kernel/modules: Add kmod-zlib dependency to kmod-crypto-deflate
SVN-Revision: 26637
2011-04-12 23:34:28 +00:00
Hauke Mehrtens
3b659a2519 crypto: The if statement for twofish did not work, deflate depends on zlib_deflate
SVN-Revision: 26569
2011-04-09 23:30:09 +00:00
Hauke Mehrtens
f4aef6d553 kernel: remove double definition of depends in crypto-mv-cesa and make it look like the other entries.
Thank you Maarten

SVN-Revision: 26413
2011-04-02 19:31:21 +00:00
Hauke Mehrtens
25b6ffe3d7 kernel: mv_cesa depends on CRYPTO_BLKCIPHER2 and CRYPTO_HASH2
SVN-Revision: 26407
2011-04-02 15:41:04 +00:00
Felix Fietkau
d6d41eb0cb kernel: ocf also requires kmod-crypto-mananger (which depends on kmod-crypto-hash)
SVN-Revision: 26375
2011-03-30 15:59:40 +00:00
Felix Fietkau
ada4206cc5 kernel: add missing dependency for ocf on kmod-crypto-hash
SVN-Revision: 26372
2011-03-30 15:07:09 +00:00
Felix Fietkau
d1da16a093 kernel: fix autoload for the crypto_hash module (patch from #9136)
SVN-Revision: 26358
2011-03-29 13:31:39 +00:00
Felix Fietkau
a119ee0013 kernel: split up cryptoapi, move hash support and blockcipher/algorithm manager to separate packages
SVN-Revision: 26296
2011-03-25 21:28:44 +00:00
Felix Fietkau
ac9a5cf885 kmod-crypto: fix selecting core crypto modules
SVN-Revision: 25688
2011-02-24 01:11:04 +00:00
Felix Fietkau
b1b89bf646 kmod-crypto: remove pcomp, nothing uses it
SVN-Revision: 25686
2011-02-24 00:30:13 +00:00
Felix Fietkau
858292316b move the cbc crypto module out of the crypto core and into a separate package - it is only used for ipsec
SVN-Revision: 25493
2011-02-12 23:55:06 +00:00