aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorpukkamustard <pukkamustard@posteo.net>2020-10-29 11:05:39 +0100
committerpukkamustard <pukkamustard@posteo.net>2020-10-29 11:08:14 +0100
commit2d4148f78204a418a431f1c96fd5c1e4629e0576 (patch)
tree4ae94acfd45e68ac12a3e3c41f87f8d94e032f4f /doc
parent48254688633b9d0fc8bfbb87cc33f222158e6432 (diff)
(tests eris large): encode large content
Diffstat (limited to 'doc')
-rw-r--r--doc/eris.adoc12
1 files changed, 11 insertions, 1 deletions
diff --git a/doc/eris.adoc b/doc/eris.adoc
index 19b2afc..0947955 100644
--- a/doc/eris.adoc
+++ b/doc/eris.adoc
@@ -403,7 +403,17 @@ Implementations MUST verify that the content encodes to the URN given the specif
=== Large content
-TODO some test cases that are too big to fit into a JSON file. E.g. 1 TB of data that can be generated so is encoded to the URN so.
+
+In order to verify implementations that encode content by streaming (see <<_streaming>>) URNs of large contents that are generated in a specified way are provided:
+
+|===
+|Test name | Content size | Block size | URN | Level of root reference
+| 100Mb (block size 1Kb) | 100Mb| 1Kb | `urn:erisx2:AAC5BQH6DQVWAHSRUCORMNEWDGLSONZC3NDAP4U6W5WMHFK4MI5U2GMXS5A5L3GZGNBN3Z7MER4SJOJE5USLQZNXMSV3QN3IKFP36SX6YU` | 5
+| 1Gb (block size 32Kb) | 1Gb | 32Kb | `urn:erisx2:AEBN2DAP2ZYSW4EI5SOBABN2DDNVCREGYHYRVVLKDC4Z4E4FOANV7ZJCT2VA4OMKRJGFGFZWMNFZEEN2PW27V527DXYWEKEQ7KXWM4D4WU` | 2
+| 256Gb (block size 32Kb) | 256Gb | 32Kb | `urn:erisx2:AEB6PWLNQGCT2OXYQV4YWZISEMUEROYNRM4BHMMYLLWPFVIVPT7KJETE2SLO7ALMT5GDSGJZOP6YFLRI7NAIKSEUI6TLDFPOBSZPIXKJE4` | 3
+|===
+
+Content is the ChaCha20 stream using a null nonce and the key which is the Blake2b hash of the UTF-8 encoded test name (e.g. `KEY = Blake2b("100Mb (block size 1Kb)")`).
[appendix]
== Changelog