Expand description
fsverity_merkle
contains types and methods for building and working with fsverity merkle trees.
Structs§
- FsVerity
Hasher Options FsVerityHasherOptions
contains relevant metadata for the FsVerityHasher. Thesalt
is set according to the FsverityMetadata struct stored in fxfs andblock_size
is that of the filesystem.- Merkle
Tree - A
MerkleTree
contains levels of hashes that can be used to verify the integrity of data. - Merkle
Tree Builder - A
MerkleTreeBuilder
generates aMerkleTree
from one or more write calls.
Enums§
- FsVerity
Hasher FsVerityHasher
is used by fsverity to construct merkle trees for verity-enabled files.FsVerityHasher
is parameterized by a salt and a block size.
Constants§
Functions§
- from_
slice - Compute a merkle tree from a
&[u8]
for a particular hasher.