aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux/modules/crypto.mk
Commit message (Collapse)AuthorAgeFilesLines
* kernel: crypto: limit crypto-hw-hifn-795x to devices with pci supportAleksander Jan Bajkowski2021-06-221-1/+1
| | | | | | | CONFIG_CRYPTO_DEV_HIFN_795X depends on PCI. This driver only makes sense on devices with pci support. Signed-off-by: Aleksander Jan Bajkowski <A.Bajkowski@stud.elka.pw.edu.pl>
* kernel: limit crypto-hw-talitos to the mpc85xx and layerscapeAleksander Jan Bajkowski2021-05-231-1/+2
| | | | | | | CONFIG_CRYPTO_DEV_TALITOS depends on FSL_SOC. This driver only makes sense on Freescale(NXP) SoCs. Signed-off-by: Aleksander Jan Bajkowski <A.Bajkowski@stud.elka.pw.edu.pl>
* kernel: limit crypto-hw-geode to the x86/geodeAleksander Jan Bajkowski2021-05-231-1/+1
| | | | | | | CONFIG_CRYPTO_DEV_GEODE depends on X86_32. This driver only makes sense on X86\geode. Signed-off-by: Aleksander Jan Bajkowski <A.Bajkowski@stud.elka.pw.edu.pl>
* kernel: crypto: drop kmod-crypto-pcompressAleksander Jan Bajkowski2021-05-231-14/+1
| | | | | | | | | | CONFIG_CRYPTO_PCOMP and CONFIG_CRYPTO_PCOMP2 have been removed in upstream commit[1]. This symbol doesn't exist since kernel 4.6 and this package is empty. 1. [ crypto: compress - remove unused pcomp interface ] (https://github.com/torvalds/linux/commit/110492183c4b8f572b16fce096b9d78e2da30baf) Signed-off-by: Aleksander Jan Bajkowski <A.Bajkowski@stud.elka.pw.edu.pl>
* kernel: crypto: drop kmod-crypto-wqAleksander Jan Bajkowski2021-05-231-10/+0
| | | | | | | | | | CONFIG_CRYPTO_WORKQUEUE was removed in upstream commit[1]. This symbol doesn't exist since kernel 5.3 and this package is empty. 1. [ crypto: cryptd - move kcrypto_wq into cryptd ] (https://github.com/torvalds/linux/commit/3e56e168638b3e7147902c3b7257a57ea573a30e) Signed-off-by: Aleksander Jan Bajkowski <A.Bajkowski@stud.elka.pw.edu.pl>
* kernel: limit crypto-hw-ccp to the x86Rafał Miłecki2021-04-131-0/+1
| | | | | | | | | | | | | | CRYPTO_DEV_CCP depends on X86 or ARM64 CRYPTO_DEV_CCP_DD depends on CPU_SUP_AMD or ARM64 Compiling this driver makes sense for x86 mainly. If one day support for ARM64 board with AMD Secure Processor gets added this package may be updated. Trying to build this package on bcm4908 was causing: ERROR: module 'build_dir/target-aarch64_cortex-a53_musl/linux-bcm4908_generic/linux-5.4.110/drivers/crypto/ccp/ccp-crypto.ko' is missing. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: crypto: format "crypto-hw-ccp" dependenciesRafał Miłecki2021-04-131-1/+8
| | | | | | | Use multiples lines for better readability and sort lines. Suggested-by: Stijn Tintel <stijn@linux-ipv6.be> Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: no chacha-mips.ko on mips32 r1 targetsIlya Lipnitskiy2021-02-271-2/+5
| | | | | | | | | | | | | CHACHA_MIPS depends on CPU_MIPS32_R2. Therefore, kmod-crypto-lib-chacha20 should not contain chacha-mips.ko on MIPS32 R1 targets. Enforce that in the target-specific definition. Fixes bcm47xx, bcm63xx, lantiq/ase, ath25 builds. Fixes: 06351f1 ("kernel: migrate wireguard into the kernel tree") Cc: Jason A. Donenfeld <Jason@zx2c4.com> Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com> Reviewed-by: Jason A. Donenfeld <Jason@zx2c4.com>
* kernel: migrate wireguard into the kernel treeIlya Lipnitskiy2021-02-261-1/+151
| | | | | | | | | | On Linux 5.4, build WireGuard from backports. Linux 5.10 contains wireguard in-tree. Add in-kernel crypto libraries required by WireGuard along with arch-specific optimizations. Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
* kernel: 5.10: fix kmod build failuresIlya Lipnitskiy2021-02-231-3/+10
| | | | | | | | | | Modify existing modules to reflect their new location in Linux 5.10. Add missing dependenices. Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com> [enable CRYPTO_USER_API_ENABLE_OBSOLETE; add kmod-crypto-hash dependency to usb-net-rtl8152] Signed-off-by: David Bauer <mail@david-bauer.net>
* kernel: remove obsolete kernel version switches for 4.19Adrian Schmutzler2020-10-301-3/+3
| | | | | | | This removes switches dependent on kernel version 4.19 as well as several packages/modules selected only for that version. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* kernel: remove obsolete kernel version switches for 4.14Adrian Schmutzler2020-09-021-6/+3
| | | | | | | | | | This removes switches dependent on kernel version 4.14 as well as several packages/modules selected only for that version. This also removes sched-cake-virtual, which is not required anymore now that we have only one variant of cake. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* linux-firmware: package EIP197 mini firmwareTomasz Maciej Nowak2020-07-111-4/+6
| | | | | | | | | | | | | Quoting part of original message from eefb5f741015 commit in linux-firmware repository: This adds the "minifw" version of the EIP197 firmware, which the inside- secure driver will use as a fallback if the original full-featured firmware cannot be found. This allows for using the inside-secure driver and hardware without access to "official" firmware only available under NDA. Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
* mvebu: fix build regression due to neon-asm ghash moduleChristian Lamparter2020-02-291-7/+3
| | | | | | | | | | | | | | This patch fixes the regression caused by adding the NEON variant of the ghash as the default ghash package package: > ERROR: module '[...]/arch/arm/crypto/ghash-arm-ce.ko' is missing. > modules/crypto.mk:286: recipe for target > '[...]/kmod-crypto-ghash_4.19.106-1_aarch64_cortex-a53.ipk' failed This patch limits the scope to the ARM32/cortexa9 target of mvebu. Fixes: 285df63efc70 ("kernel: build neon-asm version of ghash module") Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* kernel: build arm/neon-optimized sha1/512 modulesEneas U de Queiroz2020-02-281-0/+35
| | | | | | | | | | | This builds the regular arm and arm-neon asm optmized modules for sha1 and sha512, for targets that set CONFIG_ARM_CRYPTO. On ip40xx, the arm-asm version of sha1 improves performance by 5% over the generic C implementation; sha1-neon is 25% faster than generic, and sha512-neon, 259%. Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
* kernel: build neon-asm version of ghash moduleEneas U de Queiroz2020-02-281-1/+12
| | | | | | | | This alone improves AES-GCM performance by up to 50% on ipq40xx. This is enabled for targets that support neon and set CONFIG_ARM_CRYPTO: imx6, ipq40xx, and mvebu. Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
* kernel: Add crypto libraries to modulesHauke Mehrtens2020-02-281-3/+8
| | | | | | | | | | In kernel 5.3 and 5.4 some crypto modules were split into two modules, one implementing the crypto algorithm and the other integrating it into the Linux crypto framework. Adapt OpenWrt to support this split. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: remove obsolete kernel version switchesAdrian Schmutzler2020-01-121-24/+8
| | | | | | | | | After kernel 4.9 has been removed, this removes all (now obsolete) kernel version switches that deal with versions before 4.14. Package kmod-crypto-iv is empty now and thus removed entirely. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* kernel: add crypto_user mod to crypto-user pkgEneas U de Queiroz2019-11-061-2/+4
| | | | | | | | This is needed to export crypto information to netfilter, allowing the alt. afalg openssl engine to obtain information about the drivers being used. Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
* kernel: move crypto-arc4 into a moduleFelix Fietkau2019-08-261-0/+11
| | | | | | It is no longer required by wireless drivers, so we can save some space here Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: package module for SafeXcel crypto engineTomasz Maciej Nowak2019-06-171-0/+25
| | | | | | | | | | Supports EIP97 and EIP197 found on Armada 37xx, 7k and 8k SoCs. Unfortunately firmware for EIP197 is not easily obtainable, therefore to not cause lot of user requests directed at OpenWrt, package it as module with explanation where to obtain the firmware. Cc: Marek Behún <marek.behun@nic.cz> Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
* kernel: Add AEAD and RNG support to kmod-crypto-userRosen Penev2019-06-151-1/+5
| | | | | | | | Now that kernel 3.18 is gone, we can safely add these features. Tested on Turris Omnia. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* kernel: Remove support for kernel 3.18Hauke Mehrtens2019-05-031-6/+6
| | | | | | | | | | No target is using kernel 3.18 anymore, remove all the generic support for kernel 3.18. The removed packages are depending on kernel 3.18 only and are not used on any recent kernel. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: Add RIPEMD160 moduleRosen Penev2019-04-061-0/+12
| | | | | | | | After getting rid of cryptsetup's heavy openssl dependency, there is now the problem of missing RIPEMD160 support. RIPEMD160 is used for True/Vera crypt volumes as well as old LUKS1 ones. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* linux: Add kmod-crxypto-xcbcHauke Mehrtens2019-03-251-0/+12
| | | | | | This can be used for IPsec. Signed-off-by: Hauke Mehrtens <hauke.mehrtens@intel.com>
* kernel: Add dependencies for kernel 4.19Hauke Mehrtens2018-12-151-1/+1
| | | | | | These dependencies are needed on kernel 4.14 and kernel 4.19. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: Use crypto_simd.ko instead of lrw.ko for x86Hauke Mehrtens2018-12-151-2/+3
| | | | | | | | The x86 optimized cryptographic algorithm kernel modules now mostly use crypto_simd.ko instead of lrw.ko in kernel 4.19. Add the new module to the kmod-crypto-misc package. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: Remove crypto/ablk_helper.ko on kernel 4.19Hauke Mehrtens2018-12-151-4/+4
| | | | | | | This module was removed in kernel 4.17, all users are refactored to not need this any more. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: extract asn1_decoder.koHauke Mehrtens2018-12-151-2/+1
| | | | | | | The asn1_decoder.ko module is needed by the kmod-nf-nathelper-extra package in kernel 4.19, extract it and add the missing dependencies. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: add missing dependency to kmod-crypto-acompressHauke Mehrtens2018-12-151-1/+1
| | | | | | | Like kernel on 4.14 some modules need the dependency to kmod-crypto-acompress on kernel 4.19. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: Remove dependencies on old kernelsRosen Penev2018-11-011-1/+1
| | | | | | Kernels 4.1 and 4.4 are not part of the tree anymore. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* kernel: package x86-optimized crypto-misc modulesDaniel Gimpelevich2018-07-301-2/+50
| | | | | | | | | | | | Some of the modules in the crypto-misc package have alternate implementations optimized for different x86 instruction set extensions, but only one of these was built for this package until now: twofish-i586.ko Tested with insmod, on both x86 and x86_64. The modules now have an autoload, which they previous didn't, loading the dependencies in the correct order. Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
* crypto.mk: sort kernel modulesLucian Cristian2018-02-131-347/+359
| | | | Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
* kernel: kmod-crypto-hw-talitos: fix dependenciesHauke Mehrtens2017-12-201-1/+1
| | | | | | | | | | | With the updated to kernel 4.9.70 in commit f704b643b9cab ("kernel: Update kernel 4.9 to 4.9.70"), the talitos.ko kernel module got a new dependency to kmod-crypto-des in this upstream commit: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?id=552f74cbd6ec806ab5ce45336a26cae1e015dbe2 This fixes a build problem found by built bot. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: add kmod-crypto-ecdhHauke Mehrtens2017-12-161-0/+25
| | | | | | | | | | In kernel 4.14 kmod-bluetooth depends on kmod-crypto-ecdh, add kmod-crypto-ecdh to LEDE. Both packages also depend on the kmod-crypto-kpp package. To build this we have to fix the dependency of CRYPTO_ECDH which has a typo. This patch is already accepted upstream. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: add kmod-crypto-rsaHauke Mehrtens2017-12-161-2/+20
| | | | | | | | In kernel 4.14 kmod-crypto-hw-ccp depends on kmod-crypto-rsa, add it. kmod-crypto-rsa also packages the ASN1 parser and some other code which is currently only used by this module. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: add kmod-crypto-acompressHauke Mehrtens2017-12-161-1/+13
| | | | | | In kernel 4.14 kmod-crypto-deflate depends on kmod-crypto-acompress. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: add NFS4 client supportMarcin Jurkowski2017-11-221-0/+11
| | | | | | | | | | | | | | | | | | | Adds NFS4 client support: 1. Package kmod-fs-nfs is split into kmod-fs-nfs (nfs.ko) and kmod-fs-nfs-v3 (nfsv3.ko). 2. A new package kmod-fs-nfs-v4 (nfsv4.ko) is created. 3. Package kmod-fs-nfs-common-v4 is renamed to kmod-fs-nfs-rpcsec and includes additional module rpcsec_gss_krb5.ko. CONFIG_NFS_V4 goes into kmod-fs-nfs-v4, CONFIG_NFSD_V4 (NFS4 server) is removed. Missing kernel module oid_registry.ko needed by auth_rpcgss.ko is added to the package. A new package kmod-crypto-cts needed by rpcsec_gss_krb5.ko is also created. Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com> [add dependency to kmod-crypto-ecb in fs-nfs-common-rpcsec] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: fix autoloading arch-specific modulesYousong Zhou2017-05-251-7/+7
| | | | | | Fixes FS#745 Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* kernel: Add kmod-crypto-crc32 (crc32_generic.ko)Shane Peelar2017-03-271-0/+11
| | | | | | | This is needed for F2FS support (it depends on crc32_generic, not crc32c_generic). Signed-off-by: Shane Peelar <lookatyouhacker@gmail.com>
* kernel: update kmod-* packaging and dependencies for linux 4.9Felix Fietkau2017-01-271-3/+4
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: make kmod package dependencies forward compatibleFelix Fietkau2017-01-271-2/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* omap: build various core drivers into the kernel instead of packaging themFelix Fietkau2017-01-101-30/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: drop crypto-hw-ppc4xxFelix Fietkau2017-01-101-18/+0
| | | | | | | If any of the ppc4xx targets are restored, this should be built into the kernel instead Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mpc85xx: enable the crypto acceleration driver in the kernel config instead ↵Felix Fietkau2017-01-101-26/+0
| | | | | | of packaging it Signed-off-by: Felix Fietkau <nbd@nbd.name>
* imx6: enable the crypto acceleration driver in the kernel config instead of ↵Felix Fietkau2017-01-101-1/+1
| | | | | | packaging it Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel/modules: add SSSE3 SHA512 moduleStijn Tintel2017-01-041-1/+7
| | | | | | This module is optimized for SSSE3/AVX/AVX2. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* kernel/modules: add SSSE3 SHA256 moduleStijn Tintel2017-01-041-1/+7
| | | | | | This module is optimized for SSSE3/AVX/AVX2/SHA-NI. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* kernel/modules: add SSSE3 SHA1 moduleStijn Tintel2017-01-041-1/+7
| | | | | | This module is optimized for SSSE3/AVX/AVX2/SHA-NI. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* kernel: split kmod-lib-zlib into two packages to keep it in sync with kernel ↵Felix Fietkau2016-12-261-1/+1
| | | | | | | | dependencies Fixes build error on default config + selecting kmod-fs-isofs Signed-off-by: Felix Fietkau <nbd@nbd.name>