Debian Codegraph @

3rdparty/vboot/firmware/2lib/include/2tpm_bootmode.h

raw symbols SCIP
1 /* Copyright 2015 The ChromiumOS Authors
2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file.
4 *
5 * Functions for updating the TPM state with the status of boot path.
6 */
7
8 #ifndef VBOOT_REFERENCE_2TPM_BOOTMODE_H_
9 #define VBOOT_REFERENCE_2TPM_BOOTMODE_H_
10
11 #include "2api.h"
12
13 /**
14 * Return digest indicating the boot state
15 *
16 * @param ctx Vboot context
17 * @return Pointer to sha1 digest of size VB2_SHA1_DIGEST_SIZE
18 */
19 const uint8_t *vb2_get_boot_state_digest(struct vb2_context *ctx);
20
21 #endif /* VBOOT_REFERENCE_2TPM_BOOTMODE_H_ */