Skip to content

Commit e6e57b6

Browse files
elkablogclement
authored andcommitted
firmware: turris-mox-rwtm: add debugfs documentation
Add debugfs ABI documentation for the ECDSA signatures. Signed-off-by: Marek Behún <[email protected]> Signed-off-by: Gregory CLEMENT <[email protected]>
1 parent 50524d7 commit e6e57b6

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
What: /sys/kernel/debug/turris-mox-rwtm/do_sign
2+
Date: Jun 2020
3+
KernelVersion: 5.8
4+
Contact: Marek Behún <[email protected]>
5+
Description: (W) Message to sign with the ECDSA private key stored in
6+
device's OTP. The message must be exactly 64 bytes (since
7+
this is intended for SHA-512 hashes).
8+
(R) The resulting signature, 136 bytes. This contains the R and
9+
S values of the ECDSA signature, both in big-endian format.

0 commit comments

Comments
 (0)