[OpenWrt-Devel] [PATCH] linux: modules: crypto: adds ccm package
Bryan Forbes
bryan at reigndropsfall.net
Mon Mar 16 11:11:57 EDT 2015
> On Mar 15, 2015, at 11:55 PM, Varka Bhadram <varkabhadram at gmail.com> wrote:
>
> This patch adds support crypto-ccm modules support.
>
> Signed-off-by: Varka Bhadram <varkab at 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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20150316/24a60ce4/attachment.sig>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list