Searched refs:header_checksum (Results 1 – 3 of 3) sorted by relevance
56 uint8_t* header_checksum; in CalculateChecksum() local59 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()
222 uint8_t *header_checksum = NULL; in KeyBlockVerify() local243 header_checksum = DigestBuf((const uint8_t *)block, in KeyBlockVerify()246 rv = SafeMemcmp(header_checksum, GetSignatureDataC(sig), in KeyBlockVerify()248 VbExFree(header_checksum); in KeyBlockVerify()
85 virtual int64_t header_checksum() { return header_->checksum(); } in header_checksum() function