Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2218038/?format=api
{ "id": 2218038, "url": "http://patchwork.ozlabs.org/api/patches/2218038/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260331100047.34618-15-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-15-philippe.reynes@softathome.com>", "list_archive_url": null, "date": "2026-03-31T10:00:46", "name": "[v3,14/15] test: py: vboot: prepare test for glocal signature with ecdsa", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": false, "hash": "afa85941da2143ceff4f25c460503e90c732dcca", "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-15-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/2218038/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2218038/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=EYH3LY55;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; 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=\"EYH3LY55\";\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\n [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4flNtw2C3kz1y1q\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 31 Mar 2026 21:01:44 +1100 (AEDT)", "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 4C998840ED;\n\tTue, 31 Mar 2026 12:01:03 +0200 (CEST)", "by phobos.denx.de (Postfix, from userid 109)\n id 1FBA2840D8; Tue, 31 Mar 2026 12:01:01 +0200 (CEST)", "from PA5P264CU001.outbound.protection.outlook.com\n (mail-francecentralazlp170100000.outbound.protection.outlook.com\n [IPv6:2a01:111:f403:c20a::])\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 E051384082\n for <u-boot@lists.denx.de>; Tue, 31 Mar 2026 12:00:56 +0200 (CEST)", "from GV0P278CA0022.CHEP278.PROD.OUTLOOK.COM (2603:10a6:710:28::9) by\n MR0P264MB5289.FRAP264.PROD.OUTLOOK.COM (2603:10a6:501:4e::8) with\n Microsoft\n SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n 15.20.9769.15; Tue, 31 Mar 2026 10:00:53 +0000", "from PA1PEPF000CC3F9.FRAP264.PROD.OUTLOOK.COM\n (2603:10a6:710:28:cafe::93) by GV0P278CA0022.outlook.office365.com\n (2603:10a6:710:28::9) 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:22 +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 7EF6220933;\n Tue, 31 Mar 2026 12:00:53 +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=Axci7T95sEqyN9zxtiGWp3MBZXKTCii0SsMjziyiYfnQGdjnzERLlTn8eB6dMCqPD/ssK5fDA6YzGn1UcZ9yoSEtcv7IjkBRLmVBrf93eqTJBI6qk4yKjXdzTQJqNfP+RuabjixIZnMA5RTQGNnP/D90D4Jb/8L7q0tQr+cKH0ifx7oJojfbWEk2CKsW4o9I/Puc+HsKD5tj6R3OTHGzIxnIJ9x/zJTLwpi5B2+PgWWL2AcB7+7qho7sqimfKXRi/q4rEKcw/P/OoKe+0K+3qVve6/oUOWfPRPmGZZNdej4xdznt3Y7ZFrA9OWpX4H3Bb7Sqj9Lf4MKmalCLa/70fw==", "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=ZcjYy0iUs94fBQyc9JbsAbSjhnLTDT/+AiaoT8fiNBs=;\n b=v8x5xY6Yh0jq4NuL8vAz1BeYSPfplrgPTB6Azcxs4xmc7Cc+8JJFqXbfJj+j3dnGRYGK61qOTGy2YYOMcNlALMSsKS3mZrLCYwk6yAQMDn3A5y5uFBfCjkee9h6H2Wi3+nrWFQ53B97ND7nYyCB72PVU7lhLwyYXXQndMeZMfY/hcw6oaY4AZihh+Umtv2+qlCPRnZH7y+ytptzxnGY0pKKQMqe7b/AAK/6nfCX0ULWspSl4+/u2A48h+TECE2UMEW2UytEKtQf6cEW80H3JWXGfTjpAY8uqg4vDDd4ztUHmA3+t24bxYY4VnGwIVpswgZDGWRLFdY3fQwXY/kws9w==", "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=ZcjYy0iUs94fBQyc9JbsAbSjhnLTDT/+AiaoT8fiNBs=;\n b=EYH3LY55xyZBklfTI/zv4jv5BIFatLMSl2Q8cd5Y0aoac+N4tOHCzMThlrhzVTkw8Pqavx+YPmYGKjjhYEipGBdHCbFUPcgSttr2fUJWLjQLym63a3o3Fc1d1zxyh7xdhbmd5GEXQXer1ISjuvmI+JMUDIm7ncTnH4d1Vzj+e5szH2hQ9nQcVE/SPeB5BarbsvL1Z/d5YCZg0NlLVt1zJ9FclpEGpAwpUfDZexOt5s2gGuFrtUBYi/RECiRyrn4pyr66VLeRUyRHk1ATh67qFs+aDgwb31MbKuh9NW1ZK25/iX3kAPdlkxP1CcLVM7Yr/4q1ZKwDKkEO8xXEdxhb7w==", "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 14/15] test: py: vboot: prepare test for glocal signature\n with ecdsa", "Date": "Tue, 31 Mar 2026 12:00:46 +0200", "Message-ID": "<20260331100047.34618-15-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_|MR0P264MB5289:EE_", "Content-Type": "text/plain", "X-MS-Office365-Filtering-Correlation-Id": "6e5daee6-5f55-4596-3090-08de8f0c656b", "X-MS-Exchange-SenderADCheck": "1", "X-MS-Exchange-AntiSpam-Relay": "0", "X-Microsoft-Antispam": "BCL:0;\n ARA:13230040|1800799024|82310400026|36860700016|376014|22082099003|18002099003|56012099003;", "X-Microsoft-Antispam-Message-Info": "\n vNfXO9arlaTioJUHzKT6y1zyGoLDWN5Vcf2igLzJSRwOchHrlP7wGa3w3epypKkxTJFBIlGxfgrCygclp3G6Sh8/FDcB2T8fus6RZvxZ2cLFzpfOvnWriumekFHxo/lEH85RPvcgzmsGWJwGntThOCkCfJk2HMVTXokqLvxEj4QYyN6K131JZ66MdLG5TOti5IT8hncsE6bID3LHqyXjtWnAvvng/210KdMCEFVf0aqRvLqVftDqboYzpQMurmbG9dT4yciWrLb0PGREvW0UZWXwj/ThQ7rNQqUxK3S+oYBcp5HnucOTYA59ILERB397rjy5LBB+EW9JSx46sNyIYku0gbXLagssK+SSgXR2LvpFMW30wv5pavCuQt74QhgksfK+8pnFlFqoNSDt+k3SztZLzAwa937K10ak8kSyDyn75b6Xnmf86+rFySGGtCW44fQT8fZcjgfgSVOSAYyoi/ejS/89ZMJT1PGs/y/A7579WhNhJoQnmgCm8JesnyI8+EfOE9FBCY1OEnxu33RWcluTWo8hMV2hQ3LNUC0feSngRyzO0QL1GljTTY83wLZjhnWpS3siZDbsESYAqvZ8H/mkzNCwKta+fCt76UZJhHhc+k8lfeNjlDXXkljSlSR9WfbWh3razA6wJUVveL6q7MnVspvVu5la9Wy3C57gUUHITBj9UDpvRJ8WFyFZ1cmeKOY/Zssu0VPkFQ/kW5PzKfQ6Au+GX6roJa6rdynNChJQlwabYuQJ4q9cdyhnCxXXmidwpX4Xt5lH2lZjMyA6Dw==", "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)(1800799024)(82310400026)(36860700016)(376014)(22082099003)(18002099003)(56012099003);\n DIR:OUT; SFP:1101;", "X-MS-Exchange-AntiSpam-MessageData-ChunkCount": "1", "X-MS-Exchange-AntiSpam-MessageData-0": "\n TRjMW6kzNyiF5WCEGMLj5EQNX7vOK8okK1Y89cU4tMeMlAwI1Hkqp/L1Rzm1DLCkOpLb9L4Fu7Xf+9HG/JpfaR4PmmmRlI99UyoEdfDpfiWeOI9pH9s9R9RWstQgdQo7rz9Nbrt8TuHBUoTv4AVlSC5xhlXdtFURAlfQEGpUU1s6Qvi9+Pp+mwghuoEdJ7MMcEsUBM4zYiWxigGAsC1KziV6sdEo3//Pv06JhnqMjdDUOVhUzc6QMZUJ5XL58RpjYDN55PanLWaJU1P5chioMQ+dx4jsCrEJF+7Qu37devBmhvc0xIs/sPZ6+1U9SkeEwHX3FO9UskGXSAVVL9ta8/Krv3YoBW4tY1S2yuVHEHRkc6/9SOmGCNQJKWl6WzBQgSUkwPRRMoLB7z9PZgzg4uYBggOarWGPLSaFSGfud+TGmuttewHg8/jjwYVGQFdT", "X-OriginatorOrg": "softathome.com", "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "31 Mar 2026 10:00:53.6550 (UTC)", "X-MS-Exchange-CrossTenant-Network-Message-Id": "\n 6e5daee6-5f55-4596-3090-08de8f0c656b", "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": "MR0P264MB5289", "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 vboot tests only consider rsa for test with global signature.\nTo prepare the integration of test with ecdsa test, the signature\nalgo is now explicit.\n\nSigned-off-by: Philippe Reynes <philippe.reynes@softathome.com>\n---\nv3:\n- initial version\n\n test/py/tests/test_vboot.py | 12 ++++++------\n ...binman-pss.dts => sandbox-binman-rsa2048-pss.dts} | 0\n ...sandbox-binman.dts => sandbox-binman-rsa2048.dts} | 0\n ...pss.dts => sandbox-u-boot-global-rsa2048-pss.dts} | 0\n ...-global.dts => sandbox-u-boot-global-rsa2048.dts} | 0\n 5 files changed, 6 insertions(+), 6 deletions(-)\n rename test/py/tests/vboot/{sandbox-binman-pss.dts => sandbox-binman-rsa2048-pss.dts} (100%)\n rename test/py/tests/vboot/{sandbox-binman.dts => sandbox-binman-rsa2048.dts} (100%)\n rename test/py/tests/vboot/{sandbox-u-boot-global-pss.dts => sandbox-u-boot-global-rsa2048-pss.dts} (100%)\n rename test/py/tests/vboot/{sandbox-u-boot-global.dts => sandbox-u-boot-global-rsa2048.dts} (100%)", "diff": "diff --git a/test/py/tests/test_vboot.py b/test/py/tests/test_vboot.py\nindex 4e4d9529031..22865f653c5 100644\n--- a/test/py/tests/test_vboot.py\n+++ b/test/py/tests/test_vboot.py\n@@ -503,7 +503,7 @@ def test_vboot(ubman, name, sha_algo, sig_algo, padding, sign_options, required,\n dtb)\n run_bootm(sha_algo, 'multi required key', '', False)\n \n- def test_global_sign(sha_algo, padding, sign_options):\n+ def test_global_sign(sha_algo, sig_algo, padding, sign_options):\n \"\"\"Test global image signature with the given hash algorithm and padding.\n \n Args:\n@@ -512,14 +512,14 @@ def test_vboot(ubman, name, sha_algo, sig_algo, padding, sign_options, required,\n rsa signature algorithm.\n \"\"\"\n \n- dtb = '%ssandbox-u-boot-global%s.dtb' % (tmpdir, padding)\n+ dtb = '%ssandbox-u-boot-global%s%s.dtb' % (tmpdir, sig_algo, padding)\n ubman.config.dtb = dtb\n \n # Compile our device tree files for kernel and U-Boot. These are\n # regenerated here since mkimage will modify them (by adding a\n # public key) below.\n dtc('sandbox-kernel.dts', ubman, dtc_args, datadir, tmpdir, dtb)\n- dtc_options('sandbox-u-boot-global%s.dts' % padding, '-p 1024')\n+ dtc_options('sandbox-u-boot-global%s%s.dts' % (sig_algo, padding), '-p 1024')\n \n # Build the FIT with dev key (keys NOT required). This adds the\n # signature into sandbox-u-boot.dtb, NOT marked 'required'.\n@@ -528,11 +528,11 @@ def test_vboot(ubman, name, sha_algo, sig_algo, padding, sign_options, required,\n \n # Build the dtb for binman that define the pre-load header\n # with the global sigature.\n- dtc('sandbox-binman%s.dts' % padding, ubman, dtc_args, datadir, tmpdir, dtb)\n+ dtc('sandbox-binman%s%s.dts' % (sig_algo, padding), ubman, dtc_args, datadir, tmpdir, dtb)\n \n # Run binman to create the final image with the not signed fit\n # and the pre-load header that contains the global signature.\n- run_binman('sandbox-binman%s.dtb' % padding)\n+ run_binman('sandbox-binman%s%s.dtb' % (sig_algo, padding))\n \n # Check that the signature is correctly verified by u-boot\n run_bootm(sha_algo, 'global image signature',\n@@ -582,7 +582,7 @@ def test_vboot(ubman, name, sha_algo, sig_algo, padding, sign_options, required,\n try:\n ubman.config.dtb = dtb\n if global_sign:\n- test_global_sign(sha_algo, padding, sign_options)\n+ test_global_sign(sha_algo, sig_algo, padding, sign_options)\n elif required:\n test_required_key(sha_algo, sig_algo, padding, sign_options)\n else:\ndiff --git a/test/py/tests/vboot/sandbox-binman-pss.dts b/test/py/tests/vboot/sandbox-binman-rsa2048-pss.dts\nsimilarity index 100%\nrename from test/py/tests/vboot/sandbox-binman-pss.dts\nrename to test/py/tests/vboot/sandbox-binman-rsa2048-pss.dts\ndiff --git a/test/py/tests/vboot/sandbox-binman.dts b/test/py/tests/vboot/sandbox-binman-rsa2048.dts\nsimilarity index 100%\nrename from test/py/tests/vboot/sandbox-binman.dts\nrename to test/py/tests/vboot/sandbox-binman-rsa2048.dts\ndiff --git a/test/py/tests/vboot/sandbox-u-boot-global-pss.dts b/test/py/tests/vboot/sandbox-u-boot-global-rsa2048-pss.dts\nsimilarity index 100%\nrename from test/py/tests/vboot/sandbox-u-boot-global-pss.dts\nrename to test/py/tests/vboot/sandbox-u-boot-global-rsa2048-pss.dts\ndiff --git a/test/py/tests/vboot/sandbox-u-boot-global.dts b/test/py/tests/vboot/sandbox-u-boot-global-rsa2048.dts\nsimilarity index 100%\nrename from test/py/tests/vboot/sandbox-u-boot-global.dts\nrename to test/py/tests/vboot/sandbox-u-boot-global-rsa2048.dts\n", "prefixes": [ "v3", "14/15" ] }