Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp480537lqt; Mon, 18 Mar 2024 13:36:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUV+FYj2Mf7gXlydG9YsOjyIBDcIO7G+kZ2HenPxc/brioQsdWpp6fXSaVbvnu8k+CEk8zdsf4y6ayZG6b5OFcFtpNHF/ON7Gv8iBik9g== X-Google-Smtp-Source: AGHT+IHzGpifmJdqj7AycJWFZFFZQJb9AgnN02v8GoexAbCxW4WP35KS/xtlgFgBtH1R0QukIXs5 X-Received: by 2002:a05:6870:340e:b0:220:8bd2:cd09 with SMTP id g14-20020a056870340e00b002208bd2cd09mr15435176oah.32.1710794167329; Mon, 18 Mar 2024 13:36:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710794167; cv=pass; d=google.com; s=arc-20160816; b=aVGDLO7gVs/7EIPnS+USP89A/yhYXmkDlXLygSrMdQf+eOLh0MZgI5wbtYVMpZJMyb gTPJJ2k/lU/yHE5adKlzsVALOLxpYSsJNcWdpjAAPsOj3aS9YqQPsMnn2XKLf057Ct41 jaS8ZUeNUgYdqQJwYmH4xaeYewMh9O49nFgWcH3amb6VagOV+sBIFAqYJBt7Oyjjuo/5 iMSplvkkp8dLtp4EBZe40mlgWdxMFjYEY1/HmhOPdyraUx3Z3lLjhB1jmSe1f7q4Quz7 VNDk647UsnNFDVlx0ESC+q+KRIOT38gXWHl3/l+5K1cwl+ZmIWIyAN/OzG2wSBNBVGYd C1oA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=C9YvqZUeVbJ2DNxufd85Bjmld5DBfyfsjgiYrd2s9pA=; fh=0vwKmB3dc/YcdOUZHzZlNcTuqu1xHO4YKbINgKGuSA8=; b=czP/fVAwpeMoFv9EdawBiXwBT1FFIji1x6iO9JsRA79EZi8tB1sGQBrmZqpefhFMwd n1w53Jd0o+NzDps48npcxzdG7Z/p8CXBTgkJfskeG62EVQ3kXQy09+zwj+CI3WQs+ujH 5wSTbp2SjjBoVqhCU4nOgfD6dyz7e/VL1IOroV7o4W5ZB7Lg7wGqCX3i1lK3oUd5JZ9S g/6Y5Wn98ddYb1N2KvmdZraaVC3HM+BnOfiEm1lyCMorRSF0HLczc5BUSYx5/n3rBm6P qNf+dd1AFubxYNgQcQ+QCaT9GbrUag0WRggf1dG6Ei3qsmT2mWGHC98vZb2+V0s/f1fR 9EmA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-106633-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-106633-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id q22-20020a63e956000000b005d8bc09efb4si8721324pgj.886.2024.03.18.13.36.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Mar 2024 13:36:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-106633-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-106633-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-106633-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 02A2A284451 for ; Mon, 18 Mar 2024 20:36:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4C20D1BDDB; Mon, 18 Mar 2024 20:35:56 +0000 (UTC) Received: from bmailout2.hostsharing.net (bmailout2.hostsharing.net [83.223.78.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 11DF95823E; Mon, 18 Mar 2024 20:35:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=83.223.78.240 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710794155; cv=none; b=fLLiJLiZcG99ZOantUJ8jmqjXObYDzE1nSTD22IeYOzATAFKymSTQ62/eGLqZOsnUrvbctD2MS+J/BEO0vLCysRENYPZsHiV57p3WKYOIZObU84bx5fgdD+KFfxMOx0Gj8szZ6xhEc5McGc+apqdcvztsOFybJkqAVR49SEx6rg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710794155; c=relaxed/simple; bh=LTrlYGiDWbmiAPcVZXDPnbLX7y9tzRYIsFoAoMLA1VU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=D8/9TijRLiMzjn2jsf/KssRIcubWyBoI1yc4ceKcu0C44Yu72UcFDh0pGS5GKUUxrzTcdYX6UsKFOMiTVWhUVLKw5Q2VHEYh5LbFKGm5fsLF5Y8Vx82JaDvYdtB0o3i+uKyHEAUYJOEmzj+3M8AkJTHVTLu8XlHmsXmAPilP6Fc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=wunner.de; spf=none smtp.mailfrom=h08.hostsharing.net; arc=none smtp.client-ip=83.223.78.240 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=wunner.de Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=h08.hostsharing.net Received: from h08.hostsharing.net (h08.hostsharing.net [IPv6:2a01:37:1000::53df:5f1c:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "*.hostsharing.net", Issuer "RapidSSL TLS RSA CA G1" (verified OK)) by bmailout2.hostsharing.net (Postfix) with ESMTPS id 3638E2800BD88; Mon, 18 Mar 2024 21:35:48 +0100 (CET) Received: by h08.hostsharing.net (Postfix, from userid 100393) id 1BF9B5912B0; Mon, 18 Mar 2024 21:35:48 +0100 (CET) Date: Mon, 18 Mar 2024 21:35:48 +0100 From: Lukas Wunner To: Jarkko Sakkinen Cc: Stefan Berger , keyrings@vger.kernel.org, linux-crypto@vger.kernel.org, herbert@gondor.apana.org.au, davem@davemloft.net, linux-kernel@vger.kernel.org, saulo.alessandre@tse.jus.br, bbhushan2@marvell.com, Stefan Berger Subject: Re: [PATCH v6 02/13] crypto: ecdsa - Convert byte arrays with key coordinates to digits Message-ID: References: <20240312183618.1211745-1-stefanb@linux.vnet.ibm.com> <20240312183618.1211745-3-stefanb@linux.vnet.ibm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Mon, Mar 18, 2024 at 10:21:20PM +0200, Jarkko Sakkinen wrote: > On Tue Mar 12, 2024 at 8:36 PM EET, Stefan Berger wrote: > > From: Stefan Berger > > > > For NIST P192/256/384 the public key's x and y parameters could be copied > > directly from a given array since both parameters filled 'ndigits' of > > We "could" do various things but a commit message should describe the > gain or motivation of doing something, even if you think it should be > obvious. "could" is past participle of the verb "can". We were able to copy directly but no longer can due to the odd key size of P521. Thanks, Lukas