Home
last modified time | relevance | path

Searched refs:padded_digest_length_ (Results 1 – 2 of 2) sorted by relevance

/system/extras/libfec/
Dfec_verity.cpp152 padded_digest_length_ = SHA256_DIGEST_LENGTH; in initialize()
175 const uint8_t *expected = &hash_data[index * padded_digest_length_]; in check_block_hash_with_index()
214 NULL, padded_digest_length_); in verify_tree()
244 padded_digest_length_); in verify_tree()
274 std::vector<uint8_t> buffer(padded_digest_length_, 0); in verify_tree()
281 if (!raw_pread(f->fd, buffer.data(), padded_digest_length_, in verify_tree()
282 hash_offset + j * padded_digest_length_) || in verify_tree()
292 hash_offset + j * padded_digest_length_, in verify_tree()
306 if (!raw_pwrite(f->fd, buffer.data(), padded_digest_length_, in verify_tree()
307 hash_offset + j * padded_digest_length_) || in verify_tree()
[all …]
Dfec_private.h115 uint32_t padded_digest_length_; member