From patchwork Thu Oct 19 10:37:59 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 116358 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp331992qgn; Thu, 19 Oct 2017 03:39:13 -0700 (PDT) X-Google-Smtp-Source: ABhQp+SYHgkjt6PDRh3C/tAncUYHKo1jvcVKXyIohOGQWczm9WOKPs9JfUYHUFce+ytvmTbk9kEJ X-Received: by 10.80.169.21 with SMTP id l21mr1840718edc.126.1508409553285; Thu, 19 Oct 2017 03:39:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508409553; cv=none; d=google.com; s=arc-20160816; b=CvSwrFE7QJx0vyqfUdYWkoOCZst0jsitxte81o0xksNfPytT76nHGJ5/okF2uR+1TV QVMyltCRTFKmQdBjSoJo3qpQgjP+On1DxG7qx0LMIkibWzh7luVHPD3oZFRGNwYlXZuy HNKmB5MFpqgEBkcqKqZq0T/c+IaxZKODRdj1NhK6IDNUZRYxkmlkeyl7U6I7xq0F5aPR hNcxdWOOuYsk6UeI5vAgT9rpk1q2IS+I5Tmke/w94pYfYdTj8IJ98n/KRHqd2p3eGhLo skyZMR80GTiqe4U8NL0TpcaTiyGNf7nmNkzHcejt1d1oY/zjOMB0PCz6s8WgyGhN+pkB vUsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:message-id:date:to:from :dkim-signature:dkim-filter:arc-authentication-results; bh=wapaqn/6DdxnQOdSTy/3gdYjwcXKTyoWbLCeRV3Wwa4=; b=Cd2QRp1iuauA1JAHgnxXXZbaduvaWkK4+KV7jetrQo6MXbluiptIm6kenORkNPnWka f+8tAsFWezaW08rnvbWFhIwwwqS2Jmxkr7VroIDlsVb2pw/a9Fl7//bWuF9JwfKasxPt 2n+RJPIT62qlvnni22Prp6Gw96PtUgub7yEGeIaoTzYQ2R8pUsUYu/CX67Xd4/rEP1aN JJ+rGusu8n1Sw9v5IcmP4CL++sQwEIouX1vBGiS7+FRvV/EzZ4D7j2tMEkcrcHTTYPgX TdyJn/cM4qBM9NPtkG3VSKus4VYUTfGUKIFDhes45mwYgJLMKBCky7YjPG+I+gHaUYjr MEuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=lWMghhDr; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id o35si1358367edd.385.2017.10.19.03.39.12; Thu, 19 Oct 2017 03:39:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=lWMghhDr; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id 77A79C21F74; Thu, 19 Oct 2017 10:39:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id B345EC21EC7; Thu, 19 Oct 2017 10:39:08 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 9A3CBC21EC7; Thu, 19 Oct 2017 10:39:07 +0000 (UTC) Received: from conuserg-08.nifty.com (conuserg-08.nifty.com [210.131.2.75]) by lists.denx.de (Postfix) with ESMTPS id 0C78FC21E3E for ; Thu, 19 Oct 2017 10:39:05 +0000 (UTC) Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-08.nifty.com with ESMTP id v9JAc8l9009414; Thu, 19 Oct 2017 19:38:08 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v9JAc8l9009414 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1508409489; bh=a8ALUYQqnPku1Y5n6KxvKa3dgyzjo/EJVk2+BOMjXqQ=; h=From:To:Cc:Subject:Date:From; b=lWMghhDrMQ3KHz2f0vFthonic4rlnrZtkcV2Kl6oz5p+uQk1iIks3ggUOGHBuksHQ 1vknHwjT85zo87ih3AYq/r+rV3WAmnX+X088mFdoweTNG2IqiUbJACDKolUTd84pKh QX2riCfZtGYCiqvOi6rpY2w6XL7ff3R9JXUV4f8Cb5F1/Ib/bJtIG47fgwF6pOvQZB B7/2cPr7tclWxx7g78CYDmsxvDA9fqvQoWMkDNnbqjGRrjBuNBZjpAtufwwfwhEykR JvmqGSV2u4kPzsUKbZ3Wmd6v+RbOgh89zNZs7FIgxn7xHZy0X7z61s6Ylxl2Hx+W6h bX2SmM45E2KLg== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Thu, 19 Oct 2017 19:37:59 +0900 Message-Id: <1508409479-15021-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Cc: Tom Rini Subject: [U-Boot] [PATCH] doc: verified-boot: fix crypto algorithm examples X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" As you see in crypto_algos in common/image-sig.c, the algorithm should be either "rsa2048" or "rsa4096". "rs2048" is a typo. Signed-off-by: Masahiro Yamada Reviewed-by: Simon Glass --- doc/uImage.FIT/signature.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/uImage.FIT/signature.txt b/doc/uImage.FIT/signature.txt index a57cdab..2ece4c4 100644 --- a/doc/uImage.FIT/signature.txt +++ b/doc/uImage.FIT/signature.txt @@ -85,7 +85,7 @@ allow the signer to operate. These should be added to the .its file. Signature nodes sit at the same level as hash nodes and are called signature@1, signature@2, etc. -- algo: Algorithm name (e.g. "sha1,rs2048") +- algo: Algorithm name (e.g. "sha1,rsa2048") - key-name-hint: Name of key to use for signing. The keys will normally be in a single directory (parameter -k to mkimage). For a given key , its @@ -139,7 +139,7 @@ public key in U-Boot's control FDT (using CONFIG_OF_CONTROL). Public keys should be stored as sub-nodes in a /signature node. Required properties are: -- algo: Algorithm name (e.g. "sha1,rs2048") +- algo: Algorithm name (e.g. "sha1,rsa2048") Optional properties are: