Message ID | 1426481754-5836-1-git-send-email-varkab@cdac.in |
---|---|
State | Accepted |
Headers | show |
> On Mar 15, 2015, at 11:55 PM, Varka Bhadram <varkabhadram@gmail.com> wrote: > > This patch adds support crypto-ccm modules support. > > Signed-off-by: Varka Bhadram <varkab@cdac.in> > --- > package/kernel/linux/modules/crypto.mk | 11 +++++++++++ > 1 file changed, 11 insertions(+) > > diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk > index 4df2d73..ef5f3a9 100644 > --- a/package/kernel/linux/modules/crypto.mk > +++ b/package/kernel/linux/modules/crypto.mk > @@ -314,6 +314,17 @@ endef > > $(eval $(call KernelPackage,crypto-ctr)) > > +define KernelPackage/crypto-ccm > + TITLE:=Support for Counter with CBC MAC (CCM) > + DEPENDS:=+kmod-crypto-ctr +kmod-crypto-aead This patch will also need to update kmod-crypto-ctr to depend on kmod-crypto-iv since the ctr module relies on the chainiv module (line 228 in linux-3.18 after patches in OpenWRT). I’ve been looking at the cryptoapi ports for mac80211 and figured this out when I was getting a “file not found” error from hostapd which traced back to the chainiv module not being found. > + KCONFIG:=CONFIG_CRYPTO_CCM > + FILES:=$(LINUX_DIR)/crypto/ccm.ko > + AUTOLOAD:=$(call AutoLoad,09,ccm) > + $(call AddDepends/crypto) > +endef > + > +$(eval $(call KernelPackage,crypto-ccm)) > + > define KernelPackage/crypto-pcbc > TITLE:=Propagating Cipher Block Chaining CryptoAPI module > DEPENDS:=+kmod-crypto-manager > -- > 1.7.9.5 > _______________________________________________ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel > -- Bryan Forbes http://www.reigndropsfall.net GPG Fingerprint 3D7D B728 713A BB7B B8B1 5B61 3888 17E0 70CA 0F3D
diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk index 4df2d73..ef5f3a9 100644 --- a/package/kernel/linux/modules/crypto.mk +++ b/package/kernel/linux/modules/crypto.mk @@ -314,6 +314,17 @@ endef $(eval $(call KernelPackage,crypto-ctr)) +define KernelPackage/crypto-ccm + TITLE:=Support for Counter with CBC MAC (CCM) + DEPENDS:=+kmod-crypto-ctr +kmod-crypto-aead + KCONFIG:=CONFIG_CRYPTO_CCM + FILES:=$(LINUX_DIR)/crypto/ccm.ko + AUTOLOAD:=$(call AutoLoad,09,ccm) + $(call AddDepends/crypto) +endef + +$(eval $(call KernelPackage,crypto-ccm)) + define KernelPackage/crypto-pcbc TITLE:=Propagating Cipher Block Chaining CryptoAPI module DEPENDS:=+kmod-crypto-manager
This patch adds support crypto-ccm modules support. Signed-off-by: Varka Bhadram <varkab@cdac.in> --- package/kernel/linux/modules/crypto.mk | 11 +++++++++++ 1 file changed, 11 insertions(+)