Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2313340lqb; Mon, 27 May 2024 15:50:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXkvORy+g9IPoND0kMggOUzvQwroX6z4GypNQefyLWQ60GaDan/umqJVVvXu18igARS2YRzByv45L1qrXQ6KZLkpZvLYo6Kvco+heQQcQ== X-Google-Smtp-Source: AGHT+IGFMXS3LTaadrKDy+ZXvUm94moIUCEy8PLfiq0NuZAJMSD+Z0nr5z3zuEwKMXrUvE6kPoJT X-Received: by 2002:a54:441a:0:b0:3c9:6e80:8ea2 with SMTP id 5614622812f47-3d1a6019290mr10857943b6e.32.1716850201211; Mon, 27 May 2024 15:50:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716850201; cv=pass; d=google.com; s=arc-20160816; b=a0HPYzLv3YXZhkI2vl0fyJZuLo82eI7hAqklMkDMaEICtjI+eze0OGNNN5NTIHFFsC f6bV2qkK3vSkE57wlyuQePa8PQuEJHC3WtrEElTcDvUXijSh8SMplWGwfjXL0aRAq15/ CoHy8txr0xYTVmDlq8hUZoydrMUiutz9gLp6SSq17tIj7rLrdvqZZRnjF+tbNCCeGmDI QHWh4b8rWvJYkmMOoRm0xcaboLbN+3SomlFlXqPvxfxjiNYZYQAI5lmzgjf9lvo2Da8v irkqf/hwNTjPXALbH2kvpP0e2aWnK0Iqo2pS3v26mFulTuXyCwvDwbjU4f46XseQe6Pm jZww== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=/Z8UJg2vWMrn8iA+lqRtcsXXSA/KqVjSMKq68vNs0q0=; fh=D7XnYPMNjRyf4PksgQ1kQS8cdYEtBqdv6WgeMQugROE=; b=gsGvyCaI6dPZbWBwIZqu/iR15+vwhkqnglH/RqMdv0EOiRIk88a1xEmoAmgMQGp+v4 ebxIdOpXJWOKbPPX8Ycycso59TkhzbGUisD4qEl0lphzVvkUN/cqjm9mCUmVo4qJ7F7n eeuFprLS9km5Yz4vS8ZPjJFVUKiwGZ/RnlDEwmdr/ga3dbuMobDsAahVw/W6xJs3sxAh O5HlQImlZk/ASUptoCqk4UywD1MLpAWK4ZfnVezAzYXojfpDE6/rAW7FidPOEIq/FXeN /fDNAzzQIfWYOeqk3fR8ZP2GeOaOkiL69pb2guuWTAyuDK04rvEJm6UzvZ7L//hANAYP v9gA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cJmRQ1T0; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-191500-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191500-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 6a1803df08f44-6ad6ea1c4casi56719286d6.411.2024.05.27.15.50.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 15:50:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-191500-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cJmRQ1T0; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-191500-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191500-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id E57FE1C21054 for ; Mon, 27 May 2024 22:50:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4D250167288; Mon, 27 May 2024 22:49:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="cJmRQ1T0" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 6EC511DFE4; Mon, 27 May 2024 22:49:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716850192; cv=none; b=pZY6e9CLAYf8PXmt4ae8ZXIK1KQ9siA5bWJKxs7h6QudXNm3TmN5510nzy1t6AxnVP/4LJZpC5n0wD8voOQqFfgRDLGpFvzFF4g4FrLLgI4f8lxnXNx2Vw64Cz4xn8uwbhYsZNqlxcgVPlFdjsISvzfbqqaOtsnWiCXggViZsyI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716850192; c=relaxed/simple; bh=hertHfbcpJw8JoTdFV/lxLDsx0EAanE9Z0HvkoE8yJw=; h=Mime-Version:Content-Type:Date:Message-Id:Cc:Subject:From:To: References:In-Reply-To; b=QPVV6DGigUO2Fzzd3yrEade5tfjSTFH31wmiXDPL0Mr59GYDPAMLRSPT2qZTZ12TUeJ1adsrLKITRZHfY8WQANyvtVcYh+zpW9yPluLkAKE2Rox++6wx7a7ETBYNTxGdmPj+76xL7ID+zqzuA2riJG+51xjNXOfO/FoLNs8Yn58= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=cJmRQ1T0; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 73786C2BBFC; Mon, 27 May 2024 22:49:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716850191; bh=hertHfbcpJw8JoTdFV/lxLDsx0EAanE9Z0HvkoE8yJw=; h=Date:Cc:Subject:From:To:References:In-Reply-To:From; b=cJmRQ1T0Wp1HeszluEDk5/MA0HN4jAYUchfYZm1tHLFET7+gSF+6FvgaiJ0F9oQTN yBJdqOFjP7JtJwTzdJ5nCxYsECvYkBsd9/9FrDyGmICSepdyCGzAb52oH/5vLbzzCW ngrvePezcffJWiAnlcmDdqArVn85v0oXCgUlZoB8vGmo1nxECDfS1ecX1aQngZs+hf pmZc14UChc/99EavDaoksV6mmNpFkJWs46F6eGVoDtiy/MzN8znKD4dRBCsBOaJo9v 8LFJRGWxRoHWezzXJ9a8p4r2Mal1goTEhEomjUIxx0wIixQR2YtPXvZQE1WQTq8Tp6 G9OxOSlS2UxVQ== Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Tue, 28 May 2024 01:49:48 +0300 Message-Id: Cc: , "David S. Miller" , "Stefan Berger" , Subject: Re: [PATCH] crypto: ecdsa: Fix the public key format description From: "Jarkko Sakkinen" To: "Jarkko Sakkinen" , "Herbert Xu" X-Mailer: aerc 0.17.0 References: <20240527202840.4818-1-jarkko@kernel.org> In-Reply-To: On Tue May 28, 2024 at 1:31 AM EEST, Jarkko Sakkinen wrote: > > ret =3D crypto_akcipher_set_pub_key(tfm, data, 3 * x_size + 1); Noticed this mistake i.e. fixed it with "2 * x_size + 1" This is results earlier failure: ecdsa: (tpm2_key_ecdsa_query+0x10d/0x170 <- ecdsa_set_pub_key) arg1=3D0xfff= fffea Totally lost with the expected input format after trying out various=20 options. BR, Jarkko