Commit Graph

96 Commits (ab871f9a825e054fce91bb24ab8a57a691df0afb)

Author SHA1 Message Date
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
Alexandros C. Couloumbis 18aa8725ff package/kernel: update crypto.mk for kernel 2.6.36
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22954 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-06 11:41:09 +00:00
Florian Fainelli f2fae046f5 [package] add XTS cipher CryptoAPI module
needed for proper dm-crypt support

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-04 18:06:24 +00:00
Florian Fainelli fab8c7e5b1 [package] fix kmod-crypto-hw-padlock dependency against kmod-crypto-aes (#7643)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22321 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-20 22:25:48 +00:00
Claudio Mignanti 33990405fb massive: replace occurences of .$(LINUX_KMOD_SUFFIX) with .ko after r21950
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22145 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-12 14:06:13 +00:00
Felix Fietkau cc44a0b0da remove obsolete kernel dependencies and version checks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21956 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 20:44:28 +00:00
Alexandros C. Couloumbis c7086dce4e package/kernel: fix missing parenthesis on r21758
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21759 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-11 15:46:19 +00:00
Alexandros C. Couloumbis d39d96a379 package/kernel: fix dependency modules
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21758 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-11 15:04:04 +00:00
Florian Fainelli cad72e9ac4 [package] hifnHIPP also depends on PCI
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21425 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-11 09:17:50 +00:00
Florian Fainelli caf66f2bb2 [package] kmod-ocf-hifn7751 depends on PCI, spotted by buildbot
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21381 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-05 18:16:40 +00:00
Jo-Philipp Wich ad85c8c72d [package] kernel: package ocf hifn7751 and hifnHIPP drivers, allow OCF on brcm-2.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21358 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-04 21:01:24 +00:00