Commit Graph

106 Commits (a0e5999983362e1815082f1ca3176dbaff95bf99)

Author SHA1 Message Date
Gabor Juhos d440ced2ef 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33965 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-27 12:33:00 +00:00
Florian Fainelli d059b26520 [package] 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33903 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-24 13:04:54 +00:00
Florian Fainelli 76fa8c1bf0 [brcm47xx] move ubsec-ssb driver to target specific modules.mk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32863 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-25 15:50:38 +00:00
Florian Fainelli d13f533d5f [ixp4xx] move crypto module to target specific modules.mk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-25 15:50:16 +00:00
Luka Perkov 2bcc527dd7 openssl: enable the use of cryptodev digests
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32673 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-11 23:38:16 +00:00
Felix Fietkau aba80d0d04 kernel: remove more unnecessary kernel version checks/dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31907 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 15:22:13 +00:00
Felix Fietkau cb7839b1f6 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 12:33:55 +00:00
Felix Fietkau 95757184a0 kernel: remove obsolete dependencies and conditionals
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31779 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-17 15:28:17 +00:00
Felix Fietkau d25930c39b kernel: remove obsolete CompareKernelPatchVer calls
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31775 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-17 15:28:02 +00:00
Hauke Mehrtens 9897c49803 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31634 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-06 20:43:17 +00:00
John Crispin 25737507d9 [kernel] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30542 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-14 20:11:28 +00:00
Jonas Gorski 47f5be9659 kernel: update module names and add new config symbols for linux 3.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29985 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-02 08:23:44 +00:00
Jonas Gorski 9435ae8d19 kernel: fix OCF for linux 3.2
Add skb_frag_page from 3.2 to OCF for 3.1 and earlier and use it.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29818 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-19 19:51:54 +00:00
Jonas Gorski 76014f37f4 package: kernel: fix files for blowfish and pcimcia-rsrc
Based on a patch from Philip Prindeville.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29797 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-19 08:25:26 +00:00
Jonas Gorski 62931fde85 package: kernel: fix typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28898 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-09 22:11:51 +00:00
Jonas Gorski 7cdbaef39d package: kernel: add handling for 3.2 renames (and some missed ones for 3.1)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28897 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-09 21:16:52 +00:00
Nicolas Thill 6aa8f524f0 package/kernel: move MD4 crypto module in its own package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28660 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-28 19:16:12 +00:00
Nicolas Thill 114af4099a package/kernel: prefix library modules with lib-
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28656 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-28 13:24:41 +00:00
Nicolas Thill f7a929d443 package/kernel: move crc32c in its own package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28651 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-28 13:10:55 +00:00
Florian Fainelli 1e6309ce5f [package] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28026 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-17 08:48:38 +00:00
Hauke Mehrtens 71156dadb8 kernel: crypto: fix spelling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27757 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-24 15:08:17 +00:00
Hauke Mehrtens 56d7544ebb 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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27753 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-24 14:17:58 +00:00
Imre Kaloz 1dedd8f702 fixup orion compile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27591 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-11 16:52:28 +00:00
Jo-Philipp Wich ebe2d16516 [PATCH] 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26984 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-24 09:14:35 +00:00
John Crispin 773ce57b87 [modules]
* add missing aes dependency to mv_cesa

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26920 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-17 10:48:37 +00:00
Vasilis Tsiligiannis 463ae018b1 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26903 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-15 09:37:35 +00:00
Vasilis Tsiligiannis c5258d54b2 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26901 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-15 09:37:28 +00:00
Jo-Philipp Wich 7208c5f713 [package] kernel: revert r26814
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26815 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-03 21:25:36 +00:00
Jo-Philipp Wich f6a18657c6 [PATCH 1/2] 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26814 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-03 21:22:43 +00:00
Jo-Philipp Wich a5c2d78c12 [PATCH 1/2] 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26812 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-03 21:19:56 +00:00
Vasilis Tsiligiannis 1955842185 [package] kernel/modules: Fix r26637
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26638 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 23:42:01 +00:00
Vasilis Tsiligiannis 9cff166db1 [package] kernel/modules: Add kmod-zlib dependency to kmod-crypto-deflate
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26637 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 23:34:28 +00:00
Hauke Mehrtens 1c0e72203a crypto: The if statement for twofish did not work, deflate depends on zlib_deflate
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 23:30:09 +00:00
Hauke Mehrtens 70cc161e6f kernel: remove double definition of depends in crypto-mv-cesa and make it look like the other entries.
Thank you Maarten


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26413 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-02 19:31:21 +00:00
Hauke Mehrtens afc7843457 kernel: mv_cesa depends on CRYPTO_BLKCIPHER2 and CRYPTO_HASH2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26407 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-02 15:41:04 +00:00
Felix Fietkau da9a4b202f kernel: ocf also requires kmod-crypto-mananger (which depends on kmod-crypto-hash)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26375 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-30 15:59:40 +00:00
Felix Fietkau e6e5caf662 kernel: add missing dependency for ocf on kmod-crypto-hash
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26372 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-30 15:07:09 +00:00
Felix Fietkau 5df4e33545 kernel: fix autoload for the crypto_hash module (patch from #9136)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26358 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-29 13:31:39 +00:00
Felix Fietkau 25fdbd4c4b kernel: split up cryptoapi, move hash support and blockcipher/algorithm manager to separate packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26296 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-25 21:28:44 +00:00
Felix Fietkau 77374ec737 kmod-crypto: fix selecting core crypto modules
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25688 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-24 01:11:04 +00:00
Felix Fietkau 320509157c kmod-crypto: remove pcomp, nothing uses it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25686 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-24 00:30:13 +00:00
Felix Fietkau 0dccf8045e move the cbc crypto module out of the crypto core and into a separate package - it is only used for ipsec
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25493 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-12 23:55:06 +00:00
Felix Fietkau 54aad05619 remove an obsolete CompareKernelPatchVer call
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25492 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-12 23:55:03 +00:00
Felix Fietkau 9d0c3ce03e move the deflate crypto module out of the crypto core and into a separate package - it is only used for ipsec
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25491 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-12 23:54:59 +00:00
Felix Fietkau fb6aa538a5 remove a remaining reference to linux 2.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25490 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-12 23:54:55 +00:00
Jo-Philipp Wich 1098d97137 [package] kernel: underscores in package names are bad, rename kmod-crypto-mv_cesa to kmod-crypto-mv-cesa
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-10 17:38:11 +00:00
Lars-Peter Clausen 0c6590d71e [packages/kernel] Make mv_cesa crypto module available on Orion as well.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23229 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-04 21:33:07 +00:00
Lars-Peter Clausen 223a1fe554 [package] kernel: Move CONFIG_CRYPTO_HW to crypto-core
hw-crypto modules depend on CONFIG_CRYPTO_HW beeing set. Instead of selecting
CONFIG_CRYPTO_HW from each crypto module let it be selected by crypto core.
It only opens the submenu for hw-crypto devices and does not generate any overhead.

Patch by Jan Willies


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23190 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-03 01:12:51 +00:00
Michael Büsch 306fd79125 Fix compilation of crypto modules.
This fixes #7920


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23028 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-12 15:31:00 +00:00
Michael Büsch e1b618fafb Fix kernel crypto modules for >= 2.6.36
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23026 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-11 21:42:37 +00:00