Home
last modified time | relevance | path

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

/external/vboot_reference/cgpt/
Dcgpt_wrapper.c69 uint8_t *original_hash = NULL; in wrap_cgpt() local
83 original_hash = DigestFile(rw_gpt_path, SHA1_DIGEST_ALGORITHM); in wrap_cgpt()
129 if (original_hash != NULL && modified_hash != NULL) { in wrap_cgpt()
130 if (memcmp(original_hash, modified_hash, SHA1_DIGEST_SIZE) != 0) { in wrap_cgpt()
138 free(original_hash); in wrap_cgpt()