39constexpr std::string_view
IDSIG =
".idsig";
#define error(format, args...)
Definition: fec_private.h:201
Definition: incremental.cpp:46
std::vector< int32_t > PriorityBlocksForFile(const std::string &, borrowed_fd, Size)
Definition: incremental_utils.cpp:199
constexpr std::string_view IDSIG
Definition: incremental_utils.h:39
constexpr int kMaxSignatureSize
Definition: incremental_utils.h:37
constexpr int kDigestSize
Definition: incremental_utils.h:36
Size verity_tree_blocks_for_file(Size fileSize)
Definition: incremental_utils.cpp:42
constexpr int kSha256DigestSize
Definition: incremental_utils.h:35
std::optional< std::pair< off64_t, ssize_t > > skip_id_sig_headers(borrowed_fd fd, std::string *error)
Definition: incremental_utils.cpp:157
int64_t Size
Definition: incremental_utils.h:33
constexpr int kBlockSize
Definition: incremental_utils.h:34
Size verity_tree_size_for_file(Size fileSize)
Definition: incremental_utils.cpp:60
std::optional< std::pair< std::vector< char >, int32_t > > read_id_sig_headers(borrowed_fd fd, std::string *error)
Definition: incremental_utils.cpp:136
Definition: unique_fd.h:292