Records
-
class BlockAllocation -
class BlockLoaderInterface -
class BlockVerifier -
class Device -
class DeviceInfo -
class DeviceManager -
class DriverSealer -
class Geometry -
class HashBlockAccumulator -
class HashLocation -
class IntegrityShape -
class Sealer -
class Superblock -
class SuperblockVerifier -
class VerifiedDevice -
class VerifiedVolumeClient -
class extra_op_t
Functions
-
zx_status_t CheckConfig (const fuchsia_hardware_block_verified::wire::Config & config, const block_info_t & blk)Checks that `config` specifies both a root hash and a block size, and that
the block size matches the one observed in `blk`. Returns ZX_OK on success,
ZX_ERR_INVALID_ARGS otherwise.
Defined at line 13 of file ../../src/devices/block/drivers/block-verity/config.cc
-
void GenerateSuperblock (const Geometry & info, uint8_t[32] root_hash, uint8_t * block_buf)Defined at line 15 of file ../../src/devices/block/drivers/block-verity/sealer.cc
-
IntegrityShape IntegrityShapeFor (uint32_t block_size, uint32_t hash_size, uint64_t data_block_count)Given a number of data blocks, a block size, and a hash output size, compute
how many integrity blocks will be needed to provide integrity data for them,
and how deep the hash tree would need to be to cover it.
Defined at line 14 of file ../../src/devices/block/drivers/block-verity/geometry.cc
-
extra_op_t * BlockToExtra (block_op_t * block, size_t op_size)Translates `block_op_t`s to `extra_op_t`s and vice versa.
Defined at line 74 of file ../../src/devices/block/drivers/block-verity/extra.cc
-
block_op_t * ExtraToBlock (extra_op_t * extra, size_t op_size)Defined at line 83 of file ../../src/devices/block/drivers/block-verity/extra.cc
-
BlockAllocation BestSplitFor (uint32_t block_sizeuint32_t hash_sizeuint64_t total_blocks)Defined at line 32 of file ../../src/devices/block/drivers/block-verity/geometry.cc