• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #if CONFIG(TPM)
4 
5 /* Start of the root of trust */
6 tpm_result_t vboot_setup_tpm(struct vb2_context *ctx);
7 
8 /* vboot_extend_pcr function for vb2 context */
9 tpm_result_t vboot_extend_pcr(struct vb2_context *ctx, int pcr,
10 			     enum vb2_pcr_digest which_digest);
11 
12 #else
13 
14 #define vboot_setup_tpm(ctx) TPM_SUCCESS
15 
16 #define vboot_extend_pcr(ctx, pcr, which_digest) TPM_SUCCESS
17 
18 #endif
19