# Functions
ComputeAndWriteHashDevice builds merkle tree from a given io.ReadSeeker and writes the result hash device (dm-verity super-block combined with merkle tree) to io.Writer.
MerkleTree constructs dm-verity hash-tree for a given io.Reader with a fixed salt (0-byte) and algorithm (sha256).
NewDMVeritySuperblock returns a dm-verity superblock for a device with a given size, salt, algorithm and versions are fixed.
ReadDMVerityInfo extracts dm-verity super block information and merkle tree root hash.
RootHash computes root hash of dm-verity hash-tree.
# Constants
1MB.
RecommendedVHDSizeGB is the recommended size in GB for VHDs, which is not a hard limit.
VeritySignature is a value written to dm-verity super-block.
# Structs
VerityInfo is minimal exported version of dmveritySuperblock.