Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2218050/?format=api
{ "id": 2218050, "url": "http://patchwork.ozlabs.org/api/patches/2218050/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260331100047.34618-7-philippe.reynes@softathome.com/", "project": { "id": 18, "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api", "name": "U-Boot", "link_name": "uboot", "list_id": "u-boot.lists.denx.de", "list_email": "u-boot@lists.denx.de", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260331100047.34618-7-philippe.reynes@softathome.com>", "list_archive_url": null, "date": "2026-03-31T10:00:38", "name": "[v3,06/15] test: dm: ecdsa.c: clean this test as software ecdsa is now implemented", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": false, "hash": "eecbeed6374e4f3216620cd99ad3cbea4d83a367", "submitter": { "id": 74351, "url": "http://patchwork.ozlabs.org/api/people/74351/?format=api", "name": "Philippe Reynes", "email": "philippe.reynes@softathome.com" }, "delegate": { "id": 161313, "url": "http://patchwork.ozlabs.org/api/users/161313/?format=api", "username": "raymo200915", "first_name": "Raymond", "last_name": "Mao", "email": "raymondmaoca@gmail.com" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260331100047.34618-7-philippe.reynes@softathome.com/mbox/", "series": [ { "id": 498164, "url": "http://patchwork.ozlabs.org/api/series/498164/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=498164", "date": "2026-03-31T10:00:34", "name": "add software ecdsa support", "version": 3, "mbox": "http://patchwork.ozlabs.org/series/498164/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2218050/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2218050/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<u-boot-bounces@lists.denx.de>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=softathome1.onmicrosoft.com header.i=@softathome1.onmicrosoft.com\n header.a=rsa-sha256 header.s=selector1-softathome1-onmicrosoft-com\n header.b=reC21V/w;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=85.214.62.61; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)", "phobos.denx.de;\n dmarc=none (p=none dis=none) header.from=softathome.com", "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de", "phobos.denx.de;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=softathome1.onmicrosoft.com header.i=@softathome1.onmicrosoft.com\n header.b=\"reC21V/w\";\n\tdkim-atps=neutral", "phobos.denx.de; dmarc=none (p=none dis=none)\n header.from=softathome.com", "phobos.denx.de;\n spf=pass smtp.mailfrom=philippe.reynes@softathome.com" ], "Received": [ "from phobos.denx.de (phobos.denx.de [85.214.62.61])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4flNx33mBvz1y1q\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 31 Mar 2026 21:03:35 +1100 (AEDT)", "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 7E3488413A;\n\tTue, 31 Mar 2026 12:01:15 +0200 (CEST)", "by phobos.denx.de (Postfix, from userid 109)\n id 9874883F5B; Tue, 31 Mar 2026 12:01:06 +0200 (CEST)", "from PR0P264CU014.outbound.protection.outlook.com\n (mail-francecentralazlp170120004.outbound.protection.outlook.com\n [IPv6:2a01:111:f403:c20a::4])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id AC84E84056\n for <u-boot@lists.denx.de>; Tue, 31 Mar 2026 12:01:02 +0200 (CEST)", "from GV0P278CA0033.CHEP278.PROD.OUTLOOK.COM (2603:10a6:710:28::20)\n by MRYP264MB6622.FRAP264.PROD.OUTLOOK.COM (2603:10a6:501:72::13) with\n Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9745.28; Tue, 31 Mar\n 2026 10:00:53 +0000", "from PA1PEPF000CC3F9.FRAP264.PROD.OUTLOOK.COM\n (2603:10a6:710:28:cafe::ee) by GV0P278CA0033.outlook.office365.com\n (2603:10a6:710:28::20) with Microsoft SMTP Server (version=TLS1_3,\n cipher=TLS_AES_256_GCM_SHA384) id 15.20.9745.28 via Frontend Transport; Tue,\n 31 Mar 2026 10:00:29 +0000", "from proxy.softathome.com (149.6.166.170) by\n PA1PEPF000CC3F9.mail.protection.outlook.com (10.167.242.4) with Microsoft\n SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9745.21\n via Frontend Transport; Tue, 31 Mar 2026 10:00:53 +0000", "from sah1lpt726.home (unknown [192.168.72.39])\n by proxy.softathome.com (Postfix) with ESMTPSA id D576420933;\n Tue, 31 Mar 2026 12:00:52 +0200 (CEST)" ], "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de", "X-Spam-Level": "", "X-Spam-Status": "No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS autolearn=ham\n autolearn_force=no version=3.4.2", "ARC-Seal": "i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;\n b=l1o4Z9+NalH8RIwaPfq/WGt0WdHOGxYAzgK6BbqCPPliLRzSpxT9rlAixSMEML8RlXR8+6KZ7BXicCyauD9KsVOGUXHybNr40fF+JrzuI2MFDtV7kson1raXBaDTYDSF7RdpKhSugAbft/o34XUxGyeU4cg8PmjloOe87WC4dKWDebcUZjey/G/m3qnD+1NcFBsT6tjoGdDP54Dqq9XtsYrRyIILsL9xXShxscxqiI1rVC16ixuTS8P+mpGOOQGD1mrhfhfpZR16uSrUm+fXyN7Vroxt/CXtZ6q9zH/aknbUsT4tuuNcrIf0F674Z4VSZ8wImBeb39iXnK4Ghr0t9w==", "ARC-Message-Signature": "i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;\n s=arcselector10001;\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;\n bh=5ygi0FvturcMHWK5eYmQOLVq4+wpaAwakRYNZSzM3gQ=;\n b=po5MKHbpvOHdz4sabOjGpTVLgAHY+QIHRCquYopDsa7WJQ5yGLBkG+XnW21vmiQvDKQOu/4IMhOFHTC+uQjeo9+N2uM7bhRY3eG/xGKUhXRpHDRC58xHdNjqL4q+5Q/oLpdHCBqwHq2ZzhNnC5cWRboXOrmy5gAOOizW8fMvj6/Urr+Izpqwacp6nPBBErVmBVxMkW2J8I3W/KIy1HvXr6gIYTDythCTYWBel5Vt2tbDaZUnYbOrj5tZezy+khMVDFTmqbwSNH0yPDt+/mGbqrsCHN4uaO3mZcSsIgumwn9G+FCDX719ePEI+CHwvsgiJJknumniXyu+3mR8N0Ex1w==", "ARC-Authentication-Results": "i=1; mx.microsoft.com 1; spf=pass (sender ip is\n 149.6.166.170) smtp.rcpttodomain=canonical.com smtp.mailfrom=softathome.com;\n dmarc=bestguesspass action=none header.from=softathome.com; dkim=none\n (message not signed); arc=none (0)", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=softathome1.onmicrosoft.com; s=selector1-softathome1-onmicrosoft-com;\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\n bh=5ygi0FvturcMHWK5eYmQOLVq4+wpaAwakRYNZSzM3gQ=;\n b=reC21V/wbRjWi6QhRNmFwnREKy+Hs/qlgNSvxvcYQCCAeDh+mf+abzKqUjz0qH0GfL5iui3QdABjc9TMWwVE20mapB1xX3z/wy6a4HIQ2y/LC7DOFYvpj/f9XEEoFiL1a8CcE9kO9VfnW5huO5+heQp+ei+PI2DfdIDo9cTTKpmC255zw1eIxrwrS8KuEiyzFqRX4OHR3dzaetWnBgruzU/M/pwrtDwEBEsUjieQfxREuJm6hKOwE2V6w03UBdBX7QNrf8GnQ2liNu1DWFPUL2oBoxvQyly2Jm5x+fcurkiBRJ/GDEIzrehSoyVVUHG3qvj70ujVZT8QEWiFQzPnOg==", "X-MS-Exchange-Authentication-Results": "spf=pass (sender IP is 149.6.166.170)\n smtp.mailfrom=softathome.com; dkim=none (message not signed)\n header.d=none;dmarc=bestguesspass action=none header.from=softathome.com;", "Received-SPF": "Pass (protection.outlook.com: domain of softathome.com\n designates 149.6.166.170 as permitted sender)\n receiver=protection.outlook.com; client-ip=149.6.166.170;\n helo=proxy.softathome.com; pr=C", "From": "Philippe Reynes <philippe.reynes@softathome.com>", "To": "marko.makela@iki.fi, jonny.green@keytechinc.com, raymondmaoca@gmail.com,\n trini@konsulko.com, simon.glass@canonical.com", "Cc": "u-boot@lists.denx.de,\n\tPhilippe Reynes <philippe.reynes@softathome.com>", "Subject": "[PATCH v3 06/15] test: dm: ecdsa.c: clean this test as software ecdsa\n is now implemented", "Date": "Tue, 31 Mar 2026 12:00:38 +0200", "Message-ID": "<20260331100047.34618-7-philippe.reynes@softathome.com>", "X-Mailer": "git-send-email 2.43.0", "In-Reply-To": "<20260331100047.34618-1-philippe.reynes@softathome.com>", "References": "<20260331100047.34618-1-philippe.reynes@softathome.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-EOPAttributedMessage": "0", "X-MS-PublicTrafficType": "Email", "X-MS-TrafficTypeDiagnostic": "PA1PEPF000CC3F9:EE_|MRYP264MB6622:EE_", "Content-Type": "text/plain", "X-MS-Office365-Filtering-Correlation-Id": "ed8a91db-bc6e-4481-b9d7-08de8f0c6516", "X-MS-Exchange-SenderADCheck": "1", "X-MS-Exchange-AntiSpam-Relay": "0", "X-Microsoft-Antispam": "BCL:0;\n ARA:13230040|376014|36860700016|1800799024|82310400026|22082099003|56012099003|18002099003;", "X-Microsoft-Antispam-Message-Info": "\n 8+NFYUESy0tVsUOeLEjHDlMSzo5NFuti6tA1R1Nb0OmvIr6JNIUp0ug8wRxV6ugBsZOBBGBqtcwx+iea+2qOMEjiTzxmLgiKx+cB7ZTRukaZ5+J23NIEogJViBscyD4mwoxUcxbh43bqfPtchjro4HiphOw9HJCYJHfYcPPwXGD8AQFZ0SRwtNrFweZDiLafFopDL84anz+fs82i3BbZ33OgYPMy+reUgMctUDvr1wNR38c248eBKgLXHNVIYBrECIqkmjoQlrPD1uEFHKWhUMS2elR75tNsELsLrKj4+9alFat73r8a1l6Yddd2lhNH0HHgvQt2gBRRpcNJ1XCEiVdKFp8o/w1SyzmH/bUNlwTEBSyCyj5zVuGOaueTYYB7gH3oUujFdtk5dHowWGIt86mOjdEhobkfSJTaoX0fkzVr4LUqJ+2gQTI7Sa+0WA/1+88hVC5COcq/FmovWClU1HT/TqIvcqxgoWzeN9dUNoFARg/MR2NOtfYreMq0CEc9mub20HyAN9Zq74o00z8/OMUfB1eXRIIqp+xr6BfpYPqDf3NudEfRJYAruebqqq3qIJo2GjpFyk3fdKvBJKC9SJpXp1NQxqdQzD/z/KVu8VrtKOw+Mk7mRiwQha6QribmWuXHmbFhBdnzfDlt1T8peQLxIEbz+tTuSoHRtZgT+OqEr1IIPEg/BTZd3/QMcNR4Eh4CDJrVzeXo4c9CbXlipMlViwBgSxZtPJU5pj4JUgu1P+pmmm4kWxj2K+kuzsKvR+s0AHn7r1gzVNTC90TRxQ==", "X-Forefront-Antispam-Report": "CIP:149.6.166.170; CTRY:FR; LANG:en; SCL:1; SRV:;\n IPV:CAL; SFV:NSPM; H:proxy.softathome.com; PTR:InfoDomainNonexistent;\n CAT:NONE;\n SFS:(13230040)(376014)(36860700016)(1800799024)(82310400026)(22082099003)(56012099003)(18002099003);\n DIR:OUT; SFP:1101;", "X-MS-Exchange-AntiSpam-MessageData-ChunkCount": "1", "X-MS-Exchange-AntiSpam-MessageData-0": "\n SLKCyBWG+/86t1oOUtent6Ug6oL9EInN6zUbA3V08UiR/37TMuHTjaEpiqq5OSXc9XZRXZsVjnYYMuaXLGHIY1fxOiR6XQidheAO3qfNBwo6i7BQrK2UaC2IwV/c+LQ7OpK23pQ4KH3399HKaVIyZuYCP0frxUI94g7fIS2bgGim/S6u+ko7tVNvtHquDW0ucxCfpPY9kdEOdmHYgu7vnYdg60A6oDBtBDyranUQKxOTjX3fEwI4+KLLo48VUPYRf0bnQBf8hTrgHnGgYlnuvIAQ9r2naLwJAhcIZ+ZKzQMBP+lhiGtqKX4DR7rmswQUP7/NKMoo67ttia5Iz+eAsA6PlC6AuKXxeWBlMGx26nMrL4aH1R+Gec/xbG/RBJv8zjqBc7LbsKdiAQ9xMwdEyAL5R039Fy12JTD0NvoDxY0T0T/JOvFqYnhnQggm2dfB", "X-OriginatorOrg": "softathome.com", "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "31 Mar 2026 10:00:53.1065 (UTC)", "X-MS-Exchange-CrossTenant-Network-Message-Id": "\n ed8a91db-bc6e-4481-b9d7-08de8f0c6516", "X-MS-Exchange-CrossTenant-Id": "aa10e044-e405-4c10-8353-36b4d0cce511", "X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp": "\n TenantId=aa10e044-e405-4c10-8353-36b4d0cce511; Ip=[149.6.166.170];\n Helo=[proxy.softathome.com]", "X-MS-Exchange-CrossTenant-AuthSource": "PA1PEPF000CC3F9.FRAP264.PROD.OUTLOOK.COM", "X-MS-Exchange-CrossTenant-AuthAs": "Anonymous", "X-MS-Exchange-CrossTenant-FromEntityHeader": "HybridOnPrem", "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "MRYP264MB6622", "X-BeenThere": "u-boot@lists.denx.de", "X-Mailman-Version": "2.1.39", "Precedence": "list", "List-Id": "U-Boot discussion <u-boot.lists.denx.de>", "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>", "List-Archive": "<https://lists.denx.de/pipermail/u-boot/>", "List-Post": "<mailto:u-boot@lists.denx.de>", "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>", "List-Subscribe": "<https://lists.denx.de/listinfo/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=subscribe>", "Errors-To": "u-boot-bounces@lists.denx.de", "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>", "X-Virus-Scanned": "clamav-milter 0.103.8 at phobos.denx.de", "X-Virus-Status": "Clean" }, "content": "The test ecdsa was done when ecdsa was only supported by hardware.\nSo it wasn't possible to test ecdsa on sandbox, and there is a test\nto check that ecdsa is not supported on sandbox.\nNow, there is a software implementation of ecdsa. So we remove\nthis outdated test.\n\nSigned-off-by: Philippe Reynes <philippe.reynes@softathome.com>\n---\nv2:\n- initial version\nv3:\n- no change\n\n test/dm/ecdsa.c | 18 ++----------------\n 1 file changed, 2 insertions(+), 16 deletions(-)", "diff": "diff --git a/test/dm/ecdsa.c b/test/dm/ecdsa.c\nindex d7eac7115f7..074b4b25576 100644\n--- a/test/dm/ecdsa.c\n+++ b/test/dm/ecdsa.c\n@@ -9,29 +9,15 @@\n /*\n * Basic test of the ECDSA uclass and ecdsa_verify()\n *\n- * ECDSA implementations in u-boot are hardware-dependent. Until we have a\n- * software implementation that can be compiled into the sandbox, all we can\n- * test is the uclass support.\n- *\n- * The uclass_get() test is redundant since ecdsa_verify() would also fail. We\n- * run both functions in order to isolate the cause more clearly. i.e. is\n- * ecdsa_verify() failing because the UCLASS is absent/broken?\n+ * ECDSA software implementation is tested in another test,\n+ * so we only check that the class UCLASS_ECDSA may be reached.\n */\n static int dm_test_ecdsa_verify(struct unit_test_state *uts)\n {\n \tstruct uclass *ucp;\n \n-\tstruct checksum_algo algo = {\n-\t\t.checksum_len = 256,\n-\t};\n-\n-\tstruct image_sign_info info = {\n-\t\t.checksum = &algo,\n-\t};\n-\n \tut_assertok(uclass_get(UCLASS_ECDSA, &ucp));\n \tut_assertnonnull(ucp);\n-\tut_asserteq(-ENODEV, ecdsa_verify(&info, NULL, 0, NULL, 0));\n \n \treturn 0;\n }\n", "prefixes": [ "v3", "06/15" ] }