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/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/icing/icing/file/
Dfile-backed-proto-log.h114 uint32_t header_checksum = 0; member
119 offsetof(Header, header_checksum)); in CalculateHeaderChecksum()
361 header->header_checksum = header->CalculateHeaderChecksum(); in InitializeNewFile()
403 if (header->header_checksum != header->CalculateHeaderChecksum()) { in InitializeExistingFile()
Dfile-backed-vector.h122 uint32_t header_checksum; member
141 static_assert(offsetof(FileBackedVector::Header, header_checksum) == in CalculateHeaderChecksum()
147 offsetof(FileBackedVector::Header, header_checksum))) in CalculateHeaderChecksum()
622 header->header_checksum = header->CalculateHeaderChecksum(); in InitializeNewFile()
682 if (header->header_checksum != header->CalculateHeaderChecksum()) { in InitializeExistingFile()
1110 header_->header_checksum = header_->CalculateHeaderChecksum(); in PersistToDisk()
Dfile-backed-vector_test.cc1264 header.header_checksum = header.CalculateHeaderChecksum(); in TEST_F()
/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.c1558 FT_ULong font_checksum = info->header_checksum; in reconstruct_font()
2227 info.header_checksum = compute_ULong_sum( sfnt, 12 ); in woff2_open_font()