Back to home page

OSCL-LXR

 
 

    


0001 What:           /sys/kernel/debug/turris-mox-rwtm/do_sign
0002 Date:           Jun 2020
0003 KernelVersion:  5.8
0004 Contact:        Marek BehĂșn <kabel@kernel.org>
0005 Description:
0006 
0007                 ======= ===========================================================
0008                 (Write) Message to sign with the ECDSA private key stored in
0009                         device's OTP. The message must be exactly 64 bytes
0010                         (since this is intended for SHA-512 hashes).
0011                 (Read)  The resulting signature, 136 bytes. This contains the
0012                         R and S values of the ECDSA signature, both in
0013                         big-endian format.
0014                 ======= ===========================================================