Expand description
fsverity_merkle
contains types and methods for building and working with fsverity merkle trees.
Structs§
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.- A
MerkleTree
contains levels of hashes that can be used to verify the integrity of data. - A
MerkleTreeBuilder
generates aMerkleTree
from one or more write calls.
Enums§
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§
- Compute a merkle tree from a
&[u8]
for a particular hasher.