diff mbox series

[mvebu,2/2] firmware: turris-mox-rwtm: add debugfs documentation

Message ID 20200601210050.31821-2-marek.behun@nic.cz (mailing list archive)
State Mainlined
Commit e6e57b663ea13e595f0c1fc310959f4e44dbf601
Headers show
Series [mvebu,1/2] firmware: turris-mox-rwtm: support ECDSA signatures via debugfs | expand

Commit Message

Marek Behún June 1, 2020, 9 p.m. UTC
Add debugfs ABI documentation for the ECDSA signatures.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
---
 Documentation/ABI/testing/debugfs-turris-mox-rwtm | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 Documentation/ABI/testing/debugfs-turris-mox-rwtm

Comments

Gregory CLEMENT July 18, 2020, 8:36 p.m. UTC | #1
Marek Behún <marek.behun@nic.cz> writes:

> Add debugfs ABI documentation for the ECDSA signatures.
>
> Signed-off-by: Marek Behún <marek.behun@nic.cz>

Applied on mvebu/drivers

Thanks,

Gregory
> ---
>  Documentation/ABI/testing/debugfs-turris-mox-rwtm | 9 +++++++++
>  1 file changed, 9 insertions(+)
>  create mode 100644 Documentation/ABI/testing/debugfs-turris-mox-rwtm
>
> 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.
> -- 
> 2.26.2
>
diff mbox series

Patch

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.