summaryrefslogtreecommitdiffstats
path: root/Documentation/ABI/testing/debugfs-turris-mox-rwtm
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/ABI/testing/debugfs-turris-mox-rwtm')
-rw-r--r--Documentation/ABI/testing/debugfs-turris-mox-rwtm14
1 files changed, 14 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/debugfs-turris-mox-rwtm b/Documentation/ABI/testing/debugfs-turris-mox-rwtm
new file mode 100644
index 0000000000..813987d5de
--- /dev/null
+++ b/Documentation/ABI/testing/debugfs-turris-mox-rwtm
@@ -0,0 +1,14 @@
+What: /sys/kernel/debug/turris-mox-rwtm/do_sign
+Date: Jun 2020
+KernelVersion: 5.8
+Contact: Marek BehĂșn <kabel@kernel.org>
+Description:
+
+ ======= ===========================================================
+ (Write) 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).
+ (Read) The resulting signature, 136 bytes. This contains the
+ R and S values of the ECDSA signature, both in
+ big-endian format.
+ ======= ===========================================================