Home
last modified time | relevance | path

Searched refs:header_checksum (Results 1 – 3 of 3) 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/sfntly/cpp/src/sfntly/table/
Dtable.h85 virtual int64_t header_checksum() { return header_->checksum(); } in header_checksum() function