blob: 166fcaaeace5d24f1a3209e74d5146f0fe015ad7 [file] [log] [blame]
Matt DeVillier9ce755d2023-01-23 18:31:27 -06001/* SPDX-License-Identifier: GPL-2.0-only */
2
3#ifndef _VBIOS_CACHE_HASH_TPM_H_
4#define _VBIOS_CACHE_HASH_TPM_H_
5
6#include <types.h>
7
8/*
9 * Updates vbios cache hash.
10 */
11void vbios_cache_update_hash(const uint8_t *data, size_t size);
12
13/*
14 * Verifies vbios cache hash which is stored in FMAP region.
15 */
16enum cb_err vbios_cache_verify_hash(const uint8_t *data, size_t size);
17
18#endif /* _VBIOS_CACHE_HASH_TPM_H_ */