Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.2/patches/2225961/?format=api
{ "id": 2225961, "url": "http://patchwork.ozlabs.org/api/1.2/patches/2225961/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260421210954.1170437-9-philippe.reynes@softathome.com/", "project": { "id": 18, "url": "http://patchwork.ozlabs.org/api/1.2/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": "<20260421210954.1170437-9-philippe.reynes@softathome.com>", "list_archive_url": null, "date": "2026-04-21T21:09:47", "name": "[v5,08/15] test: vboot: add test for ecdsa", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "5454ff298b038b0cb0684f2a72e248b1e822c61c", "submitter": { "id": 74351, "url": "http://patchwork.ozlabs.org/api/1.2/people/74351/?format=api", "name": "Philippe Reynes", "email": "philippe.reynes@softathome.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260421210954.1170437-9-philippe.reynes@softathome.com/mbox/", "series": [ { "id": 500895, "url": "http://patchwork.ozlabs.org/api/1.2/series/500895/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=500895", "date": "2026-04-21T21:09:51", "name": "add software ecdsa support", "version": 5, "mbox": "http://patchwork.ozlabs.org/series/500895/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2225961/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2225961/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=Q9nWOGiQ;\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=\"Q9nWOGiQ\";\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)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g0Zn44WrPz1yGs\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 22 Apr 2026 07:12:24 +1000 (AEST)", "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id E01BE84326;\n\tTue, 21 Apr 2026 23:10:31 +0200 (CEST)", "by phobos.denx.de (Postfix, from userid 109)\n id DED8A839D5; Tue, 21 Apr 2026 23:10:23 +0200 (CEST)", "from MRZP264CU002.outbound.protection.outlook.com\n (mail-francesouthazlp170100001.outbound.protection.outlook.com\n [IPv6:2a01:111:f403:c207::1])\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 12BD3842A4\n for <u-boot@lists.denx.de>; Tue, 21 Apr 2026 23:10:02 +0200 (CEST)", "from PA7P264CA0286.FRAP264.PROD.OUTLOOK.COM (2603:10a6:102:370::13)\n by MR1P264MB2786.FRAP264.PROD.OUTLOOK.COM (2603:10a6:501:37::7) with\n Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9818.32; Tue, 21 Apr\n 2026 21:09:57 +0000", "from PA2PEPF00019233.FRAP264.PROD.OUTLOOK.COM\n (2603:10a6:102:370:cafe::cc) by PA7P264CA0286.outlook.office365.com\n (2603:10a6:102:370::13) with Microsoft SMTP Server (version=TLS1_3,\n cipher=TLS_AES_256_GCM_SHA384) id 15.20.9791.48 via Frontend Transport; Tue,\n 21 Apr 2026 21:09:57 +0000", "from proxy.softathome.com (149.6.166.170) by\n PA2PEPF00019233.mail.protection.outlook.com (10.167.242.39) with Microsoft\n SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9846.18\n via Frontend Transport; Tue, 21 Apr 2026 21:09:57 +0000", "from sah1lpt726.softathome.com (unknown [192.168.72.32])\n by proxy.softathome.com (Postfix) with ESMTPSA id 890CA1FFF1;\n Tue, 21 Apr 2026 23:09:57 +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=g0boIlx42IEM47XhnhFqUgQskwheJrRrJHNjiWdVB8xTB0W7VwZRzXnK20DwYbdCxX7wafGekdHDPtYvzzSFBQbu44f8vPVyB+DrDD2PeKw2eowYCGXCDBYbMAMQ+vr6KEIdOfMkKEVibbay/LhDGN3fmmqFoedh3qyt0AV5+wZFuMelE/Xcn7ucwzAKZPIlnYBfrSmnrEKV4uHt3Jg5+KhwmJ0QSPW3I6NlA1u8lYwyXCxdo/oXOslYHsoVyYnLaHefPaEgFnlDjprnQJtymkCfRw5CaQARQW1Fgiyv6pW6km+4Wj0aZnsov3BMXxqjBVWA1mmBC8a48U7O5p9OZQ==", "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=yJT6iwwgLuUe0ntZpJjsU8gjPEQfvhlqP4SShduSKdU=;\n b=lmVlhk/tVeFOBAhMmhaxWIWE6esxeBUoMdzvayQdvrIGshXmywATUj3pO0vZvkM7gv/oFlYi8H8p0moB4skRRpAEzr7kJ1BjOFUVt4eCCS5eNXGCx2vaVA7+F7DLdpvoGe8yBf5W8aEfuLrRWteZclXHf0z8sinpZokDrHGrCWchizpu8nVIaKYpmoS47E2N+vjSbFomPEr6v+cE4srsa3sVAFBlOJFAFmMZODMPVp8yoyNL4ByK9LuN4YjOLmn8knHePlYm0tiB2r8/+erJ+/hmflvs8FzlEBGFXIEDkI8MhvLxjKWRSFgRCj4VD88agM59kLNpjBl7eZGUd5pQQw==", "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=yJT6iwwgLuUe0ntZpJjsU8gjPEQfvhlqP4SShduSKdU=;\n b=Q9nWOGiQL+RJ5f65Vkd0j5NZ71qev+a2q4Dacu9xNzh3VnD7M++9T7QhoMBF1wYAfIritSzORWDpW1PU4IkECyOd5d/Jw4HAEYPNeyT0HO2Py+jMCKWtpye5vwUkZFad233nkxCzeCZtqXVgz0NIOq9zEBgvqPxmT8TDJ9qBgnZ/s5vbz8H7FdQLOT07th1UYd+pC/4xkOXg+HeLgWdkEwRY9p7jdCn7mHiJZhC9/oIdQ8lwpLB6CRabl62IfyC3cv0GdnlRhT8VJzjlnpeEtYAqF8PJpjRJyXqjbEvrvnn0XY4jkGgm/WNh8XadtBm5yWouFphoqJLa9P7IYhsBTw==", "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, Philippe Reynes <philippe.reynes@softathome.com>,\n Simon Glass <sjg@chromium.org>", "Subject": "[PATCH v5 08/15] test: vboot: add test for ecdsa", "Date": "Tue, 21 Apr 2026 23:09:47 +0200", "Message-ID": "<20260421210954.1170437-9-philippe.reynes@softathome.com>", "X-Mailer": "git-send-email 2.43.0", "In-Reply-To": "<20260421210954.1170437-1-philippe.reynes@softathome.com>", "References": "<20260421210954.1170437-1-philippe.reynes@softathome.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-EOPAttributedMessage": "0", "X-MS-PublicTrafficType": "Email", "X-MS-TrafficTypeDiagnostic": "PA2PEPF00019233:EE_|MR1P264MB2786:EE_", "Content-Type": "text/plain", "X-MS-Office365-Filtering-Correlation-Id": "a6020129-aaf1-4777-ff4f-08de9fea57cc", "X-MS-Exchange-SenderADCheck": "1", "X-MS-Exchange-AntiSpam-Relay": "0", "X-Microsoft-Antispam": "BCL:0;\n ARA:13230040|376014|36860700016|1800799024|82310400026|18002099003|22082099003|56012099003;", "X-Microsoft-Antispam-Message-Info": "\n YaEJbs1iH48IB+weNe/DLbmpwFmd6DR7P3VUoZRyQus6SQejwDMZKOZWOMFLCTAUhkKSuBOJ2tUsSXJ6WSdolFblbGaiwdXVC7cHgVgKJpxjuAJnlws4JEOvG9IZCBJANyh06Qj9NYTlUg4g8s+4smgXqnYb7Vd/sAMSl4j1U0QHbwwb8ePQV6W2qB2NA+/yXgsWFmBIv+nlBAOTb9ZlpikFl5fk/INiPI0tOvhi8pJmqYhoTlO/jF6pM1W0Orm8tiKQR2c7TAsKYDy6afkBx+h4Hcq14TELviQ81KgXfk3VCrvNcXeSVMGX1Qn2ECG5S4U1S+HzFdwGQp1ZiAAukRGI6yBd5nIEDnV/76T5aBnDa584PMsLC0ewJqy+3MYgqylK9Xt2dHOj7ru7Kv0Pha6IQfibTdOFx5ti9TtU7yu9g9gBuev/ULU2tQB2OMqreJ4JhiTp5UQREBnkFJEVYekrRao2cCWG3JogBE+k5qbgqGPcMfNwFyrD13mioUAIrX/P0sVQYqQxWlUWx5f8XFSB/+pfdk6fSU/lD6WYDeJ/MmCbcv3ar9uWFueOXYZxJ0+aRv58Wce4mIrprUC0mjMs/lFgkjx7OpWRrD/QP+kjYsFMCIcQVnrcMmVlD4WU2WbFwnGBxlORDrHrnWKv6d1tNnCQ1BosSaH6/2vJaVC0Ch+9+gSk4mRM6P4abPqJ38XZkp49htTdkHTFNhiZrmPDh1/eHxPl0VYkI4W7rk4yYiCNI98HbJZJQBkl3Puvd0QPB3MS23SMm2/3LYckDA==", "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)(18002099003)(22082099003)(56012099003);\n DIR:OUT; SFP:1101;", "X-MS-Exchange-AntiSpam-MessageData-ChunkCount": "1", "X-MS-Exchange-AntiSpam-MessageData-0": "\n POuwu8k4ZbsDOon/h7UJhOYj7sVedUy16eWKbm+biZy1rSW7hzhDtU1Rp+yeyg2xbu8RzSloE06pYGd3cKhfidk4y/DuUUX39MpEUbn4T6D4JnkdVppEwV8BI5ZIurLAjxWYCLB/ifmFrM8LnUcUmVlr9VPjZ7vvfwN02/aNFRLNtytHs60uDUGNmXJcQ9ZNY4cbmxIipfKegPgF39CqNXZKlrTc2mVOZMVn19Kv4n41Vesdq/MRCCk6AsUTW6lX7YscAWBGe+ZW3WVp6j+43RvEdUMg8JIw+bPE5Do4SetT2rjVR+oNoYb9rYy2B6sIhSBYLzdCkSLDZcPPmxTZEh5W9N98VGGQNYRU6gzX/f7qYCM810R/ePZ669lM2k7eyYpMAd1lo2PQAz0jUsPMAoOL12FPwaVdbZ5Y3/8TpwZC3qvBGirNVhBaJzKG0mT6", "X-OriginatorOrg": "softathome.com", "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "21 Apr 2026 21:09:57.6932 (UTC)", "X-MS-Exchange-CrossTenant-Network-Message-Id": "\n a6020129-aaf1-4777-ff4f-08de9fea57cc", "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": "PA2PEPF00019233.FRAP264.PROD.OUTLOOK.COM", "X-MS-Exchange-CrossTenant-AuthAs": "Anonymous", "X-MS-Exchange-CrossTenant-FromEntityHeader": "HybridOnPrem", "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "MR1P264MB2786", "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": "This commit adds test case for ecdsa on fit, but not (yet) for\nthe global image signature (preload).\n\nReviewed-by: Simon Glass <simon.glass@canonical.com>\nReviewed-by: Simon Glass <sjg@chromium.org>\nSigned-off-by: Philippe Reynes <philippe.reynes@softathome.com>\n---\nv2:\n- initial version\nv3:\n- no change\nv4:\n- no change\nv5:\n- no change\n\n test/py/tests/test_vboot.py | 29 ++++++++++++\n .../vboot/sign-configs-sha256-ecdsa256.its | 45 +++++++++++++++++++\n .../vboot/sign-configs-sha256-ecdsa384.its | 45 +++++++++++++++++++\n .../vboot/sign-configs-sha256-ecdsa521.its | 45 +++++++++++++++++++\n .../vboot/sign-images-sha256-ecdsa256.its | 42 +++++++++++++++++\n .../vboot/sign-images-sha256-ecdsa384.its | 42 +++++++++++++++++\n .../vboot/sign-images-sha256-ecdsa521.its | 42 +++++++++++++++++\n 7 files changed, 290 insertions(+)\n create mode 100644 test/py/tests/vboot/sign-configs-sha256-ecdsa256.its\n create mode 100644 test/py/tests/vboot/sign-configs-sha256-ecdsa384.its\n create mode 100644 test/py/tests/vboot/sign-configs-sha256-ecdsa521.its\n create mode 100644 test/py/tests/vboot/sign-images-sha256-ecdsa256.its\n create mode 100644 test/py/tests/vboot/sign-images-sha256-ecdsa384.its\n create mode 100644 test/py/tests/vboot/sign-images-sha256-ecdsa521.its", "diff": "diff --git a/test/py/tests/test_vboot.py b/test/py/tests/test_vboot.py\nindex 496d314c649..4e4d9529031 100644\n--- a/test/py/tests/test_vboot.py\n+++ b/test/py/tests/test_vboot.py\n@@ -94,6 +94,9 @@ TESTDATA_IN = [\n ['sha256-pss-pad', 'sha256', '-rsa2048', '-pss', '-E -p 0x10000', False, False, False, False],\n ['sha256-pss-required', 'sha256', '-rsa2048', '-pss', None, True, False, False, False],\n ['sha256-pss-pad-required', 'sha256', '-rsa2048', '-pss', '-E -p 0x10000', True, True, False, False],\n+ ['sha256-basic-ecdsa256', 'sha256', '-ecdsa256', '', None, False, False, False, False],\n+ ['sha256-basic-ecdsa384', 'sha256', '-ecdsa384', '', None, False, False, False, False],\n+ ['sha256-basic-ecdsa521', 'sha256', '-ecdsa521', '', None, False, False, False, False],\n ['sha384-basic', 'sha384', '-rsa3072', '', None, False, False, False, False],\n ['sha384-pad', 'sha384', '-rsa3072', '', '-E -p 0x10000', False, False, False, False],\n ['algo-arg', 'algo-arg', '', '', '-o sha256,rsa2048', False, False, True, False],\n@@ -287,6 +290,29 @@ def test_vboot(ubman, name, sha_algo, sig_algo, padding, sign_options, required,\n utils.run_and_log(ubman, 'openssl req -batch -new -x509 -key %s%s.key '\n '-out %s%s.crt' % (tmpdir, name, tmpdir, name))\n \n+ def create_ecdsa_pair(name):\n+ \"\"\"Generate a new ECDSA key pair\n+\n+ Args:\n+ name: Name of the key (e.g. 'dev')\n+ \"\"\"\n+\n+ if sig_algo == \"-ecdsa256\":\n+ curve_name = \"secp256r1\"\n+ elif sig_algo == \"-ecdsa384\":\n+ curve_name = \"secp384r1\"\n+ elif sig_algo == \"-ecdsa521\":\n+ curve_name = \"secp521r1\"\n+ else:\n+ curve_name = \"unknownCurve\"\n+\n+ utils.run_and_log(ubman, 'openssl ecparam -name %s -genkey -noout -out %s%s.pem' %\n+ (curve_name, tmpdir, name))\n+\n+ # Create a certificate containing the public key\n+ utils.run_and_log(ubman, 'openssl req -batch -new -x509 -key %s%s.pem '\n+ '-out %s%s.crt' % (tmpdir, name, tmpdir, name))\n+\n def test_with_algo(sha_algo, sig_algo, padding, sign_options):\n \"\"\"Test verified boot with the given hash algorithm.\n \n@@ -537,6 +563,9 @@ def test_vboot(ubman, name, sha_algo, sig_algo, padding, sign_options, required,\n if sig_algo == \"-rsa2048\" or sig_algo == \"-rsa3072\" or sig_algo == \"\":\n create_rsa_pair('dev')\n create_rsa_pair('prod')\n+ elif sig_algo == \"-ecdsa256\" or sig_algo == \"-ecdsa384\" or sig_algo == \"-ecdsa521\":\n+ create_ecdsa_pair('dev')\n+ create_ecdsa_pair('prod')\n \n # Create a number kernel image with zeroes\n with open('%stest-kernel.bin' % tmpdir, 'wb') as fd:\ndiff --git a/test/py/tests/vboot/sign-configs-sha256-ecdsa256.its b/test/py/tests/vboot/sign-configs-sha256-ecdsa256.its\nnew file mode 100644\nindex 00000000000..4d0ef903a78\n--- /dev/null\n+++ b/test/py/tests/vboot/sign-configs-sha256-ecdsa256.its\n@@ -0,0 +1,45 @@\n+/dts-v1/;\n+\n+/ {\n+\tdescription = \"Chrome OS kernel image with one or more FDT blobs\";\n+\t#address-cells = <1>;\n+\n+\timages {\n+\t\tkernel {\n+\t\t\tdata = /incbin/(\"test-kernel.bin\");\n+\t\t\ttype = \"kernel_noload\";\n+\t\t\tarch = \"sandbox\";\n+\t\t\tos = \"linux\";\n+\t\t\tcompression = \"none\";\n+\t\t\tload = <0x4>;\n+\t\t\tentry = <0x8>;\n+\t\t\tkernel-version = <1>;\n+\t\t\thash-1 {\n+\t\t\t\talgo = \"sha256\";\n+\t\t\t};\n+\t\t};\n+\t\tfdt-1 {\n+\t\t\tdescription = \"snow\";\n+\t\t\tdata = /incbin/(\"sandbox-kernel.dtb\");\n+\t\t\ttype = \"flat_dt\";\n+\t\t\tarch = \"sandbox\";\n+\t\t\tcompression = \"none\";\n+\t\t\tfdt-version = <1>;\n+\t\t\thash-1 {\n+\t\t\t\talgo = \"sha256\";\n+\t\t\t};\n+\t\t};\n+\t};\n+\tconfigurations {\n+\t\tdefault = \"conf-1\";\n+\t\tconf-1 {\n+\t\t\tkernel = \"kernel\";\n+\t\t\tfdt = \"fdt-1\";\n+\t\t\tsignature {\n+\t\t\t\talgo = \"sha256,ecdsa256\";\n+\t\t\t\tkey-name-hint = \"dev\";\n+\t\t\t\tsign-images = \"fdt\", \"kernel\";\n+\t\t\t};\n+\t\t};\n+\t};\n+};\ndiff --git a/test/py/tests/vboot/sign-configs-sha256-ecdsa384.its b/test/py/tests/vboot/sign-configs-sha256-ecdsa384.its\nnew file mode 100644\nindex 00000000000..10427b43659\n--- /dev/null\n+++ b/test/py/tests/vboot/sign-configs-sha256-ecdsa384.its\n@@ -0,0 +1,45 @@\n+/dts-v1/;\n+\n+/ {\n+\tdescription = \"Chrome OS kernel image with one or more FDT blobs\";\n+\t#address-cells = <1>;\n+\n+\timages {\n+\t\tkernel {\n+\t\t\tdata = /incbin/(\"test-kernel.bin\");\n+\t\t\ttype = \"kernel_noload\";\n+\t\t\tarch = \"sandbox\";\n+\t\t\tos = \"linux\";\n+\t\t\tcompression = \"none\";\n+\t\t\tload = <0x4>;\n+\t\t\tentry = <0x8>;\n+\t\t\tkernel-version = <1>;\n+\t\t\thash-1 {\n+\t\t\t\talgo = \"sha256\";\n+\t\t\t};\n+\t\t};\n+\t\tfdt-1 {\n+\t\t\tdescription = \"snow\";\n+\t\t\tdata = /incbin/(\"sandbox-kernel.dtb\");\n+\t\t\ttype = \"flat_dt\";\n+\t\t\tarch = \"sandbox\";\n+\t\t\tcompression = \"none\";\n+\t\t\tfdt-version = <1>;\n+\t\t\thash-1 {\n+\t\t\t\talgo = \"sha256\";\n+\t\t\t};\n+\t\t};\n+\t};\n+\tconfigurations {\n+\t\tdefault = \"conf-1\";\n+\t\tconf-1 {\n+\t\t\tkernel = \"kernel\";\n+\t\t\tfdt = \"fdt-1\";\n+\t\t\tsignature {\n+\t\t\t\talgo = \"sha256,ecdsa384\";\n+\t\t\t\tkey-name-hint = \"dev\";\n+\t\t\t\tsign-images = \"fdt\", \"kernel\";\n+\t\t\t};\n+\t\t};\n+\t};\n+};\ndiff --git a/test/py/tests/vboot/sign-configs-sha256-ecdsa521.its b/test/py/tests/vboot/sign-configs-sha256-ecdsa521.its\nnew file mode 100644\nindex 00000000000..a65593ec64b\n--- /dev/null\n+++ b/test/py/tests/vboot/sign-configs-sha256-ecdsa521.its\n@@ -0,0 +1,45 @@\n+/dts-v1/;\n+\n+/ {\n+\tdescription = \"Chrome OS kernel image with one or more FDT blobs\";\n+\t#address-cells = <1>;\n+\n+\timages {\n+\t\tkernel {\n+\t\t\tdata = /incbin/(\"test-kernel.bin\");\n+\t\t\ttype = \"kernel_noload\";\n+\t\t\tarch = \"sandbox\";\n+\t\t\tos = \"linux\";\n+\t\t\tcompression = \"none\";\n+\t\t\tload = <0x4>;\n+\t\t\tentry = <0x8>;\n+\t\t\tkernel-version = <1>;\n+\t\t\thash-1 {\n+\t\t\t\talgo = \"sha256\";\n+\t\t\t};\n+\t\t};\n+\t\tfdt-1 {\n+\t\t\tdescription = \"snow\";\n+\t\t\tdata = /incbin/(\"sandbox-kernel.dtb\");\n+\t\t\ttype = \"flat_dt\";\n+\t\t\tarch = \"sandbox\";\n+\t\t\tcompression = \"none\";\n+\t\t\tfdt-version = <1>;\n+\t\t\thash-1 {\n+\t\t\t\talgo = \"sha256\";\n+\t\t\t};\n+\t\t};\n+\t};\n+\tconfigurations {\n+\t\tdefault = \"conf-1\";\n+\t\tconf-1 {\n+\t\t\tkernel = \"kernel\";\n+\t\t\tfdt = \"fdt-1\";\n+\t\t\tsignature {\n+\t\t\t\talgo = \"sha256,ecdsa521\";\n+\t\t\t\tkey-name-hint = \"dev\";\n+\t\t\t\tsign-images = \"fdt\", \"kernel\";\n+\t\t\t};\n+\t\t};\n+\t};\n+};\ndiff --git a/test/py/tests/vboot/sign-images-sha256-ecdsa256.its b/test/py/tests/vboot/sign-images-sha256-ecdsa256.its\nnew file mode 100644\nindex 00000000000..009003bb601\n--- /dev/null\n+++ b/test/py/tests/vboot/sign-images-sha256-ecdsa256.its\n@@ -0,0 +1,42 @@\n+/dts-v1/;\n+\n+/ {\n+\tdescription = \"Chrome OS kernel image with one or more FDT blobs\";\n+\t#address-cells = <1>;\n+\n+\timages {\n+\t\tkernel {\n+\t\t\tdata = /incbin/(\"test-kernel.bin\");\n+\t\t\ttype = \"kernel_noload\";\n+\t\t\tarch = \"sandbox\";\n+\t\t\tos = \"linux\";\n+\t\t\tcompression = \"none\";\n+\t\t\tload = <0x4>;\n+\t\t\tentry = <0x8>;\n+\t\t\tkernel-version = <1>;\n+\t\t\tsignature {\n+\t\t\t\talgo = \"sha256,ecdsa256\";\n+\t\t\t\tkey-name-hint = \"dev\";\n+\t\t\t};\n+\t\t};\n+\t\tfdt-1 {\n+\t\t\tdescription = \"snow\";\n+\t\t\tdata = /incbin/(\"sandbox-kernel.dtb\");\n+\t\t\ttype = \"flat_dt\";\n+\t\t\tarch = \"sandbox\";\n+\t\t\tcompression = \"none\";\n+\t\t\tfdt-version = <1>;\n+\t\t\tsignature {\n+\t\t\t\talgo = \"sha256,ecdsa256\";\n+\t\t\t\tkey-name-hint = \"dev\";\n+\t\t\t};\n+\t\t};\n+\t};\n+\tconfigurations {\n+\t\tdefault = \"conf-1\";\n+\t\tconf-1 {\n+\t\t\tkernel = \"kernel\";\n+\t\t\tfdt = \"fdt-1\";\n+\t\t};\n+\t};\n+};\ndiff --git a/test/py/tests/vboot/sign-images-sha256-ecdsa384.its b/test/py/tests/vboot/sign-images-sha256-ecdsa384.its\nnew file mode 100644\nindex 00000000000..567de687a06\n--- /dev/null\n+++ b/test/py/tests/vboot/sign-images-sha256-ecdsa384.its\n@@ -0,0 +1,42 @@\n+/dts-v1/;\n+\n+/ {\n+\tdescription = \"Chrome OS kernel image with one or more FDT blobs\";\n+\t#address-cells = <1>;\n+\n+\timages {\n+\t\tkernel {\n+\t\t\tdata = /incbin/(\"test-kernel.bin\");\n+\t\t\ttype = \"kernel_noload\";\n+\t\t\tarch = \"sandbox\";\n+\t\t\tos = \"linux\";\n+\t\t\tcompression = \"none\";\n+\t\t\tload = <0x4>;\n+\t\t\tentry = <0x8>;\n+\t\t\tkernel-version = <1>;\n+\t\t\tsignature {\n+\t\t\t\talgo = \"sha256,ecdsa384\";\n+\t\t\t\tkey-name-hint = \"dev\";\n+\t\t\t};\n+\t\t};\n+\t\tfdt-1 {\n+\t\t\tdescription = \"snow\";\n+\t\t\tdata = /incbin/(\"sandbox-kernel.dtb\");\n+\t\t\ttype = \"flat_dt\";\n+\t\t\tarch = \"sandbox\";\n+\t\t\tcompression = \"none\";\n+\t\t\tfdt-version = <1>;\n+\t\t\tsignature {\n+\t\t\t\talgo = \"sha256,ecdsa384\";\n+\t\t\t\tkey-name-hint = \"dev\";\n+\t\t\t};\n+\t\t};\n+\t};\n+\tconfigurations {\n+\t\tdefault = \"conf-1\";\n+\t\tconf-1 {\n+\t\t\tkernel = \"kernel\";\n+\t\t\tfdt = \"fdt-1\";\n+\t\t};\n+\t};\n+};\ndiff --git a/test/py/tests/vboot/sign-images-sha256-ecdsa521.its b/test/py/tests/vboot/sign-images-sha256-ecdsa521.its\nnew file mode 100644\nindex 00000000000..74ed45b21b8\n--- /dev/null\n+++ b/test/py/tests/vboot/sign-images-sha256-ecdsa521.its\n@@ -0,0 +1,42 @@\n+/dts-v1/;\n+\n+/ {\n+\tdescription = \"Chrome OS kernel image with one or more FDT blobs\";\n+\t#address-cells = <1>;\n+\n+\timages {\n+\t\tkernel {\n+\t\t\tdata = /incbin/(\"test-kernel.bin\");\n+\t\t\ttype = \"kernel_noload\";\n+\t\t\tarch = \"sandbox\";\n+\t\t\tos = \"linux\";\n+\t\t\tcompression = \"none\";\n+\t\t\tload = <0x4>;\n+\t\t\tentry = <0x8>;\n+\t\t\tkernel-version = <1>;\n+\t\t\tsignature {\n+\t\t\t\talgo = \"sha256,ecdsa521\";\n+\t\t\t\tkey-name-hint = \"dev\";\n+\t\t\t};\n+\t\t};\n+\t\tfdt-1 {\n+\t\t\tdescription = \"snow\";\n+\t\t\tdata = /incbin/(\"sandbox-kernel.dtb\");\n+\t\t\ttype = \"flat_dt\";\n+\t\t\tarch = \"sandbox\";\n+\t\t\tcompression = \"none\";\n+\t\t\tfdt-version = <1>;\n+\t\t\tsignature {\n+\t\t\t\talgo = \"sha256,ecdsa521\";\n+\t\t\t\tkey-name-hint = \"dev\";\n+\t\t\t};\n+\t\t};\n+\t};\n+\tconfigurations {\n+\t\tdefault = \"conf-1\";\n+\t\tconf-1 {\n+\t\t\tkernel = \"kernel\";\n+\t\t\tfdt = \"fdt-1\";\n+\t\t};\n+\t};\n+};\n", "prefixes": [ "v5", "08/15" ] }