From patchwork Mon Jun 1 21:00:50 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Marek_Beh=C3=BAn?= X-Patchwork-Id: 11582663 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D9A9A913 for ; Mon, 1 Jun 2020 21:01:02 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B66702074B for ; Mon, 1 Jun 2020 21:01:02 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="HV10qJl/"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=nic.cz header.i=@nic.cz header.b="PU5nh46R" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B66702074B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nic.cz Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=2gtvaPtk79YRepgJMuZzNqoD6MXZH70TWikpCB6vQP4=; b=HV10qJl/IFg5oT 3mpW6f6o4TVKE3LngOPfpWX+LAUFBWflD0pa1o54HGR4Ipt7prkYnrNkHsznAYQqZXJvUzQaW0tCj BxqNIdRcJml/6z49VKfuBr9OG8wbJo9yWwUs1pEMWUdy0kgRLhbWFjWuBfY+73kwrFrMVMIxtGP7d sBeXVPMgV5WPE1nlnUw/10HU3/vwjy4eLSsDEpraNgdw346tWK2zOVl3oSMFvukxlKF0NpKJEhQXa M5SiKX5AupukC+QUPrBtU/Ro2n6O4ox0f/si4L7dlOaXxXxoiRErPBjoRkowYZFcKcGvvXj7eUlv/ 0hRrwP/WbHSfQLZstKTA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jfrYI-0006Gy-RP; Mon, 01 Jun 2020 21:00:58 +0000 Received: from lists.nic.cz ([2001:1488:800:400::400] helo=mail.nic.cz) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jfrYG-0006G6-E9 for linux-arm-kernel@lists.infradead.org; Mon, 01 Jun 2020 21:00:57 +0000 Received: from dellmb.labs.office.nic.cz (unknown [IPv6:2001:1488:fffe:6:cac7:3539:7f1f:463]) by mail.nic.cz (Postfix) with ESMTP id B845514060C; Mon, 1 Jun 2020 23:00:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nic.cz; s=default; t=1591045251; bh=L64r49HMOmeYZWgNuomHeYbP8IZAKo6IUwrebS2Mo6s=; h=From:To:Date; b=PU5nh46R+nJ7ZXGbc3lMtZlnEv52cZSUzLFW7gBRktX5IkFtTwlbperMD2SzbyHfD 1sV4kzYzCs1XMeQjVz+8mSFLqu0LLswMEkJ59ZmldHVOHbHnrfLm5MOcBM+530AxuR JGK8OEQhL3MYDlxS7ivdl2vHOLeG+j+5vk+LvxFI= From: =?utf-8?q?Marek_Beh=C3=BAn?= To: Gregory CLEMENT Subject: [PATCH mvebu 2/2] firmware: turris-mox-rwtm: add debugfs documentation Date: Mon, 1 Jun 2020 23:00:50 +0200 Message-Id: <20200601210050.31821-2-marek.behun@nic.cz> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200601210050.31821-1-marek.behun@nic.cz> References: <20200601210050.31821-1-marek.behun@nic.cz> MIME-Version: 1.0 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.nic.cz X-Spam-Status: No, score=0.00 X-Spamd-Bar: / X-Virus-Scanned: clamav-milter 0.102.2 at mail X-Virus-Status: Clean X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200601_140056_620166_FAE41216 X-CRM114-Status: UNSURE ( 8.17 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2001:1488:800:400:0:0:0:400 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 SPF_NONE SPF: sender does not publish an SPF Record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: Cc: SoC Team , arm-soc , Linux ARM , =?utf-8?q?Marek_Beh=C3=BA?= =?utf-8?q?n?= Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Add debugfs ABI documentation for the ECDSA signatures. Signed-off-by: Marek BehĂșn --- Documentation/ABI/testing/debugfs-turris-mox-rwtm | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Documentation/ABI/testing/debugfs-turris-mox-rwtm diff --git a/Documentation/ABI/testing/debugfs-turris-mox-rwtm b/Documentation/ABI/testing/debugfs-turris-mox-rwtm new file mode 100644 index 000000000000..2b3255ee68fd --- /dev/null +++ b/Documentation/ABI/testing/debugfs-turris-mox-rwtm @@ -0,0 +1,9 @@ +What: /sys/kernel/debug/turris-mox-rwtm/do_sign +Date: Jun 2020 +KernelVersion: 5.8 +Contact: Marek BehĂșn +Description: (W) Message to sign with the ECDSA private key stored in + device's OTP. The message must be exactly 64 bytes (since + this is intended for SHA-512 hashes). + (R) The resulting signature, 136 bytes. This contains the R and + S values of the ECDSA signature, both in big-endian format.