aboutsummaryrefslogtreecommitdiff
path: root/fsverify-paper.md
diff options
context:
space:
mode:
authoraxtloss <axtlos@getcryst.al>2024-02-12 18:55:29 +0100
committeraxtloss <axtlos@getcryst.al>2024-02-12 18:55:29 +0100
commite01c0cf2c84c41841bd7f080a2136c67cf5425b9 (patch)
tree6f7ee71afeb6de4cee55b97fa0a5eb67452ab8cb /fsverify-paper.md
parentae67ea6a67c25fef305964ee34d4bf96b9da8519 (diff)
downloadfsverify-e01c0cf2c84c41841bd7f080a2136c67cf5425b9.tar.gz
fsverify-e01c0cf2c84c41841bd7f080a2136c67cf5425b9.tar.bz2
Improve performance
Diffstat (limited to 'fsverify-paper.md')
-rw-r--r--fsverify-paper.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/fsverify-paper.md b/fsverify-paper.md
index 052f782..b68728f 100644
--- a/fsverify-paper.md
+++ b/fsverify-paper.md
@@ -38,7 +38,7 @@ BlockEnd|The Hex offset at which the block ends
BlockSum|The checksum of the block
PrevNodeSum|The checksum of all the fields of the previous field as a checksum and the identifier of the node
-Each block is 4kb big, if the partition size does not allow an even split in 4kb sectors, the partition will be split as good as possible, with a smaller block as the last sector.
+Each block is 2kb big, if the partition size does not allow an even split in 2kb sectors, the partition will be split as good as possible, with a smaller block as the last sector.
Beyond beign signed with minisign, each Node is verified through the PrevNodeSum Field, which gets generated by adding all fields of the previous block together and calculating the checksum of the resulting string:
```
@@ -51,7 +51,7 @@ Beyond beign signed with minisign, each Node is verified through the PrevNodeSum
```
through this, the slightest change in one of the nodes will result in a wrong hash for every node following the modified one:
```
- Checksum do not match
+ Checksums do not match
|
+-----+ +------+ +------+ | +------+
|0x000| |0xFA0 | |0x1F40| | |0x3E80|