xref: /linux/Documentation/ABI/testing/debugfs-turris-mox-rwtm (revision 818b26588994d9d95743fca0a427f08ec6c1c41d)
1e6e57b66SMarek BehúnWhat:		/sys/kernel/debug/turris-mox-rwtm/do_sign
2e6e57b66SMarek BehúnDate:		Jun 2020
3e6e57b66SMarek BehúnKernelVersion:	5.8
4*b37c3848SMarek BehúnContact:	Marek Behún <kabel@kernel.org>
554a19b4dSMauro Carvalho ChehabDescription:
654a19b4dSMauro Carvalho Chehab
74119f0dfSMauro Carvalho Chehab		======= ===========================================================
84119f0dfSMauro Carvalho Chehab		(Write) Message to sign with the ECDSA private key stored in
94119f0dfSMauro Carvalho Chehab		        device's OTP. The message must be exactly 64 bytes
104119f0dfSMauro Carvalho Chehab		        (since this is intended for SHA-512 hashes).
114119f0dfSMauro Carvalho Chehab		(Read)  The resulting signature, 136 bytes. This contains the
124119f0dfSMauro Carvalho Chehab			R and S values of the ECDSA signature, both in
134119f0dfSMauro Carvalho Chehab			big-endian format.
144119f0dfSMauro Carvalho Chehab		======= ===========================================================
15