xref: /OK3568_Linux_fs/kernel/Documentation/ABI/testing/debugfs-turris-mox-rwtm (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunWhat:		/sys/kernel/debug/turris-mox-rwtm/do_sign
2*4882a593SmuzhiyunDate:		Jun 2020
3*4882a593SmuzhiyunKernelVersion:	5.8
4*4882a593SmuzhiyunContact:	Marek Behún <marek.behun@nic.cz>
5*4882a593SmuzhiyunDescription:
6*4882a593Smuzhiyun
7*4882a593Smuzhiyun		======= ===========================================================
8*4882a593Smuzhiyun		(Write) Message to sign with the ECDSA private key stored in
9*4882a593Smuzhiyun		        device's OTP. The message must be exactly 64 bytes
10*4882a593Smuzhiyun		        (since this is intended for SHA-512 hashes).
11*4882a593Smuzhiyun		(Read)  The resulting signature, 136 bytes. This contains the
12*4882a593Smuzhiyun			R and S values of the ECDSA signature, both in
13*4882a593Smuzhiyun			big-endian format.
14*4882a593Smuzhiyun		======= ===========================================================
15