Expand description
fsverity_merkle contains types and methods for building and working with fsverity merkle trees.
Structs§
- FsVerity
Descriptor - A descriptor struct for fsverity. It does not own the bytes backing it.
- FsVerity
Descriptor Raw - FsVerity
Hasher Options FsVerityHasherOptionscontains relevant metadata for the FsVerityHasher. Thesaltis set according to the FsverityMetadata struct stored in fxfs andblock_sizeis that of the filesystem.- Merkle
Tree - A
MerkleTreecontains levels of hashes that can be used to verify the integrity of data. - Merkle
Tree Builder - A
MerkleTreeBuildergenerates aMerkleTreefrom one or more write calls.
Enums§
- FsVerity
Hasher FsVerityHasheris used by fsverity to construct merkle trees for verity-enabled files.FsVerityHasheris parameterized by a salt and a block size.
Constants§
Functions§
- from_
slice - Compute a merkle tree from a
&[u8]for a particular hasher.