]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
firmware: turris-mox-rwtm: add debugfs documentation
authorMarek Behún <marek.behun@nic.cz>
Mon, 1 Jun 2020 21:00:50 +0000 (23:00 +0200)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Sat, 18 Jul 2020 20:35:27 +0000 (22:35 +0200)
Add debugfs ABI documentation for the ECDSA signatures.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Documentation/ABI/testing/debugfs-turris-mox-rwtm [new file with mode: 0644]

diff --git a/Documentation/ABI/testing/debugfs-turris-mox-rwtm b/Documentation/ABI/testing/debugfs-turris-mox-rwtm
new file mode 100644 (file)
index 0000000..2b3255e
--- /dev/null
@@ -0,0 +1,9 @@
+What:          /sys/kernel/debug/turris-mox-rwtm/do_sign
+Date:          Jun 2020
+KernelVersion: 5.8
+Contact:       Marek Behún <marek.behun@nic.cz>
+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.