Commit graph

87 commits

Author SHA1 Message Date
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
Felix Fietkau
69c52daa49 remove an obsolete CompareKernelPatchVer call
SVN-Revision: 25492
2011-02-12 23:55:03 +00:00
Felix Fietkau
2d9427566a move the deflate crypto module out of the crypto core and into a separate package - it is only used for ipsec
SVN-Revision: 25491
2011-02-12 23:54:59 +00:00
Felix Fietkau
d64c314336 remove a remaining reference to linux 2.4
SVN-Revision: 25490
2011-02-12 23:54:55 +00:00
Jo-Philipp Wich
3f4adc80db kernel: underscores in package names are bad, rename kmod-crypto-mv_cesa to kmod-crypto-mv-cesa
SVN-Revision: 23383
2010-10-10 17:38:11 +00:00
Lars-Peter Clausen
290e192ce8 Make mv_cesa crypto module available on Orion as well.
SVN-Revision: 23229
2010-10-04 21:33:07 +00:00
Lars-Peter Clausen
7ee9c3d762 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

SVN-Revision: 23190
2010-10-03 01:12:51 +00:00
Michael Büsch
78539bfa4f Fix compilation of crypto modules. This fixes #7920
SVN-Revision: 23028
2010-09-12 15:31:00 +00:00
Michael Büsch
393c83514b Fix kernel crypto modules for >= 2.6.36
SVN-Revision: 23026
2010-09-11 21:42:37 +00:00
Alexandros C. Couloumbis
e9996f7cdc package/kernel: update crypto.mk for kernel 2.6.36
SVN-Revision: 22954
2010-09-06 11:41:09 +00:00
Florian Fainelli
5bd1c17fd1 add XTS cipher CryptoAPI module
needed for proper dm-crypt support

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

SVN-Revision: 22915
2010-09-04 18:06:24 +00:00
Florian Fainelli
e9924b427e fix kmod-crypto-hw-padlock dependency against kmod-crypto-aes (#7643)
SVN-Revision: 22321
2010-07-20 22:25:48 +00:00
Claudio Mignanti
2d86ea7bf3 massive: replace occurences of .$(LINUX_KMOD_SUFFIX) with .ko after r21950
SVN-Revision: 22145
2010-07-12 14:06:13 +00:00
Felix Fietkau
ff3d5025ac remove obsolete kernel dependencies and version checks
SVN-Revision: 21956
2010-06-26 20:44:28 +00:00
Alexandros C. Couloumbis
c80ad970e0 package/kernel: fix missing parenthesis on r21758
SVN-Revision: 21759
2010-06-11 15:46:19 +00:00
Alexandros C. Couloumbis
6bf0094865 package/kernel: fix dependency modules
SVN-Revision: 21758
2010-06-11 15:04:04 +00:00
Florian Fainelli
4aceb015d3 hifnHIPP also depends on PCI
SVN-Revision: 21425
2010-05-11 09:17:50 +00:00
Florian Fainelli
89ba5f098e kmod-ocf-hifn7751 depends on PCI, spotted by buildbot
SVN-Revision: 21381
2010-05-05 18:16:40 +00:00
Jo-Philipp Wich
cb232921b5 kernel: package ocf hifn7751 and hifnHIPP drivers, allow OCF on brcm-2.4
SVN-Revision: 21358
2010-05-04 21:01:24 +00:00
Nicolas Thill
36ee230fca package/kernel: mark a bunch of kmod packages that don't exist on 2.4 as 2.6 only
SVN-Revision: 21251
2010-04-29 10:25:57 +00:00
Nicolas Thill
fc43e1f4f5 package/kernel: move AddDepends calls at the end of package definitions, move back some dependencies in DEPENDS for clarity
SVN-Revision: 21248
2010-04-29 04:04:19 +00:00
Nicolas Thill
194b6b20ea package/kernel: rename KernelPackage/*/Depends to AddDepends/*
SVN-Revision: 21124
2010-04-24 11:42:17 +00:00
Nicolas Thill
04dd1fc593 kernel: fix kmod-crypto-misc on 2.4
SVN-Revision: 20413
2010-03-25 05:15:25 +00:00
Hauke Mehrtens
627ebde4db kernel: include aes-i586 and twofish-i586 into crypto packages for x86
SVN-Revision: 20343
2010-03-21 14:07:30 +00:00
Felix Fietkau
14e104688d add missing kconfig symbol for the hifn 795x crypto accelerator module (patch by dogge10)
SVN-Revision: 20196
2010-03-14 13:16:26 +00:00
Felix Fietkau
1a4a9cea95 openssl: make engines support dynamically configurable (based on a patch by puchu)
SVN-Revision: 19371
2010-01-28 19:28:06 +00:00
Nicolas Thill
405553df58 kernel: specify kmod packages dependencies in a uniform way
SVN-Revision: 19271
2010-01-22 08:18:04 +00:00
Nicolas Thill
6769fc65bb kernel: cleanup crypto stuff and fix module names on 2.4
SVN-Revision: 19058
2010-01-06 18:50:38 +00:00