summaryrefslogtreecommitdiff
path: root/Documentation/ABI
diff options
context:
space:
mode:
authorMarek Behún <marek.behun@nic.cz>2020-06-01 23:00:50 +0200
committerGregory CLEMENT <gregory.clement@bootlin.com>2020-07-18 22:35:27 +0200
commite6e57b663ea13e595f0c1fc310959f4e44dbf601 (patch)
tree722ef4aec79e530d1c29280232375fc35dd87348 /Documentation/ABI
parent50524d787de34300ca9189e63afe13e26d782bea (diff)
firmware: turris-mox-rwtm: add debugfs documentation
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>
Diffstat (limited to 'Documentation/ABI')
-rw-r--r--Documentation/ABI/testing/debugfs-turris-mox-rwtm9
1 files changed, 9 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 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 <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.