aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus.dahlberg@kau.se>2021-02-22 23:14:15 +0100
committerRasmus Dahlberg <rasmus.dahlberg@kau.se>2021-02-22 23:14:15 +0100
commit5358bb2f03202245b64d512c54170982da6ddc27 (patch)
tree6c4ed6e4a1ba77e833a7038dbf6d7025604d1bef /README.md
parentb72a6f93c2c71ee6f952f48c02c1cae1587e3ea3 (diff)
added refactored types
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 5 insertions, 5 deletions
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;