From 5358bb2f03202245b64d512c54170982da6ddc27 Mon Sep 17 00:00:00 2001 From: Rasmus Dahlberg Date: Mon, 22 Feb 2021 23:14:15 +0100 Subject: added refactored types --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 66a9d43..24986ad 100644 --- a/README.md +++ b/README.md @@ -145,7 +145,7 @@ opaque NodeHash<32..2^8-1>; struct { Namespace namespace; - opaque signature<0..2^16-1>; + opaque signature<1..2^16-1>; } SignatureV1; ``` @@ -174,7 +174,7 @@ namespace of type `ed25519_v1`. ``` struct { - SignedTreeHeadV1 sth; + SignedTreeHeadV1 signed_tree_head; SignatureV1 cosignatures<0..2^32-1>; // vector of cosignatures } CosignedTreeHeadV1; ``` @@ -189,7 +189,7 @@ and a consistency proof may be empty. ``` struct { - Namespace namespace; // log identifier + Namespace log_id; uint64 tree_size_1; uint64 tree_size_2; NodeHash consistency_path<0..2^16-1>; @@ -205,7 +205,7 @@ There are two modifications: our log identifier is a namespace rather than an and an inclusion proof may be empty. ``` struct { - Namespace namespace; // log identifier + Namespace log_id; uint64 tree_size; uint64 leaf_index; NodeHash inclusion_path<0..2^16-1>; @@ -222,7 +222,7 @@ update](https://wiki.mozilla.org/Security/Binary_Transparency). ``` struct { - ChecksumDataV1 data; + ChecksumV1 data; SignatureV1 signature; } SignedChecksumV1; -- cgit v1.2.3