From patchwork Fri Jan 2 08:22:42 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stijn Tintel X-Patchwork-Id: 424962 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 433031400B7 for ; Fri, 2 Jan 2015 19:27:01 +1100 (AEDT) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 21C2028BDBB; Fri, 2 Jan 2015 09:22:18 +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 5BC2D28BDAF for ; Fri, 2 Jan 2015 09:21:28 +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:14 +0100 (CET) Received: from localhost (localhost [IPv6:::1]) by mail.tintel.eu (Postfix) with ESMTP id 8ABB72A51CA for ; Fri, 2 Jan 2015 09:23:12 +0100 (CET) Received: from mail.tintel.eu ([IPv6:::1]) by localhost (mail.tintel.eu [IPv6:::1]) (amavisd-new, port 10032) with ESMTP id vWLcJ1_kmfQy for ; Fri, 2 Jan 2015 09:22:58 +0100 (CET) Received: from localhost (localhost [IPv6:::1]) by mail.tintel.eu (Postfix) with ESMTP id 296A82A51D2 for ; Fri, 2 Jan 2015 09:22:57 +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 MBLKy42uO2-x for ; Fri, 2 Jan 2015 09:22:57 +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 B382B2A51D1 for ; Fri, 2 Jan 2015 09:22:55 +0100 (CET) Received: by taz.st-esk.be.tintel.eu (sSMTP sendmail emulation); Fri, 02 Jan 2015 09:22:57 +0100 From: Stijn Tintel To: openwrt-devel@lists.openwrt.org Date: Fri, 2 Jan 2015 09:22:42 +0100 Message-Id: <1420186962-23268-11-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 10/10] kernel/modules: add kmod-crypto-gcm 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 | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk index 9d69cce..73f36be 100644 --- a/package/kernel/linux/modules/crypto.mk +++ b/package/kernel/linux/modules/crypto.mk @@ -400,6 +400,18 @@ endef $(eval $(call KernelPackage,crypto-hmac)) +define KernelPackage/crypto-gcm + TITLE:=GCM/GMAC CryptoAPI module + DEPENDS:=+kmod-crypto-ctr +kmod-crypto-ghash +kmod-crypto-null + KCONFIG:=CONFIG_CRYPTO_GCM + FILES:=$(LINUX_DIR)/crypto/gcm.ko + AUTOLOAD:=$(call AutoLoad,09,gcm) + $(call AddDepends/crypto) +endef + +$(eval $(call KernelPackage,crypto-gcm)) + + define KernelPackage/crypto-gf128 TITLE:=GF(2^128) multiplication functions CryptoAPI module KCONFIG:=CONFIG_CRYPTO_GF128MUL