Home
last modified time | relevance | path

Searched refs:tree_hash (Results 1 – 7 of 7) sorted by relevance

/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/glacier/
Dwriter.py27 from boto.glacier.utils import chunk_hashes, tree_hash, bytes_to_hex
117 part_tree_hash = tree_hash(chunk_hashes(part_data, self.chunk_size))
156 hex_tree_hash = bytes_to_hex(tree_hash(self._tree_hashes))
195 part_tree_hash = tree_hash(chunk_hashes(part_data, chunk_size))
244 return tree_hash(self.uploader._tree_hashes)
Dutils.py86 def tree_hash(fo): function
145 return linear_hash.hexdigest(), bytes_to_hex(tree_hash(chunks))
162 return bytes_to_hex(tree_hash(chunk_hashes(str_as_bytes)))
Dlayer1.py746 linear_hash, tree_hash, description=None): argument
821 'x-amz-sha256-tree-hash': tree_hash,
1194 tree_hash, byte_range, part_data): argument
1273 'x-amz-sha256-tree-hash': tree_hash,
Dconcurrent.py32 chunk_hashes, tree_hash, bytes_to_hex
155 self._vault_name, upload_id, bytes_to_hex(tree_hash(hash_chunks)),
253 tree_hash_bytes = tree_hash(chunk_hashes(contents))
341 final_hash = bytes_to_hex(tree_hash(hash_chunks))
419 actual_hash = bytes_to_hex(tree_hash(chunk_hashes(data)))
Dvault.py105 linear_hash, tree_hash = compute_hashes_from_fileobj(fileobj)
108 linear_hash, tree_hash,
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/glacier/
Dtest_writer.py37 from boto.glacier.utils import bytes_to_hex, chunk_hashes, tree_hash
65 data_part_tree_hash_blob = tree_hash(
86 data_tree_hash = bytes_to_hex(tree_hash(data_tree_hashes))
198 part_hash_map[part_index] = tree_hash(
Dtest_utils.py30 from boto.glacier.utils import minimum_part_size, chunk_hashes, tree_hash, \
91 calculated = bytes_to_hex(tree_hash(chunk_hashes(bytestring)))