Commit Graph

5 Commits

Author SHA1 Message Date
gVisor bot 911cecaa34 Implement walk in gvisor verity fs
Implement walk directories in gvisor verity file system. For each step,
the child dentry is verified against a verified parent root hash.

PiperOrigin-RevId: 329358747
2020-08-31 12:52:21 -07:00
gVisor bot ee041b60bf Add check for same source in merkle tree lib
If the data is in the same Reader as the merkle tree, we should verify
from the first layer in the tree, instead of from the beginning.

PiperOrigin-RevId: 328230988
2020-08-24 16:34:15 -07:00
gVisor bot 1b938ba72c Add Verify in merkle tree library
Verify checks input data against the merkle tree, and compares the root
hash with expectation.

PiperOrigin-RevId: 327116711
2020-08-17 15:56:22 -07:00
gVisor bot af6ec7b734 Add Generate method in merkletree
A method is added to generate a merkle tree for data, and store the
generated tree in the output.

PiperOrigin-RevId: 315966571
2020-06-11 13:33:09 -07:00
gVisor bot b39cc6a800 Add merkle tree size measure
This change creates a merkletree package which will be used in the future
for an implementation of file system API.

PiperOrigin-RevId: 315952451
2020-06-11 12:23:25 -07:00