Received: by 10.223.148.5 with SMTP id 5csp7878015wrq; Thu, 18 Jan 2018 10:36:40 -0800 (PST) X-Google-Smtp-Source: ACJfBosspzyuea09EkcfhWRdpDB2hSXxzARfOtB6k4vAK5eFt22XLwcpwzQXoQomJj4C/w1uPJ1j X-Received: by 10.99.179.10 with SMTP id i10mr37387024pgf.41.1516300599936; Thu, 18 Jan 2018 10:36:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516300599; cv=none; d=google.com; s=arc-20160816; b=Sd9fVxP9GslKTT3Xk0Xl98Wjcn5jtegDubCMnWbuuB0pYbYXydcLgn0tTXBqdvi763 lnAeivLoHd0HX3VnwchGiBXRL/piuZa0gQF4+qaWHVEl1Mp/Bx1AFbYDEDkLBxwXEa2Z sDy08/mYFGIUAYNpv/bW6aHZjUknNfLhMFU5VyTPVewQEcBjRA03opnMSajbUgnPNdnN nY4iw+vp70L+tG5BlraZsqLkB68eDeJhIjSNkaIJag6sXm0PehFVVas6tnOLvN9BZkxv qVvH8dID08dpJG0jdT7EGcGN8s93cFKOINDoiuYxKl9sPinGk3GkuC5Jc0aCNRW3s0TG X0GA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter :arc-authentication-results; bh=Ki62ZGQMUd5Q7yCp+a0oNmpiEqG5+yLKrwH1oOqhZIs=; b=gfMWBZmA8xMxh3IRaCTVlqp+3/UCutnq3bNYGrsF18KJXvbyPJiRuEY1fLy7IXJT2V Hv68ICwvirbPJ3kjWWwtl1jLAp3bWiJOlcJJHkCxytiDzQeFbQKCBcIoq+B+51VZvKRd UwFaWDEBMenPII24yt4zfnqVn3m1YrbhgcQ5CarMljWWare9HxtuXtIv8DPWv1GTp+TZ erQ5gicWtsEBRKylDqDlYV88bN9Q4wDBORQ9XLS61H7480k96Rzj3z+7ujMOVU/+uLbk zbfG/GtIz5BbSoSOiv9LDWjPaimkum2Srz7xMG1ze2c89Hcf0rRTQXe/JshCr221NKjJ 9dbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=QTFuUYzd; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q3-v6si105958pll.231.2018.01.18.10.36.25; Thu, 18 Jan 2018 10:36:39 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=QTFuUYzd; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755826AbeARSep (ORCPT + 99 others); Thu, 18 Jan 2018 13:34:45 -0500 Received: from mailout2.w1.samsung.com ([210.118.77.12]:44284 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755225AbeARSem (ORCPT ); Thu, 18 Jan 2018 13:34:42 -0500 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20180118183440euoutp02ee9a2829a9ecedda1b742e87c45d3b32~K_0DAcIOd2867128671euoutp02_; Thu, 18 Jan 2018 18:34:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20180118183440euoutp02ee9a2829a9ecedda1b742e87c45d3b32~K_0DAcIOd2867128671euoutp02_ DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1516300480; bh=Ki62ZGQMUd5Q7yCp+a0oNmpiEqG5+yLKrwH1oOqhZIs=; h=From:To:Cc:Subject:Date:References:From; b=QTFuUYzdYUhXZKHk8UPChkwQRr9nhf8cpOi1j36oEdxZBDOkLDOFlMhVahu4kzkAn u5wZN+dgXLfu8f8mOM7QlyA2297GQsfh54YlUuMyv/039a/wyv8wCi/hslacxkqzG0 j665bmmj7kTsw+JptNj7eGKwgU5gQxsG627ZFmm0= Received: from eusmges4.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20180118183439eucas1p254a91ba35a89c0d16221fabcad3e511e~K_0CM6Qd20522605226eucas1p2O; Thu, 18 Jan 2018 18:34:39 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges4.samsung.com (EUCPMTA) with SMTP id DE.FF.30163.EB8E06A5; Thu, 18 Jan 2018 18:34:38 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20180118183438eucas1p2e2e7be8625ae0950c519e27424f9301a~K_0BR1YcT0522605226eucas1p2K; Thu, 18 Jan 2018 18:34:38 +0000 (GMT) X-AuditID: cbfec7f4-f790c6d0000075d3-7f-5a60e8bea1a3 Received: from eusync1.samsung.com ( [203.254.199.211]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 92.C2.18832.EB8E06A5; Thu, 18 Jan 2018 18:34:38 +0000 (GMT) Received: from AMDC3218.DIGITAL.local ([106.120.51.18]) by eusync1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0P2R00FS4KXJWN40@eusync1.samsung.com>; Thu, 18 Jan 2018 18:34:38 +0000 (GMT) From: Kamil Konieczny To: linux-crypto@vger.kernel.org, Herbert Xu Cc: Kamil Konieczny , "David S. Miller" , Bartlomiej Zolnierkiewicz , Marek Vasut , Sonic Zhang , Fabio Estevam , Shawn Guo , Tom Lendacky , Jan Engelhardt , Arvind Yadav , Linus Walleij , Joakim Bech , linux-kernel@vger.kernel.org Subject: [PATCH v3 0/5] crypto: ahash.c: Require export/import in ahash Date: Thu, 18 Jan 2018 19:33:59 +0100 Message-id: <20180118183404.12583-1-k.konieczny@partner.samsung.com> X-Mailer: git-send-email 2.15.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrFIsWRmVeSWpSXmKPExsWy7djP87r7XiREGTzbYmVxrXchs8XGGetZ Leacb2GxmNWla9H9Ssai6eVbJovPq56yWPTt+89oMeXPciaL+/d+Mllc3jWHzeJNWyOjxdN1 S5gt7mxtZrM4MmUfqwO/R+ulv2wer646emxZeZPJY96sEywe/w73M3nsnHWX3WPbAVWPjc+e s3jcubaHzePguz1MHn1bVjF6fN4kF8ATxWWTkpqTWZZapG+XwJUxZfly9oJ/7BVrr29jbmCc zNbFyMkhIWAiMfPySnYIW0ziwr31QHEuDiGBpYwShx4dYIFwPjNKLP3UBtdx58RFdojEMkaJ tn93oFr+M0o0LeoHq2ITMJd4tP0ME4gtIuAlsbfjDhNIEbPAFBaJszvugxUJC7hLPL71iBHE ZhFQlbj6+gZYnFfARWL+utuMEOvkJRZ/3wm1+jabxL2zShC2i8SmmXuYIGxhiVfHt0A9ISPR 2XEQbJmEQD+jxPIbp9ghnCmMEsenXYXqsJY4fPwiK4jNLMAnMWnbdOYuRg6gOK9ER5sQRImH xO8jb6GOcJTYtvcVWLmQQKxEz9aT7BMYpRYwMqxiFEktLc5NTy020StOzC0uzUvXS87P3cQI TBGn/x3/soNx8TGrQ4wCHIxKPLwbFidECbEmlhVX5h5ilOBgVhLhfecNFOJNSaysSi3Kjy8q zUktPsQozcGiJM5rG9UWKSSQnliSmp2aWpBaBJNl4uCUamBcOWcet3j1pFV3lvAHvD4qs4Vl uqQCn5dyFf9LL16OFzstTc0kmvaFGYQkt3WE5m945SX9lMmEk3HlBZXwVTn34l5fPMS3zmLL 5g6pbPeai9dfbKjcGtzyu+O9sLKlzJ8kz7jZ7I8vaKwTvOWysEHJU7PXdz+juIlE3DUNq6gn smvtz/WevajEUpyRaKjFXFScCAB0r2WQDQMAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrMLMWRmVeSWpSXmKPExsVy+t/xy7r7XiREGUw/zmNxrXchs8XGGetZ Leacb2GxmNWla9H9Ssai6eVbJovPq56yWPTt+89oMeXPciaL+/d+Mllc3jWHzeJNWyOjxdN1 S5gt7mxtZrM4MmUfqwO/R+ulv2wer646emxZeZPJY96sEywe/w73M3nsnHWX3WPbAVWPjc+e s3jcubaHzePguz1MHn1bVjF6fN4kF8ATxWWTkpqTWZZapG+XwJUxZfly9oJ/7BVrr29jbmCc zNbFyMkhIWAicefERXYIW0ziwr31QHEuDiGBJYwSrUtnMUE4jUwSc47dZwKpYhMwl3i0/QyY LSLgJbG34w5YEbPADBaJ21OXgiWEBdwlHt96xAhiswioSlx9fQNsHa+Ai8T8dbcZIdbJSyz+ vpNtAiP3AkaGVYwiqaXFuem5xYZ6xYm5xaV56XrJ+bmbGIFBu+3Yz807GC9tDD7EKMDBqMTD u2FxQpQQa2JZcWXuIUYJDmYlEd533kAh3pTEyqrUovz4otKc1OJDjNIcLErivL17VkcKCaQn lqRmp6YWpBbBZJk4OKUaGJkkk3oNMlIV7nN3T/23bdVy9svqlZOLzvUwfkjXrNCbdDfvP4fg tOVn+bc2TVixyPeM5YU7L4qkCk5e7z/Ay5tRlvLcOk7RQVB5dcO7+68PsIjkH4y4H3g5uNSq zSHDwE5zs9HL/iv/bDlnds3Zovc8Im3CoR0PUju7Ugt2XVse3roqcsu/eCWW4oxEQy3mouJE AMUDvFtWAgAA X-CMS-MailID: 20180118183438eucas1p2e2e7be8625ae0950c519e27424f9301a X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20180118183438eucas1p2e2e7be8625ae0950c519e27424f9301a X-RootMTR: 20180118183438eucas1p2e2e7be8625ae0950c519e27424f9301a References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org First four patches add empty hash export and import functions to each driver, with the same behaviour as in crypto framework. The last one drops them from crypto framework. Last one for ahash.c depends on all previous. Changes in v3: added change for bfin_crc.c make this a patchset, instead of unreleated patches make commit message more descriptive Kamil Konieczny (5): crypto: mxs-dcp: Add empty hash export and import crypto: n2_core: Add empty hash export and import crypto: ux500/hash: Add empty export and import crypto: bfin_crc: Add empty hash export and import crypto: ahash.c: Require export/import in ahash crypto/ahash.c | 18 ++---------------- drivers/crypto/bfin_crc.c | 12 ++++++++++++ drivers/crypto/mxs-dcp.c | 14 ++++++++++++++ drivers/crypto/n2_core.c | 12 ++++++++++++ drivers/crypto/ux500/hash/hash_core.c | 18 ++++++++++++++++++ 5 files changed, 58 insertions(+), 16 deletions(-) -- 2.15.0