From patchwork Fri Jan 2 08:22:34 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stijn Tintel X-Patchwork-Id: 424954 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 9CFB21400B7 for ; Fri, 2 Jan 2015 19:24:20 +1100 (AEDT) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 5C8D328BDB3; Fri, 2 Jan 2015 09:21:24 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,TVD_SPACE_RATIO autolearn=unavailable version=3.3.2 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id F1E1D28BC12 for ; Fri, 2 Jan 2015 09:21:01 +0100 (CET) X-policyd-weight: using cached result; rate:hard: -7.6 Received: from mail.tintel.eu (mail.tintel.eu [62.213.201.86]) by arrakis.dune.hu (Postfix) with ESMTP for ; Fri, 2 Jan 2015 09:21:01 +0100 (CET) Received: from localhost (localhost [IPv6:::1]) by mail.tintel.eu (Postfix) with ESMTP id 81EE52A51C6 for ; Fri, 2 Jan 2015 09:22:58 +0100 (CET) Received: from mail.tintel.eu ([IPv6:::1]) by localhost (mail.tintel.eu [IPv6:::1]) (amavisd-new, port 10032) with ESMTP id SzC-oeFZoQzC for ; Fri, 2 Jan 2015 09:22:45 +0100 (CET) Received: from localhost (localhost [IPv6:::1]) by mail.tintel.eu (Postfix) with ESMTP id 03FE62A51C9 for ; Fri, 2 Jan 2015 09:22:45 +0100 (CET) X-Virus-Scanned: amavisd-new at mail.tintel.eu Received: from mail.tintel.eu ([IPv6:::1]) by localhost (mail.tintel.eu [IPv6:::1]) (amavisd-new, port 10026) with ESMTP id YFcZ6S0v8HML for ; Fri, 2 Jan 2015 09:22:44 +0100 (CET) Received: from taz.st-esk.be.tintel.eu (unknown [IPv6:2a02:1811:80:50:12bf:48ff:fed5:44b8]) by mail.tintel.eu (Postfix) with SMTP id D48662A51C8 for ; Fri, 2 Jan 2015 09:22:43 +0100 (CET) Received: by taz.st-esk.be.tintel.eu (sSMTP sendmail emulation); Fri, 02 Jan 2015 09:22:45 +0100 From: Stijn Tintel To: openwrt-devel@lists.openwrt.org Date: Fri, 2 Jan 2015 09:22:34 +0100 Message-Id: <1420186962-23268-3-git-send-email-stijn@linux-ipv6.be> X-Mailer: git-send-email 2.0.5 In-Reply-To: <1420186962-23268-1-git-send-email-stijn@linux-ipv6.be> References: <1420186962-23268-1-git-send-email-stijn@linux-ipv6.be> Subject: [OpenWrt-Devel] [PATCH 02/10] kernel/modules: add kmod-crypto-aead X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" Signed-off-by: Stijn Tintel --- package/kernel/linux/modules/crypto.mk | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk index de3d851..ad1fe4e 100644 --- a/package/kernel/linux/modules/crypto.mk +++ b/package/kernel/linux/modules/crypto.mk @@ -39,6 +39,19 @@ define AddDepends/crypto DEPENDS+=+kmod-crypto-core $(1) endef +define KernelPackage/crypto-aead + TITLE:=CryptoAPI AEAD support + KCONFIG:= \ + CONFIG_CRYPTO_AEAD \ + CONFIG_CRYPTO_AEAD2 + FILES:=$(LINUX_DIR)/crypto/aead.ko + AUTOLOAD:=$(call AutoLoad,09,crypto_aead,1) + $(call AddDepends/crypto) +endef + +$(eval $(call KernelPackage,crypto-aead)) + + define KernelPackage/crypto-hash TITLE:=CryptoAPI hash support KCONFIG:=CONFIG_CRYPTO_HASH