1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #ifndef _MRC_CACHE_HASH_TPM_H_
4 #define _MRC_CACHE_HASH_TPM_H_
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_ */