Searched refs:header_checksum (Results 1 – 3 of 3) sorted by relevance
/system/core/fs_mgr/liblp/ |
D | writer.cpp | 76 memset(header.header_checksum, 0, sizeof(header.header_checksum)); in SerializeMetadata() 77 SHA256(&header, header.header_size, header.header_checksum); in SerializeMetadata() 319 return !memcmp(a.header.header_checksum, b.header.header_checksum, in CompareMetadata() 320 sizeof(a.header.header_checksum)); in CompareMetadata()
|
D | reader.cpp | 211 memset(&temp.header_checksum, 0, sizeof(temp.header_checksum)); in ReadMetadataHeader() 212 SHA256(&temp, temp.header_size, temp.header_checksum); in ReadMetadataHeader() 213 if (memcmp(temp.header_checksum, header.header_checksum, sizeof(temp.header_checksum)) != in ReadMetadataHeader()
|
/system/core/fs_mgr/liblp/include/liblp/ |
D | metadata_format.h | 204 uint8_t header_checksum[32]; member 388 uint8_t header_checksum[32]; member
|