Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp773871iob; Wed, 4 May 2022 07:43:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyRRFIRXF8lstIOFzlxJAMWV4wf58RNT9SWmilEBFrYokh5CdOHVjpPTlTWCnQ7UphHmG9v X-Received: by 2002:a05:6602:2e07:b0:65a:5818:2b3d with SMTP id o7-20020a0566022e0700b0065a58182b3dmr6414364iow.128.1651675427955; Wed, 04 May 2022 07:43:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651675427; cv=none; d=google.com; s=arc-20160816; b=trxbHrqxRdQjDuFxCc3v7CG4Ri4Ys9cFY1Ri1POf3o6+COVdZz2tdtouPlJKsWO5XG MivTk9Paki5N1CAOnyZ9MrgOckcnWkzhg7n5m80pUtIegjKZX+nSqr0SNIuoqciB4qXg 6l7/MsyeD1XDp+mMGJKMkhsHwFWgEtOMFsiEeiOK5Unv/hTcYHZiX63G6YLZum8edpyX 1wLGizBGcNcAxaZmIqwZbffDzsJmwLscw1XOCUqdbsDq4bS45+6m90g/UY+O2c+nrOr3 VzTuAojoPcUsCJJINcaGcjynZTdZ+WdmJO+ZFlY25jJEIdp+y6LctmyU0UlJ37mEB+bT TrxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=b81yDriS5T/+hKnmb1pmNHlWtzeKbbKI8V6YDaYU9so=; b=gSKFcLLBEw+cEx5zwnceCl+UcztJPqhZXdI9RdqNxNyHJ7W0Y/VHRBvpRSI5XvE9M+ aXVkysnwxTlMK3biQw69yajJHcAKR+6eGgyPiXp94ieXb8HxXoF08T7fO3MSoYCEWXp8 c0WDiY3WhcNYDJmWhgJ0wadzgyVnJCpASTfoLWpMt0CmKgH6q5RCw8x6W8LJrecNweZ6 4BqKkNiRSCWL6DedfDX1ZMtRWXRLJrqcAjHRsZwkWOWOjuZ5zfntVTHVuZA6wfPovzsG XOjeqYEUBHDTUwjVCwbq6UuHeH5wZ3YLiRtGVZpjuhcZeXkCyfX9Mh6aSxTqfYcx3Wg9 98wQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=DT7w0Tub; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w15-20020a056e021c8f00b002caa7cf4d29si3119072ill.170.2022.05.04.07.42.50; Wed, 04 May 2022 07:43:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=DT7w0Tub; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347284AbiEDJYP (ORCPT + 99 others); Wed, 4 May 2022 05:24:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347339AbiEDJYG (ORCPT ); Wed, 4 May 2022 05:24:06 -0400 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE6F965F0; Wed, 4 May 2022 02:20:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1651656031; x=1683192031; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=TLzDWArVZkel1+bI6EkTXQXMN2nFcD9kEsCR+FoZJaA=; b=DT7w0TubNRhsOzSXIaHYYyFVrvu+oQg574GTPdBA+INHkAo5iuwicEK6 DB8GbJZFGIoMc1Ddm3A2mFS3sb+Rk3eh93EBKiWoLuF122i/WSH6q881V DRDnPdrVV3xhyh77oGMndtyN7bqOmpCzI0hd1Sv2l28aqaAlDi9p/K1D7 0j9e3XXCztzW6SZo4/vcaGSTuuXx4ZTlv/Ce6j3ZiVn7hqHLdc3nknhfW kZdcYDlpq3hkbC9l1rxSJUYsgRcZEeHMkbtBSJuV6uoVG6TuWH8PFLEvV X68WLn7Pgd2Y76TD3A4A1tixwnHDgj/8AalFRqGkrzy7k1HJGr7danfT3 g==; X-IronPort-AV: E=McAfee;i="6400,9594,10336"; a="249691738" X-IronPort-AV: E=Sophos;i="5.91,197,1647327600"; d="scan'208";a="249691738" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 May 2022 02:20:29 -0700 X-IronPort-AV: E=Sophos;i="5.91,197,1647327600"; d="scan'208";a="620727958" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 May 2022 02:20:25 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.95) (envelope-from ) id 1nmBBG-00BpBT-GT; Wed, 04 May 2022 12:20:22 +0300 Date: Wed, 4 May 2022 12:20:22 +0300 From: Andy Shevchenko To: Mikulas Patocka Cc: Stafford Horne , Linus Torvalds , Andy Shevchenko , device-mapper development , Linux Kernel Mailing List , Linux Crypto Mailing List , Herbert Xu , "David S. Miller" , Mike Snitzer , Mimi Zohar , Milan Broz , Jason@zx2c4.com Subject: Re: [PATCH v2] hex2bin: make the function hex_to_bin constant-time Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Wed, May 04, 2022 at 04:57:35AM -0400, Mikulas Patocka wrote: > On Wed, 4 May 2022, Stafford Horne wrote: > > On Mon, Apr 25, 2022 at 08:07:48AM -0400, Mikulas Patocka wrote: ... > > Just a heads up it seems this patch is causing some instability with crypto self > > tests on OpenRISC when using a PREEMPT kernel (no SMP). > > > > This was reported by Jason A. Donenfeld as it came up in wireguard testing. > > > > I am trying to figure out if this is an OpenRISC PREEMPT issue or something > > else. > That patch is so simple that I can't imagine how could it break the > curve25519 test. Are you sure that you bisected it correctly? Can you provide a test cases for hex_to_bin()? -- With Best Regards, Andy Shevchenko