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: 11582661 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 4554A14F6 for ; Mon, 1 Jun 2020 21:00:54 +0000 (UTC) Received: by mail.kernel.org (Postfix) id 2F27720776; Mon, 1 Jun 2020 21:00:54 +0000 (UTC) Delivered-To: soc@kernel.org Received: from mail.nic.cz (mail.nic.cz [217.31.204.67]) (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 6531920734; Mon, 1 Jun 2020 21:00:53 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=nic.cz header.i=@nic.cz header.b="PU5nh46R" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6531920734 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nic.cz Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=marek.behun@nic.cz 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 List-Id: Cc: Linux ARM , arm-soc , SoC Team , =?utf-8?q?Marek_Beh?= =?utf-8?q?=C3=BAn?= 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 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.