xref: /aosp_15_r20/external/coreboot/src/security/vboot/vbios_cache_hash_tpm.h (revision b9411a12aaaa7e1e6a6fb7c5e057f44ee179a49c)
1 /* 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  */
11 void 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  */
16 enum cb_err vbios_cache_verify_hash(const uint8_t *data, size_t size);
17 
18 #endif /* _VBIOS_CACHE_HASH_TPM_H_ */
19