Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1159304pxb; Fri, 21 Jan 2022 11:06:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJwObqjb78OuWOTzU2Fz0jqUbQN/d/SUnYa9mWkKiu7XONtbG+qD4/lWRBDXtrEl8/TZt744 X-Received: by 2002:a05:6a00:9a9:b0:4c1:c43e:75e4 with SMTP id u41-20020a056a0009a900b004c1c43e75e4mr4739354pfg.83.1642792010406; Fri, 21 Jan 2022 11:06:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642792010; cv=none; d=google.com; s=arc-20160816; b=FbwjSC1vSZYUjWLiFcB4+riPHSeOZdhnLV/XP6tvvZ+hhjOI+92U3JP6ff6+p5MapI t65s9UDRbr6Y7DVDEzFCFIb8sqQj5ByO3Uy27Q+ZHkeXYFdVqUyZU+ImYatG6M5jd76n J/wZtYNW3b6r3whmNrd4igB4TeQ0U27K6sCBslT0A1NQy0n4WHEUm2KGXJCOtgpicICL g++1wHHeYhecx2L7R23x68YLPJXBFUQk/hLfWpDthAXBFq1T49eEquQjwOHEqBFNp5OQ TR+Fj8QuN5SezSFo3ifIZp4qJjQimLJdbJKXg975QoQXnyvzHQPCauujtYrPWYaopnrf 9KhQ== 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=gB0yF7J4/G1YmALTWaOg7CfPLSW8iv0V4EWCgf/dlFE=; b=ow3ACMyMokH78XyAj911NJQGOheXXRVk7CX4S4/YLEthE8vBrNAFXjNIOnB30RdgSu g9oPae/zuO0aUPLfrK6prVmXUdEvZiXtBzncHUFx3vQPHodEwnSdW9IOYumNOBkf7bE4 EJdFRw831+9TT5RIWpL0snsB4vSihoVqANuKCtgu5VisdiTEi3swveITC8Eq9GzpGeOK obkMJ+2C/dKZ5hr+IjrcSOavjOzvsCQEAXEnYz2zHsBFFkxThy9KMD0HQT31ufRE+TFi KvVKAG4jPWW7U/htrIoipjDX7lrFKWpiscCtP8rIKzc5QMqi+IgxFRBoivcXW24gMjD9 Vivg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 y1si6561538pll.463.2022.01.21.11.06.38; Fri, 21 Jan 2022 11:06:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 S1353478AbiASKKp (ORCPT + 99 others); Wed, 19 Jan 2022 05:10:45 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:55180 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1353436AbiASKKc (ORCPT ); Wed, 19 Jan 2022 05:10:32 -0500 X-UUID: 0b54defdbd62445c9426f5360c516332-20220119 X-UUID: 0b54defdbd62445c9426f5360c516332-20220119 Received: from mtkmbs10n2.mediatek.inc [(172.21.101.183)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1438925155; Wed, 19 Jan 2022 18:10:29 +0800 Received: from mtkexhb01.mediatek.inc (172.21.101.102) by mtkmbs07n2.mediatek.inc (172.21.101.141) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 19 Jan 2022 18:10:28 +0800 Received: from mtkcas10.mediatek.inc (172.21.101.39) by mtkexhb01.mediatek.inc (172.21.101.102) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 19 Jan 2022 18:10:22 +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 18:10:22 +0800 From: Miles Chen To: CC: , , , , , , , , , , , Subject: Re: [PATCH] lib/crypto: blake2s: fix a CFI failure Date: Wed, 19 Jan 2022 18:10:22 +0800 Message-ID: <20220119101022.5176-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-kernel@vger.kernel.org Hi, > We should try to understand why CFI thinks the prototypes of the two > symbols are different. There are still a number of issues with CFI, so > papering over them by reverting stuff that we want for good reasons is > not the way to go imo. > > In the short term, you can work around it by avoiding the indirect > call to blake2s_compress, e.g., Thanks for the patch. I tried it and the issue remains. As Jason said, he cannot reproduce this issue. I will try another version of clang next. Miles