Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Tahoe-CHK
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
PrivateStorage
Tahoe-CHK
Commits
d238b6ae
Commit
d238b6ae
authored
3 years ago
by
Update Bot
Browse files
Options
Downloads
Patches
Plain Diff
Add the missing URI extension size offset field
parent
cc4ab15c
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/specification.rst
+3
-2
3 additions, 2 deletions
docs/specification.rst
src/CHK.hs
+3
-1
3 additions, 1 deletion
src/CHK.hs
with
6 additions
and
3 deletions
docs/specification.rst
+
3
−
2
View file @
d238b6ae
...
...
@@ -151,6 +151,7 @@ For v2 the values are represented as 8 byte big-endian.
#. The offset into the share of the ciphertext hash tree
#. The offset into the share of the block hash tree
#. The offset into the share of the needed share hashes.
#. The offset into the share of the URI extension size
Following the header is the concatenation of all of the blocks that belong to the share.
Following the blocks are:
...
...
@@ -159,8 +160,8 @@ Following the blocks are:
#. The ciphertext hash tree
#. The block hash tree
#. The needed share hashes
#.
A 4 or 8 byte (v1 or v2) big-endian representation of the length of t
he URI extension
.
#. The URI extension
.
#.
T
he URI extension
size
#. The URI extension
Capability
----------
...
...
This diff is collapsed.
Click to expand it.
src/CHK.hs
+
3
−
1
View file @
d238b6ae
...
...
@@ -200,7 +200,9 @@ data CHKStage
|
CrypttextHashTreeOffset
-- offset of crypttext hash tree
|
BlockHashesOffset
-- offset of block hash tree
|
ShareHashesOffset
-- offset of share hashes
|
URIExtensionOffset
-- offset ofURI extension
|
URIExtensionOffset
-- offset of the *length prefix* of the URI
-- extension; the URI extension follows
-- immediately.
|
ShareBlock
SegmentNum
-- A block of share data. The segment number
-- indicates which source segment needs to be
-- encoded to produce the block of data. These
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment