Home
last modified time | relevance | path

Searched refs:header_checksum (Results 1 – 10 of 10) sorted by relevance

/external/vboot_reference/host/lib/
Dhost_signature.c56 uint8_t* header_checksum; in CalculateChecksum() local
59 header_checksum = DigestBuf(data, size, SHA512_DIGEST_ALGORITHM); in CalculateChecksum()
60 if (!header_checksum) in CalculateChecksum()
65 VbExFree(header_checksum); in CalculateChecksum()
73 Memcpy(GetSignatureData(sig), header_checksum, SHA512_DIGEST_SIZE); in CalculateChecksum()
74 VbExFree(header_checksum); in CalculateChecksum()
/external/icing/icing/file/
Dfile-backed-vector.h114 uint32_t header_checksum; member
133 static_assert(offsetof(FileBackedVector::Header, header_checksum) == in CalculateHeaderChecksum()
140 offsetof(FileBackedVector::Header, header_checksum)); in CalculateHeaderChecksum()
379 header->header_checksum = header->CalculateHeaderChecksum(); in InitializeNewFile()
428 if (header->header_checksum != header->CalculateHeaderChecksum()) { in InitializeExistingFile()
759 header_->header_checksum = header_->CalculateHeaderChecksum(); in PersistToDisk()
Dfile-backed-proto-log.h141 uint32_t header_checksum = 0; member
146 offsetof(Header, header_checksum)); in CalculateHeaderChecksum()
507 header->header_checksum = header->CalculateHeaderChecksum(); in InitializeNewFile()
549 if (header->header_checksum != header->CalculateHeaderChecksum()) { in InitializeExistingFile()
851 header_->header_checksum = header_->CalculateHeaderChecksum(); in EraseProto()
992 header_->header_checksum = header_->CalculateHeaderChecksum(); in PersistToDisk()
Dfile-backed-vector_test.cc574 header.header_checksum = header.CalculateHeaderChecksum(); in TEST_F()
/external/vboot_reference/firmware/lib/
Dvboot_common.c222 uint8_t *header_checksum = NULL; in KeyBlockVerify() local
243 header_checksum = DigestBuf((const uint8_t *)block, in KeyBlockVerify()
246 rv = SafeMemcmp(header_checksum, GetSignatureDataC(sig), in KeyBlockVerify()
248 VbExFree(header_checksum); in KeyBlockVerify()
/external/freetype/include/freetype/internal/
Dwofftypes.h239 FT_ULong header_checksum; member
/external/sfntly/cpp/src/sfntly/table/
Dtable.h85 virtual int64_t header_checksum() { return header_->checksum(); } in header_checksum() function
/external/arm-trusted-firmware/lib/coreboot/
Dcoreboot_table.c25 uint32_t header_checksum; member
/external/icing/icing/store/
Dusage-store_test.cc516 header.header_checksum = header.CalculateHeaderChecksum(); in TEST_F()
551 header.header_checksum = 10; // Arbitrary garbage checksum in TEST_F()
/external/freetype/src/sfnt/
Dsfwoff2.c1530 FT_ULong font_checksum = info->header_checksum; in reconstruct_font()
2204 info.header_checksum = compute_ULong_sum( sfnt, 12 ); in woff2_open_font()