MAINTAINERS: Add Yuchi and Vasiliy for Intel Atom Snow Ridge SoC
[coreboot2.git] / src / security / vboot / mrc_cache_hash_tpm.h
blobcf443f291bdeb98f9df97e03ea8e919097466f14
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #ifndef _MRC_CACHE_HASH_TPM_H_
4 #define _MRC_CACHE_HASH_TPM_H_
6 #include <types.h>
8 /*
9 * Updates mrc cache hash if it differs.
11 void mrc_cache_update_hash(uint32_t index, const uint8_t *data, size_t size);
14 * Verifies mrc cache hash which is stored somewhere.
15 * return 1 verification was successful and 0 for error.
17 int mrc_cache_verify_hash(uint32_t index, const uint8_t *data, size_t size);
19 #endif /* _MRC_CACHE_HASH_TPM_H_ */