From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 09EDFC432C0 for ; Thu, 28 Nov 2019 00:25:18 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B596D215A5 for ; Thu, 28 Nov 2019 00:25:17 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="T7tipaZT"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="vv91YfHS" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B596D215A5 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=lR72HNY//9kpuIdz/9l0Xrj3MoiSamggAL5z6uXABlE=; b=T7tipaZTpmpPgp CnoKA5PtNcmmP53NajSG9NAOToW6asjJXddbTM4uxr5L4iy4KJB8q/2alzkjQ2kqpaURRP/Qo7C4a NvRQmUDorJCB72kHHEKMNjniYrXZZZRs3hxsPoM+dAXJ55iDvnuBYgO1WqIVUZW3WM0oaMJq+8E/W WH/izfQK8V1a2KCVlQsZxksEo9Ktc+eBBBXQcmO+8rpwe/49mmJDS6GZJ6lXVdF4rd36M9BdZmF4R q6mjAIvdkBZkuc3UGUd5KS8pkzSv14wIEMWDo8150YGuno+dun5v99yNE38vgPNT3FAPySJxuXJ5p 7sZtfWJzQY7oqM/MRP6w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1ia7cP-00027Y-La; Thu, 28 Nov 2019 00:25:13 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1ia7cM-0001Yz-I0 for linux-arm-kernel@lists.infradead.org; Thu, 28 Nov 2019 00:25:11 +0000 Received: from sol.localdomain (c-24-5-143-220.hsd1.ca.comcast.net [24.5.143.220]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 960D821555; Thu, 28 Nov 2019 00:25:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1574900709; bh=TSWGxtFnEBAUSbjy6y1UJSnL0fiDiivQOod45cwNQDU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=vv91YfHS3njFVAarOYfXa3zub5sETwPlq7s4BybuhtyRAR5aNWos1ybejuP240QIG asmaFXBMvgE9NPHgA4Ma1d5MtnKY7cWbb3dn4wXRccG0/CA8X69w+K3edHA4rJPGMh QDYa7Q6oTPzyEPr5q9RTx7UGze5B91vNlMyq3XGE= Date: Wed, 27 Nov 2019 16:25:08 -0800 From: Eric Biggers To: Sami Tolvanen Subject: Re: [PATCH v4] crypto: arm64/sha: fix function types Message-ID: <20191128002508.GB303989@sol.localdomain> References: <20191112223046.176097-1-samitolvanen@google.com> <20191127235503.93635-1-samitolvanen@google.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20191127235503.93635-1-samitolvanen@google.com> User-Agent: Mutt/1.12.2 (2019-09-21) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191127_162510_621678_14ECB3C2 X-CRM114-Status: UNSURE ( 8.72 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Herbert Xu , Ard Biesheuvel , linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, Ard Biesheuvel , linux-arm-kernel@lists.infradead.org, Kees Cook Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Nov 27, 2019 at 03:55:03PM -0800, Sami Tolvanen wrote: > Instead of casting pointers to callback functions, add C wrappers > to avoid type mismatch failures with Control-Flow Integrity (CFI) > checking. > > Signed-off-by: Sami Tolvanen > Reviewed-by: Ard Biesheuvel > --- > Changes in v4: > - Removed unnecessary returns. > > Changes in v3: > - Removed unnecessary inline attributes. > > Changes in v2: > - Added wrapper functions instead of changing parameter types > for the assembly functions. > Reviewed-by: Eric Biggers - Eric _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel