aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpukkamustard <pukkamustard@posteo.net>2021-09-12 09:06:06 +0200
committerpukkamustard <pukkamustard@posteo.net>2021-09-12 11:47:08 +0200
commit42c1815737cdb4f768c507a95add15faa065fbca (patch)
tree6cac64ff366d412d58a9569c95ffea8ccf3d205a
parentbfa7cf90ab7494fd54b6eac082e955ab20a3a630 (diff)
spec: Fix mistake and cosmetic irregularity in pseudo-code.
-rw-r--r--public/index.html6
-rw-r--r--spec/eris.adoc4
2 files changed, 5 insertions, 5 deletions
diff --git a/public/index.html b/public/index.html
index 8fd518a..973c8e6 100644
--- a/public/index.html
+++ b/public/index.html
@@ -1231,7 +1231,7 @@ This document describes the Encoding for Robust Immutable Storage (ERIS). ERIS i
LEVEL := 0
// split the input content into uniformly sized blocks and encode
- LEVEL-0-BLOCKS, RK-PAIRS := Split-Content(CONTENT, BLOCK-SIZE)
+ LEVEL-0-BLOCKS, RK-PAIRS := Split-Content(CONTENT, CONVERGENCE-SECRET, BLOCK-SIZE)
// add blocks from level 0 to blocks to be output
BLOCKS := BLOCKS ++ LEVEL-0-BLOCKS
@@ -1268,7 +1268,7 @@ This document describes the Encoding for Robust Immutable Storage (ERIS). ERIS i
</div>
<div class="listingblock">
<div class="content">
-<pre class="highlight"><code class="language-pseudocode" data-lang="pseudocode">Split-Content(CONTENT,CONVERGENCE-SECRET,BLOCK-SIZE):
+<pre class="highlight"><code class="language-pseudocode" data-lang="pseudocode">Split-Content(CONTENT, CONVERGENCE-SECRET, BLOCK-SIZE):
// initialize list of blocks and reference-key pairs to output
BLOCKS := []
RK-PAIRS := []
@@ -2031,7 +2031,7 @@ ERIS-Decode(BLOCK-SIZE, LEVEL, ROOT-REFERENCE, ROOT-KEY):
</div>
<div id="footer">
<div id="footer-text">
-Last updated 2021-09-02 14:19:00 +0200
+Last updated 2021-09-12 09:04:56 +0200
</div>
</div>
</body>
diff --git a/spec/eris.adoc b/spec/eris.adoc
index 6849dee..86d8b54 100644
--- a/spec/eris.adoc
+++ b/spec/eris.adoc
@@ -174,7 +174,7 @@ ERIS-Encode(CONTENT, CONVERGENCE-SECRET, BLOCK-SIZE):
LEVEL := 0
// split the input content into uniformly sized blocks and encode
- LEVEL-0-BLOCKS, RK-PAIRS := Split-Content(CONTENT, BLOCK-SIZE)
+ LEVEL-0-BLOCKS, RK-PAIRS := Split-Content(CONTENT, CONVERGENCE-SECRET, BLOCK-SIZE)
// add blocks from level 0 to blocks to be output
BLOCKS := BLOCKS ++ LEVEL-0-BLOCKS
@@ -208,7 +208,7 @@ A pseudo code implementation:
[source,pseudocode]
----
-Split-Content(CONTENT,CONVERGENCE-SECRET,BLOCK-SIZE):
+Split-Content(CONTENT, CONVERGENCE-SECRET, BLOCK-SIZE):
// initialize list of blocks and reference-key pairs to output
BLOCKS := []
RK-PAIRS := []