Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1156123pxb; Fri, 21 Jan 2022 11:03:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJzsqepUylNWYM8JDN2yqqaSO3pxDj/CN+iYU0PTe22Lc2G7TPZ6E6OAgDIBPGaiItVvZbw9 X-Received: by 2002:a05:6a00:21c7:b0:4c6:8696:1578 with SMTP id t7-20020a056a0021c700b004c686961578mr4681038pfj.83.1642791796545; Fri, 21 Jan 2022 11:03:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642791796; cv=none; d=google.com; s=arc-20160816; b=YMWtK7j1v1jaCNJrPKsG8aJxRHrLd9dpF/KUYP8r/qJc6tHcd9+C/r6Ph4Ldn597KC /lscF8dTS/PLJgrwn62YTBS3ZCi3bxd6FTS3UiHsKNcj3tis1+tVSzxvx7b1+ROjccLb H7ab/pAK+V5jc9gFlzztWsPJ5rg7cVuU2BkzoFRwtq8+PzAZGM3aQkGCMSmymJVAItsG /+3mj73bzZ1kNwF2wgiKvqEqyrC2BDwhaReM1EKeXKtGx1c8UOozTsvdQA/2IVg4NvNC WmZ7SzoUoBfVsy3aB3uM1y8a2v22xDfBDMLjoRnhoZjA5n7NAbEDXkBlTlRul2SCvVTd aHFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=tkTBQiDm6kiFYfbpfGz2M7cr+ZASTszAk35nCnj8G10=; b=jDHwSW/AODrFPoh7VgLwVL0h7jlo8Axry7joAXd5inHksItet/Ec4ggPAgEWvFY8JA 7OdzWI6i0o8OJlGxQWJJ32cXpEO7kMiiqiwjJoKjN6y1OUfEXfb4FO5W/H8Or8PLERrm zrYHDavVTb10PGduq90y7xaBvWofsokWZRzgWVWYzxYHIQ0REBOyhDN77unVKS62ybNJ ofCN1SCsrA4t9E9ohUs7f9109bqjxZCjOW5S7vOYYz8wZpBVoKzuqK7ziV5YofgdMO+w W+3JL0AcdZIViYgjzc8XuSFl+2y0/iWDJDcgXif/dvn5hSdzfd1CmZYEc9ybkg9ZLfgF n+8g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x1si7554800pgc.384.2022.01.21.11.03.03; Fri, 21 Jan 2022 11:03:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351565AbiASJQe (ORCPT + 99 others); Wed, 19 Jan 2022 04:16:34 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:53414 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1352882AbiASJQb (ORCPT ); Wed, 19 Jan 2022 04:16:31 -0500 X-UUID: f7433a76f4a14f8b8af01be528ce64f4-20220119 X-UUID: f7433a76f4a14f8b8af01be528ce64f4-20220119 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 974005258; Wed, 19 Jan 2022 17:16:27 +0800 Received: from mtkcas10.mediatek.inc (172.21.101.39) by mtkmbs07n2.mediatek.inc (172.21.101.141) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 19 Jan 2022 17:16:26 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas10.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 19 Jan 2022 17:16:26 +0800 From: Miles Chen To: CC: , , , , , , , , , Subject: Re: [PATCH] lib/crypto: blake2s: fix a CFI failure Date: Wed, 19 Jan 2022 17:16:23 +0800 Message-ID: <20220119091626.3636-1-miles.chen@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org >typedef void (*blake2s_compress_t)(struct blake2s_state *state, > const u8 *block, size_t nblocks, u32 inc); > >should become > >typedef void (*blake2s_compress_t)(struct blake2s_state *state, > const u8 *block, size_t nblocks, const u32 inc); > >Does making that change fix things for you? > >Thanks, >Jason Thanks for your fast response. It does not work. I tried this before reverting the commit 6048fdcc5f26. Miles