diff options
author | Chong Cai <chongc@google.com> | 2020-11-04 11:39:07 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-11-04 11:41:38 -0800 |
commit | a15562c019a42e04fed7e9cff1d901b3bcfaca59 (patch) | |
tree | 04e7da5d587377af6427d08bc3811ff547482270 /pkg/cpuid/cpuid_x86.go | |
parent | 3b18bdbd3c119e8fe10e21587374cca3b08f0020 (diff) |
Include file size in Merkle hash
The file size can now also be verified. Also, since we are zero-padding
the last block of the data, we cannot differentiate the cases between
zero-padded block from the blocks that are ends with zeroes. With the
size included this can be addressed, as those cases would have different
file size.
PiperOrigin-RevId: 340695510
Diffstat (limited to 'pkg/cpuid/cpuid_x86.go')
0 files changed, 0 insertions, 0 deletions