vboot: fix up some headers, includes, comments, spacing
BUG=b:124141368 TEST=make clean && make runtests BRANCH=none Change-Id: Id97f544da845f7070555e5e8cc6e782b2d45c300 Signed-off-by: Joel Kitching <kitching@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/1758151 Tested-by: Joel Kitching <kitching@chromium.org> Reviewed-by: Joel Kitching <kitching@chromium.org> Commit-Queue: Joel Kitching <kitching@chromium.org>
This commit is contained in:
parent
a762fa7827
commit
9adf2aa243
12
Makefile
12
Makefile
|
@ -701,7 +701,7 @@ TEST_NAMES = \
|
|||
tests/vboot_api_kernel4_tests \
|
||||
tests/vboot_api_kernel5_tests \
|
||||
tests/vboot_detach_menu_tests \
|
||||
tests/vboot_common_tests \
|
||||
tests/vboot_common_tests \
|
||||
tests/vboot_display_tests \
|
||||
tests/vboot_kernel_tests \
|
||||
tests/verify_kernel
|
||||
|
@ -713,7 +713,7 @@ TEST_NAMES += \
|
|||
tests/rollback_index2_tests
|
||||
endif
|
||||
|
||||
TEST_FUTIL_NAMES = \
|
||||
TEST_FUTIL_NAMES = \
|
||||
tests/futility/binary_editor \
|
||||
tests/futility/test_file_types \
|
||||
tests/futility/test_not_really
|
||||
|
@ -762,15 +762,15 @@ ifeq (${TPM2_MODE},)
|
|||
TLCL_TEST_NAMES = \
|
||||
tests/tpm_lite/tpmtest_earlyextend \
|
||||
tests/tpm_lite/tpmtest_earlynvram \
|
||||
tests/tpm_lite/tpmtest_earlynvram2 \
|
||||
tests/tpm_lite/tpmtest_earlynvram2 \
|
||||
tests/tpm_lite/tpmtest_enable \
|
||||
tests/tpm_lite/tpmtest_fastenable \
|
||||
tests/tpm_lite/tpmtest_globallock \
|
||||
tests/tpm_lite/tpmtest_redefine_unowned \
|
||||
tests/tpm_lite/tpmtest_spaceperm \
|
||||
tests/tpm_lite/tpmtest_redefine_unowned \
|
||||
tests/tpm_lite/tpmtest_spaceperm \
|
||||
tests/tpm_lite/tpmtest_testsetup \
|
||||
tests/tpm_lite/tpmtest_timing \
|
||||
tests/tpm_lite/tpmtest_writelimit
|
||||
tests/tpm_lite/tpmtest_writelimit
|
||||
else
|
||||
# TODO(apronin): tests for TPM2 case?
|
||||
TLCL_TEST_NAMES =
|
||||
|
|
13
cgpt/cgpt.h
13
cgpt/cgpt.h
|
@ -1,9 +1,10 @@
|
|||
// Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
/* Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
|
||||
#ifndef VBOOT_REFERENCE_UTILITY_CGPT_CGPT_H_
|
||||
#define VBOOT_REFERENCE_UTILITY_CGPT_CGPT_H_
|
||||
#ifndef VBOOT_REFERENCE_CGPT_H_
|
||||
#define VBOOT_REFERENCE_CGPT_H_
|
||||
|
||||
#include <fcntl.h>
|
||||
#ifndef HAVE_MACOS
|
||||
|
@ -207,4 +208,4 @@ const char *GptError(int errnum);
|
|||
exit(1); } \
|
||||
} while (0)
|
||||
|
||||
#endif // VBOOT_REFERENCE_UTILITY_CGPT_CGPT_H_
|
||||
#endif /* VBOOT_REFERENCE_CGPT_H_ */
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
/* Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
/* Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
/* Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright 2018 The Chromium OS Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
/* Copyright 2018 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
|
||||
#include "cgpt.h"
|
||||
#include "cgpt_params.h"
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
* found in the LICENSE file.
|
||||
*/
|
||||
|
||||
#ifndef VBOOT_REFERENCE_UTILITY_CGPT_ENDIAN_H_
|
||||
#define VBOOT_REFERENCE_UTILITY_CGPT_ENDIAN_H_
|
||||
#ifndef VBOOT_REFERENCE_CGPT_ENDIAN_H_
|
||||
#define VBOOT_REFERENCE_CGPT_ENDIAN_H_
|
||||
|
||||
// Newer distros already have this. For those that don't, we add it here.
|
||||
#ifndef HAVE_MACOS
|
||||
|
@ -50,4 +50,5 @@
|
|||
# endif
|
||||
|
||||
#endif
|
||||
#endif // VBOOT_REFERENCE_UTILITY_CGPT_ENDIAN_H_
|
||||
|
||||
#endif /* VBOOT_REFERENCE_CGPT_ENDIAN_H_ */
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
/* Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
/* Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
* and write to NOR flash.
|
||||
*/
|
||||
|
||||
#ifndef VBOOT_REFERCENCE_CGPT_CGPT_NOR_H_
|
||||
#define VBOOT_REFERCENCE_CGPT_CGPT_NOR_H_
|
||||
#ifndef VBOOT_REFERENCE_CGPT_NOR_H_
|
||||
#define VBOOT_REFERENCE_CGPT_NOR_H_
|
||||
|
||||
// Obtain the MTD size from its sysfs node. |mtd_device| should point to
|
||||
// a dev node such as /dev/mtd0. This function returns 0 on success.
|
||||
|
@ -31,4 +31,4 @@ int ReadNorFlash(char *temp_dir_template);
|
|||
// Write "rw_gpt" back to NOR flash. We write the file in two parts for safety.
|
||||
int WriteNorFlash(const char *dir);
|
||||
|
||||
#endif // VBOOT_REFERCENCE_CGPT_CGPT_NOR_H_
|
||||
#endif /* VBOOT_REFERENCE_CGPT_NOR_H_ */
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
/* Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
/* Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
/* Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
|
||||
#define __STDC_FORMAT_MACROS
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
/* Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
|
||||
#include <getopt.h>
|
||||
#include <string.h>
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
/* Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
|
||||
#include <getopt.h>
|
||||
#include <string.h>
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
/* Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
|
||||
#include <getopt.h>
|
||||
#include <string.h>
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright 2018 The Chromium OS Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
/* Copyright 2018 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
|
||||
#include <getopt.h>
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
/* Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
|
||||
#include <getopt.h>
|
||||
#include <string.h>
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
/* Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
|
||||
#include <getopt.h>
|
||||
#include <string.h>
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
/* Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
|
||||
#include <getopt.h>
|
||||
#include <stdio.h>
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
// Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
/* Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
|
||||
#include <getopt.h>
|
||||
#include <string.h>
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
// Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
/* Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
|
||||
#define __STDC_FORMAT_MACROS
|
||||
|
||||
#include <getopt.h>
|
||||
#include <inttypes.h>
|
||||
#include <string.h>
|
||||
|
|
|
@ -1,21 +1,23 @@
|
|||
/* Copyright (c) 2014 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*
|
||||
* Very simple 8-bit CRC function.
|
||||
*/
|
||||
|
||||
#include "2sysincludes.h"
|
||||
#include "2crc8.h"
|
||||
|
||||
/* Uses CRC-8 ITU version, with x^8 + x^2 + x + 1 polynomial.
|
||||
Note that result will evaluate to zero for a buffer of all zeroes. */
|
||||
uint8_t vb2_crc8(const void *vptr, uint32_t size)
|
||||
{
|
||||
const uint8_t *data = vptr;
|
||||
unsigned crc = 0;
|
||||
uint32_t i, j;
|
||||
|
||||
/*
|
||||
* Calculate CRC-8 directly. A table-based algorithm would be faster,
|
||||
* but for only a few bytes it isn't worth the code size.
|
||||
*/
|
||||
/* Calculate CRC-8 directly. A table-based algorithm would be faster,
|
||||
but for only a few bytes it isn't worth the code size. */
|
||||
for (j = size; j; j--, data++) {
|
||||
crc ^= (*data << 8);
|
||||
for(i = 8; i; i--) {
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
/* Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
|
||||
/* APIs between calling firmware and vboot_reference
|
||||
*
|
||||
* APIs between calling firmware and vboot_reference
|
||||
*
|
||||
* General notes:
|
||||
*
|
||||
|
@ -17,9 +16,8 @@
|
|||
* must be done elsewhere, and VB2_NV_DEBUG_RESET_MODE is ignored.
|
||||
*/
|
||||
|
||||
#ifndef VBOOT_2_API_H_
|
||||
#define VBOOT_2_API_H_
|
||||
#include <stdint.h>
|
||||
#ifndef VBOOT_REFERENCE_2API_H_
|
||||
#define VBOOT_REFERENCE_2API_H_
|
||||
|
||||
#include "2constants.h"
|
||||
#include "2crypto.h"
|
||||
|
@ -28,6 +26,7 @@
|
|||
#include "2id.h"
|
||||
#include "2recovery_reasons.h"
|
||||
#include "2return_codes.h"
|
||||
#include "2secdata.h"
|
||||
|
||||
/* Modes for vb2ex_tpm_set_mode. */
|
||||
enum vb2_tpm_mode {
|
||||
|
@ -740,4 +739,4 @@ vb2_error_t vb2ex_hwcrypto_digest_finalize(uint8_t *digest,
|
|||
*/
|
||||
vb2_error_t vb2ex_tpm_set_mode(enum vb2_tpm_mode mode_val);
|
||||
|
||||
#endif /* VBOOT_2_API_H_ */
|
||||
#endif /* VBOOT_REFERENCE_2API_H_ */
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
* Common functions between firmware and kernel verified boot.
|
||||
*/
|
||||
|
||||
#ifndef VBOOT_REFERENCE_VBOOT_2COMMON_H_
|
||||
#define VBOOT_REFERENCE_VBOOT_2COMMON_H_
|
||||
#ifndef VBOOT_REFERENCE_2COMMON_H_
|
||||
#define VBOOT_REFERENCE_2COMMON_H_
|
||||
|
||||
#include "2api.h"
|
||||
#include "2gbb.h"
|
||||
|
@ -261,4 +261,4 @@ int vb2_verify_packed_key_inside(const void *parent,
|
|||
uint32_t parent_size,
|
||||
const struct vb2_packed_key *key);
|
||||
|
||||
#endif /* VBOOT_REFERENCE_VBOOT_2COMMON_H_ */
|
||||
#endif /* VBOOT_REFERENCE_2COMMON_H_ */
|
||||
|
|
|
@ -5,11 +5,17 @@
|
|||
* Very simple 8-bit CRC function.
|
||||
*/
|
||||
|
||||
#ifndef VBOOT_REFERENCE_2_CRC8_H_
|
||||
#define VBOOT_REFERENCE_2_CRC8_H_
|
||||
#ifndef VBOOT_REFERENCE_2CRC8_H_
|
||||
#define VBOOT_REFERENCE_2CRC8_H_
|
||||
|
||||
#include "2sysincludes.h"
|
||||
|
||||
/**
|
||||
* Calculate CRC-8 of the data, using x^8 + x^2 + x + 1 polynomial.
|
||||
* Calculate CRC-8 of the data, using the ITU version.
|
||||
*
|
||||
* Calculate CRC-8 ITU version of the given buffer, using x^8 + x^2 + x + 1
|
||||
* polynomial. Note that the CRC-8 will evaluate to zero for a buffer of all
|
||||
* zeroes.
|
||||
*
|
||||
* @param data Data to CRC
|
||||
* @param size Size of data in bytes
|
||||
|
@ -17,4 +23,4 @@
|
|||
*/
|
||||
uint8_t vb2_crc8(const void *data, uint32_t size);
|
||||
|
||||
#endif /* VBOOT_REFERENCE_2_CRC8_H_ */
|
||||
#endif /* VBOOT_REFERENCE_2CRC8_H_ */
|
||||
|
|
|
@ -5,8 +5,9 @@
|
|||
* Crypto constants for verified boot
|
||||
*/
|
||||
|
||||
#ifndef VBOOT_REFERENCE_VBOOT_2CRYPTO_H_
|
||||
#define VBOOT_REFERENCE_VBOOT_2CRYPTO_H_
|
||||
#ifndef VBOOT_REFERENCE_2CRYPTO_H_
|
||||
#define VBOOT_REFERENCE_2CRYPTO_H_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
/* Verified boot crypto algorithms */
|
||||
|
@ -72,4 +73,4 @@ enum vb2_hash_algorithm {
|
|||
VB2_HASH_ALG_COUNT,
|
||||
};
|
||||
|
||||
#endif /* VBOOT_REFERENCE_VBOOT_2CRYPTO_H_ */
|
||||
#endif /* VBOOT_REFERENCE_2CRYPTO_H_ */
|
||||
|
|
|
@ -5,8 +5,9 @@
|
|||
* Firmware hash tags for verified boot
|
||||
*/
|
||||
|
||||
#ifndef VBOOT_REFERENCE_VBOOT_2FW_HASH_TAGS_H_
|
||||
#define VBOOT_REFERENCE_VBOOT_2FW_HASH_TAGS_H_
|
||||
#ifndef VBOOT_REFERENCE_2FW_HASH_TAGS_H_
|
||||
#define VBOOT_REFERENCE_2FW_HASH_TAGS_H_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
/*
|
||||
|
@ -37,4 +38,4 @@ enum vb2_hash_tag {
|
|||
VB2_HASH_TAG_CALLER_BASE = 0x40000000
|
||||
};
|
||||
|
||||
#endif /* VBOOT_REFERENCE_VBOOT_2FW_HASH_TAGS_H_ */
|
||||
#endif /* VBOOT_REFERENCE_2FW_HASH_TAGS_H_ */
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
* GBB accessor functions.
|
||||
*/
|
||||
|
||||
#ifndef VBOOT_REFERENCE_VBOOT_2GBB_H_
|
||||
#define VBOOT_REFERENCE_VBOOT_2GBB_H_
|
||||
#ifndef VBOOT_REFERENCE_2GBB_H_
|
||||
#define VBOOT_REFERENCE_2GBB_H_
|
||||
|
||||
#include "2common.h"
|
||||
|
||||
|
@ -43,4 +43,4 @@ vb2_error_t vb2_gbb_read_recovery_key(struct vb2_context *ctx,
|
|||
struct vb2_packed_key **keyp,
|
||||
uint32_t *size, struct vb2_workbuf *wb);
|
||||
|
||||
#endif /* VBOOT_REFERENCE_VBOOT_2GBB_H_ */
|
||||
#endif /* VBOOT_REFERENCE_2GBB_H_ */
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
* Should be imported externally via vb2_api.h.
|
||||
*/
|
||||
|
||||
#ifndef VBOOT_2_GBB_FLAGS_H_
|
||||
#define VBOOT_2_GBB_FLAGS_H_
|
||||
#ifndef VBOOT_REFERENCE_2GBB_FLAGS_H_
|
||||
#define VBOOT_REFERENCE_2GBB_FLAGS_H_
|
||||
|
||||
enum vb2_gbb_flag {
|
||||
/*
|
||||
|
@ -84,4 +84,4 @@ enum vb2_gbb_flag {
|
|||
VB2_GBB_FLAG_ENABLE_UDC = 1 << 16,
|
||||
};
|
||||
|
||||
#endif /* VBOOT_2_GBB_FLAGS_H_ */
|
||||
#endif /* VBOOT_REFERENCE_2GBB_FLAGS_H_ */
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
* found in the LICENSE file.
|
||||
*/
|
||||
|
||||
#ifndef VBOOT_REFERENCE_VBOOT_2HMAC_H_
|
||||
#define VBOOT_REFERENCE_VBOOT_2HMAC_H_
|
||||
#ifndef VBOOT_REFERENCE_2HMAC_H_
|
||||
#define VBOOT_REFERENCE_2HMAC_H_
|
||||
|
||||
#include <stdint.h>
|
||||
#include "2crypto.h"
|
||||
|
@ -26,4 +26,4 @@ int hmac(enum vb2_hash_algorithm alg,
|
|||
const void *msg, uint32_t msg_size,
|
||||
uint8_t *mac, uint32_t mac_size);
|
||||
|
||||
#endif
|
||||
#endif /* VBOOT_REFERENCE_2HMAC_H_ */
|
||||
|
|
|
@ -8,8 +8,9 @@
|
|||
* resistant to collisions and easy to compare.
|
||||
*/
|
||||
|
||||
#ifndef VBOOT_REFERENCE_VBOOT_2ID_H_
|
||||
#define VBOOT_REFERENCE_VBOOT_2ID_H_
|
||||
#ifndef VBOOT_REFERENCE_2ID_H_
|
||||
#define VBOOT_REFERENCE_2ID_H_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -33,4 +34,4 @@ struct vb2_id {
|
|||
}
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#endif /* VBOOT_REFERENCE_VBOOT_2ID_H_ */
|
||||
#endif /* VBOOT_REFERENCE_2ID_H_ */
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
* Misc functions which need access to vb2_context but are not public APIs
|
||||
*/
|
||||
|
||||
#ifndef VBOOT_REFERENCE_VBOOT_2MISC_H_
|
||||
#define VBOOT_REFERENCE_VBOOT_2MISC_H_
|
||||
#ifndef VBOOT_REFERENCE_2MISC_H_
|
||||
#define VBOOT_REFERENCE_2MISC_H_
|
||||
|
||||
#include "2api.h"
|
||||
#include "2struct.h"
|
||||
|
@ -185,4 +185,4 @@ vb2_error_t vb2_load_kernel_keyblock(struct vb2_context *ctx);
|
|||
*/
|
||||
vb2_error_t vb2_load_kernel_preamble(struct vb2_context *ctx);
|
||||
|
||||
#endif /* VBOOT_REFERENCE_VBOOT_2MISC_H_ */
|
||||
#endif /* VBOOT_REFERENCE_2MISC_H_ */
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
* Non-volatile storage routines
|
||||
*/
|
||||
|
||||
#ifndef VBOOT_REFERENCE_VBOOT_2NVSTORAGE_H_
|
||||
#define VBOOT_REFERENCE_VBOOT_2NVSTORAGE_H_
|
||||
#ifndef VBOOT_REFERENCE_2NVSTORAGE_H_
|
||||
#define VBOOT_REFERENCE_2NVSTORAGE_H_
|
||||
|
||||
struct vb2_context;
|
||||
|
||||
|
@ -232,4 +232,4 @@ void vb2_nv_set(struct vb2_context *ctx,
|
|||
enum vb2_nv_param param,
|
||||
uint32_t value);
|
||||
|
||||
#endif /* VBOOT_REFERENCE_VBOOT_2NVSTORAGE_H_ */
|
||||
#endif /* VBOOT_REFERENCE_2NVSTORAGE_H_ */
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
* Non-volatile storage bitfields
|
||||
*/
|
||||
|
||||
#ifndef VBOOT_REFERENCE_VBOOT_2NVSTORAGE_FIELDS_H_
|
||||
#define VBOOT_REFERENCE_VBOOT_2NVSTORAGE_FIELDS_H_
|
||||
#ifndef VBOOT_REFERENCE_2NVSTORAGE_FIELDS_H_
|
||||
#define VBOOT_REFERENCE_2NVSTORAGE_FIELDS_H_
|
||||
|
||||
/*
|
||||
* Constants for NV storage. We use this rather than structs and bitfields so
|
||||
|
@ -111,4 +111,4 @@ enum vb2_nv_offset {
|
|||
#define VB2_NV_MISC_DEPRECATED_DISABLE_ALT_OS 0x20
|
||||
#define VB2_NV_MISC_POST_EC_SYNC_DELAY 0x40
|
||||
|
||||
#endif /* VBOOT_REFERENCE_VBOOT_2NVSTORAGE_FIELDS_H_ */
|
||||
#endif /* VBOOT_REFERENCE_2NVSTORAGE_FIELDS_H_ */
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
* Recovery reasons
|
||||
*/
|
||||
|
||||
#ifndef VBOOT_REFERENCE_VBOOT_2RECOVERY_REASONS_H_
|
||||
#define VBOOT_REFERENCE_VBOOT_2RECOVERY_REASONS_H_
|
||||
#ifndef VBOOT_REFERENCE_2RECOVERY_REASONS_H_
|
||||
#define VBOOT_REFERENCE_2RECOVERY_REASONS_H_
|
||||
|
||||
/* Recovery reason codes */
|
||||
enum vb2_nv_recovery {
|
||||
|
@ -250,4 +250,4 @@ enum vb2_nv_recovery {
|
|||
VB2_RECOVERY_US_UNSPECIFIED = 0xff,
|
||||
};
|
||||
|
||||
#endif /* VBOOT_REFERENCE_VBOOT_2RECOVERY_REASONS_H_ */
|
||||
#endif /* VBOOT_REFERENCE_2RECOVERY_REASONS_H_ */
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
* found in the LICENSE file.
|
||||
*/
|
||||
|
||||
#ifndef VBOOT_2_RETURN_CODES_H_
|
||||
#define VBOOT_2_RETURN_CODES_H_
|
||||
#ifndef VBOOT_REFERENCE_2RETURN_CODES_H_
|
||||
#define VBOOT_REFERENCE_2RETURN_CODES_H_
|
||||
|
||||
/*
|
||||
* Functions which return an error all return this type. This is a 32-bit
|
||||
|
@ -905,4 +905,4 @@ enum vb2_return_code {
|
|||
VB2_ERROR_MAX = VB2_ERROR_BASE + 0x1fffffff,
|
||||
};
|
||||
|
||||
#endif /* VBOOT_2_RETURN_CODES_H_ */
|
||||
#endif /* VBOOT_REFERENCE_2RETURN_CODES_H_ */
|
||||
|
|
|
@ -5,8 +5,12 @@
|
|||
* Secure non-volatile storage routines
|
||||
*/
|
||||
|
||||
#ifndef VBOOT_REFERENCE_VBOOT_2SECDATA_H_
|
||||
#define VBOOT_REFERENCE_VBOOT_2SECDATA_H_
|
||||
#ifndef VBOOT_REFERENCE_2SECDATA_H_
|
||||
#define VBOOT_REFERENCE_2SECDATA_H_
|
||||
|
||||
/* Avoid circular dependency with 2api.h */
|
||||
struct vb2_context;
|
||||
typedef uint32_t vb2_error_t;
|
||||
|
||||
/*****************************************************************************/
|
||||
/* Firmware version space */
|
||||
|
@ -161,4 +165,4 @@ vb2_error_t vb2_secdatak_get(struct vb2_context *ctx,
|
|||
vb2_error_t vb2_secdatak_set(struct vb2_context *ctx,
|
||||
enum vb2_secdatak_param param, uint32_t value);
|
||||
|
||||
#endif /* VBOOT_REFERENCE_VBOOT_2SECDATA_H_ */
|
||||
#endif /* VBOOT_REFERENCE_2SECDATA_H_ */
|
||||
|
|
|
@ -13,8 +13,9 @@
|
|||
* have trouble with accessing unaligned integers.
|
||||
*/
|
||||
|
||||
#ifndef VBOOT_REFERENCE_VBOOT_2STRUCT_H_
|
||||
#define VBOOT_REFERENCE_VBOOT_2STRUCT_H_
|
||||
#ifndef VBOOT_REFERENCE_2STRUCT_H_
|
||||
#define VBOOT_REFERENCE_2STRUCT_H_
|
||||
|
||||
#include "2constants.h"
|
||||
#include "2crypto.h"
|
||||
#include "2sysincludes.h"
|
||||
|
@ -333,4 +334,4 @@ struct vb2_packed_key {
|
|||
|
||||
#define EXPECTED_VB2_PACKED_KEY_SIZE 32
|
||||
|
||||
#endif /* VBOOT_REFERENCE_VBOOT_2STRUCT_H_ */
|
||||
#endif /* VBOOT_REFERENCE_2STRUCT_H_ */
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
* fixed up for platforms which don't have all the system includes.
|
||||
*/
|
||||
|
||||
#ifndef VBOOT_REFERENCE_2_SYSINCLUDES_H_
|
||||
#define VBOOT_REFERENCE_2_SYSINCLUDES_H_
|
||||
#ifndef VBOOT_REFERENCE_2SYSINCLUDES_H_
|
||||
#define VBOOT_REFERENCE_2SYSINCLUDES_H_
|
||||
|
||||
#include <ctype.h>
|
||||
#include <inttypes.h> /* For PRIu64 */
|
||||
|
@ -25,4 +25,4 @@
|
|||
#include <memory.h>
|
||||
#endif
|
||||
|
||||
#endif /* VBOOT_REFERENCE_2_SYSINCLUDES_H_ */
|
||||
#endif /* VBOOT_REFERENCE_2SYSINCLUDES_H_ */
|
||||
|
|
|
@ -7,8 +7,10 @@
|
|||
* To download UEFI standard, please visit UEFI homepage:
|
||||
* http://www.uefi.org/
|
||||
*/
|
||||
|
||||
#ifndef VBOOT_REFERENCE_CGPTLIB_GPT_H_
|
||||
#define VBOOT_REFERENCE_CGPTLIB_GPT_H_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
* found in the LICENSE file.
|
||||
*/
|
||||
|
||||
#ifndef VBOOT_REFERENCE_CGPT_MISC_H_
|
||||
#define VBOOT_REFERENCE_CGPT_MISC_H_
|
||||
#ifndef VBOOT_REFERENCE_GPT_MISC_H_
|
||||
#define VBOOT_REFERENCE_GPT_MISC_H_
|
||||
|
||||
#include "gpt.h"
|
||||
#include "vboot_api.h"
|
||||
|
@ -217,4 +217,4 @@ void SetEntryTries(GptEntry *e, int tries);
|
|||
}
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#endif /* VBOOT_REFERENCE_CGPT_MISC_H_ */
|
||||
#endif /* VBOOT_REFERENCE_GPT_MISC_H_ */
|
||||
|
|
|
@ -1,16 +1,15 @@
|
|||
/* Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
|
||||
/*
|
||||
*
|
||||
* TPM Lightweight Command Library.
|
||||
*
|
||||
* A low-level library for interfacing to TPM hardware or an emulator.
|
||||
*/
|
||||
|
||||
#ifndef TPM_LITE_TLCL_H_
|
||||
#define TPM_LITE_TLCL_H_
|
||||
#ifndef VBOOT_REFERENCE_TLCL_H_
|
||||
#define VBOOT_REFERENCE_TLCL_H_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "tss_constants.h"
|
||||
|
@ -322,4 +321,4 @@ uint32_t TlclReadDelegationFamilyTable(TPM_FAMILY_TABLE_ENTRY *table,
|
|||
}
|
||||
#endif
|
||||
|
||||
#endif /* TPM_LITE_TLCL_H_ */
|
||||
#endif /* VBOOT_REFERENCE_TLCL_H_ */
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
/*
|
||||
* Copyright 2016 The Chromium OS Authors. All rights reserved.
|
||||
/* Copyright 2016 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*
|
||||
* Some TPM constants and type definitions for standalone compilation for use
|
||||
* in the firmware
|
||||
*/
|
||||
#ifndef __VBOOT_REFERENCE_FIRMWARE_INCLUDE_TPM1_TSS_CONSTANTS_H
|
||||
#define __VBOOT_REFERENCE_FIRMWARE_INCLUDE_TPM1_TSS_CONSTANTS_H
|
||||
|
||||
#ifndef VBOOT_REFERENCE_TPM1_TSS_CONSTANTS_H_
|
||||
#define VBOOT_REFERENCE_TPM1_TSS_CONSTANTS_H_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
|
@ -259,4 +259,4 @@ typedef struct tdTPM_NV_AUTH_POLICY
|
|||
}
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#endif /* ! __VBOOT_REFERENCE_FIRMWARE_INCLUDE_TPM1_TSS_CONSTANTS_H */
|
||||
#endif /* VBOOT_REFERENCE_TPM1_TSS_CONSTANTS_H_ */
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
/*
|
||||
* Copyright 2016 The Chromium OS Authors. All rights reserved.
|
||||
/* Copyright 2016 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
#ifndef __SRC_LIB_TPM2_MARSHALING_H
|
||||
#define __SRC_LIB_TPM2_MARSHALING_H
|
||||
|
||||
#ifndef VBOOT_REFERENCE_TPM2_MARSHALING_H_
|
||||
#define VBOOT_REFERENCE_TPM2_MARSHALING_H_
|
||||
|
||||
#include "tss_constants.h"
|
||||
|
||||
|
@ -94,4 +94,4 @@ int tpm_is_ph_disabled(void);
|
|||
}
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#endif // __SRC_LIB_TPM2_MARSHALING_H
|
||||
#endif /* VBOOT_REFERENCE_TPM2_MARSHALING_H_ */
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
/*
|
||||
* Copyright 2016 The Chromium OS Authors. All rights reserved.
|
||||
/* Copyright 2016 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*
|
||||
|
@ -7,8 +6,8 @@
|
|||
* in the firmware
|
||||
*/
|
||||
|
||||
#ifndef __VBOOT_REFERENCE_FIRMWARE_INCLUDE_TPM2_TSS_CONSTANTS_H
|
||||
#define __VBOOT_REFERENCE_FIRMWARE_INCLUDE_TPM2_TSS_CONSTANTS_H
|
||||
#ifndef VBOOT_REFERENCE_TPM2_TSS_CONSTANTS_H_
|
||||
#define VBOOT_REFERENCE_TPM2_TSS_CONSTANTS_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
@ -319,4 +318,4 @@ typedef struct tdTPM_IFX_FIELDUPGRADEINFO
|
|||
}
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#endif /* ! __VBOOT_REFERENCE_FIRMWARE_INCLUDE_TPM2_TSS_CONSTANTS_H */
|
||||
#endif /* VBOOT_REFERENCE_TPM2_TSS_CONSTANTS_H_ */
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
/* Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef VBOOT_REFERENCE_TSS_CONSTANTS_H_
|
||||
#define VBOOT_REFERENCE_TSS_CONSTANTS_H_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#define TPM_SUCCESS ((uint32_t) 0x00000000)
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
/* Copyright (c) 2014 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
|
||||
/* APIs between calling firmware and vboot_reference
|
||||
*
|
||||
* APIs between calling firmware and vboot_reference
|
||||
*
|
||||
* DO NOT INCLUDE THE HEADERS BELOW DIRECTLY! ONLY INCLUDE THIS FILE!
|
||||
*
|
||||
|
@ -18,8 +17,8 @@
|
|||
* this switch is a bug, and it should be removed when it is no longer used.
|
||||
*/
|
||||
|
||||
#ifndef VBOOT_VB2_API_H_
|
||||
#define VBOOT_VB2_API_H_
|
||||
#ifndef VBOOT_REFERENCE_VB2_API_H_
|
||||
#define VBOOT_REFERENCE_VB2_API_H_
|
||||
|
||||
/* Standard APIs */
|
||||
#include "../2lib/include/2api.h"
|
||||
|
@ -40,4 +39,4 @@
|
|||
#include "../lib20/include/vb2_struct.h"
|
||||
#endif
|
||||
|
||||
#endif /* VBOOT_VB2_API_H_ */
|
||||
#endif /* VBOOT_REFERENCE_VB2_API_H_ */
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*
|
||||
* This header may be imported to expose vboot SHA implemenation.
|
||||
* This header may be imported to expose vboot SHA implementation.
|
||||
*/
|
||||
|
||||
#ifndef VBOOT_REFERENCE_VB2_SHA_H_
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
/* Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
|
||||
/* APIs provided by firmware to vboot_reference.
|
||||
*
|
||||
* APIs provided by firmware to vboot_reference.
|
||||
*
|
||||
* General notes:
|
||||
*
|
||||
|
@ -21,6 +20,7 @@
|
|||
|
||||
#ifndef VBOOT_REFERENCE_VBOOT_API_H_
|
||||
#define VBOOT_REFERENCE_VBOOT_API_H_
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
|
||||
#ifndef VBOOT_REFERENCE_VBOOT_STRUCT_H_
|
||||
#define VBOOT_REFERENCE_VBOOT_STRUCT_H_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
/*
|
||||
|
|
|
@ -1,14 +1,13 @@
|
|||
/* Copyright 2019 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*
|
||||
*
|
||||
* This header is for APIs that are only used by test code.
|
||||
*/
|
||||
|
||||
#ifndef VBOOT_REFERENCE_TEST_API_H_
|
||||
#define VBOOT_REFERENCE_TEST_API_H_
|
||||
|
||||
/* This header is for APIs that are only used by test code. */
|
||||
|
||||
/*
|
||||
* Internal functions from 2rsa.c that have error conditions we can't trigger
|
||||
* from the public APIs. These include checks for bad algorithms where the
|
||||
|
|
|
@ -166,4 +166,4 @@ const char *GptErrorText(int error_code);
|
|||
*/
|
||||
size_t CalculateEntriesSectors(GptHeader* h, uint32_t sector_bytes);
|
||||
|
||||
#endif /* VBOOT_REFERENCE_CGPTLIB_INTERNAL_H_ */
|
||||
#endif /* VBOOT_REFERENCE_CGPTLIB_INTERNAL_H_ */
|
||||
|
|
|
@ -2,11 +2,12 @@
|
|||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
#ifndef VBOOT_REFERENCE_GPT_CRC32_H_
|
||||
#define VBOOT_REFERENCE_GPT_CRC32_H_
|
||||
|
||||
#ifndef VBOOT_REFERENCE_CRC32_H_
|
||||
#define VBOOT_REFERENCE_CRC32_H_
|
||||
|
||||
#include "2sysincludes.h"
|
||||
|
||||
uint32_t Crc32(const void *buffer, uint32_t len);
|
||||
|
||||
#endif /* VBOOT_REFERENCE_GPT_CRC32_H_ */
|
||||
#endif /* VBOOT_REFERENCE_CRC32_H_ */
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
/* Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
|
||||
/*
|
||||
*
|
||||
* Helper functions/wrappers for memory allocations, manipulation and
|
||||
* comparison.
|
||||
*/
|
||||
|
|
|
@ -20,5 +20,4 @@ void vb2_audio_start(struct vb2_context *ctx);
|
|||
*/
|
||||
int vb2_audio_looping(void);
|
||||
|
||||
#endif /* VBOOT_REFERENCE_VBOOT_AUDIO_H_ */
|
||||
|
||||
#endif /* VBOOT_REFERENCE_VBOOT_AUDIO_H_ */
|
||||
|
|
|
@ -22,5 +22,4 @@ vb2_error_t VbCheckDisplayKey(struct vb2_context *ctx, uint32_t key,
|
|||
*/
|
||||
const char *RecoveryReasonString(uint8_t code);
|
||||
|
||||
#endif /* VBOOT_REFERENCE_VBOOT_DISPLAY_H_ */
|
||||
|
||||
#endif /* VBOOT_REFERENCE_VBOOT_DISPLAY_H_ */
|
||||
|
|
|
@ -90,4 +90,4 @@ typedef enum _VB_OPTIONS_MENU {
|
|||
VB_OPTIONS_COUNT,
|
||||
} VB_OPTIONS_MENU;
|
||||
|
||||
#endif
|
||||
#endif /* VBOOT_REFERENCE_VBOOT_UI_MENU_PRIVATE_H_ */
|
||||
|
|
|
@ -31,7 +31,7 @@ uint32_t WriteSpaceKernel(RollbackSpaceKernel *rsk);
|
|||
/*
|
||||
* Compiling for unit test, so we need the real implementations of
|
||||
* rollback functions. The unit test mocks the underlying tlcl
|
||||
* functions, so this is ok to run on the host.
|
||||
* functions, so this is okay to run on the host.
|
||||
*/
|
||||
#undef CHROMEOS_ENVIRONMENT
|
||||
#undef DISABLE_ROLLBACK_TPM
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
/*
|
||||
* Copyright 2016 The Chromium OS Authors. All rights reserved.
|
||||
/* Copyright 2016 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
/*
|
||||
* Copyright 2016 The Chromium OS Authors. All rights reserved.
|
||||
/* Copyright 2016 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*
|
||||
|
@ -7,13 +6,12 @@
|
|||
* in the firmware
|
||||
*/
|
||||
|
||||
#include "2sysincludes.h"
|
||||
#include "2common.h"
|
||||
|
||||
#include "rollback_index.h"
|
||||
#include "2sysincludes.h"
|
||||
#include "tlcl.h"
|
||||
#include "tpm2_marshaling.h"
|
||||
#include "utility.h"
|
||||
#include "tlcl.h"
|
||||
|
||||
/* Global buffer for deserialized responses. */
|
||||
struct tpm2_response tpm2_resp;
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
* found in the LICENSE file.
|
||||
*/
|
||||
|
||||
#ifndef TPM_LITE_TLCL_INTERNAL_H_
|
||||
#define TPM_LITE_TLCL_INTERNAL_H_
|
||||
#ifndef VBOOT_REFERENCE_TLCL_INTERNAL_H_
|
||||
#define VBOOT_REFERENCE_TLCL_INTERNAL_H_
|
||||
|
||||
/*
|
||||
* These numbers derive from adding the sizes of command fields as shown in the
|
||||
|
@ -84,4 +84,4 @@ static inline uint16_t ReadTpmUint16(const uint8_t **buffer) {
|
|||
return value;
|
||||
}
|
||||
|
||||
#endif /* TPM_LITE_TLCL_INTERNAL_H_ */
|
||||
#endif /* VBOOT_REFERENCE_TLCL_INTERNAL_H_ */
|
||||
|
|
|
@ -1,16 +1,15 @@
|
|||
/* Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
|
||||
/* TPM error codes.
|
||||
*
|
||||
* TPM error codes.
|
||||
*
|
||||
* Copy-pasted and lightly edited from TCG TPM Main Part 2 TPM Structures
|
||||
* Version 1.2 Level 2 Revision 103 26 October 2006 Draft.
|
||||
*/
|
||||
|
||||
#ifndef TPM_ERROR_MESSAGES_H
|
||||
#define TPM_ERROR_MESSAGES_H
|
||||
#ifndef VBOOT_REFERENCE_TPM_ERROR_MESSAGES_H_
|
||||
#define VBOOT_REFERENCE_TPM_ERROR_MESSAGES_H_
|
||||
|
||||
#define TPM_E_BASE 0x0
|
||||
#define TPM_E_NON_FATAL 0x800
|
||||
|
@ -247,4 +246,4 @@ because the ordinal required resources that have not been tested" },
|
|||
time-out period" },
|
||||
};
|
||||
|
||||
#endif /* TPM_ERROR_MESSAGES_H */
|
||||
#endif /* VBOOT_REFERENCE_TPM_ERROR_MESSAGES_H_ */
|
||||
|
|
|
@ -10,6 +10,8 @@
|
|||
#include "2misc.h"
|
||||
#include "2nvstorage.h"
|
||||
#include "2rsa.h"
|
||||
#include "2secdata.h"
|
||||
#include "2sysincludes.h"
|
||||
#include "ec_sync.h"
|
||||
#include "load_kernel_fw.h"
|
||||
#include "rollback_index.h"
|
||||
|
|
|
@ -6,12 +6,12 @@
|
|||
* (Firmware portion)
|
||||
*/
|
||||
|
||||
#include "2sysincludes.h"
|
||||
#include "2common.h"
|
||||
#include "2misc.h"
|
||||
#include "2nvstorage.h"
|
||||
#include "2rsa.h"
|
||||
#include "2sha.h"
|
||||
#include "2sysincludes.h"
|
||||
#include "cgptlib.h"
|
||||
#include "cgptlib_internal.h"
|
||||
#include "gpt_misc.h"
|
||||
|
|
|
@ -531,9 +531,9 @@ static vb2_error_t vb2_developer_ui(struct vb2_context *ctx)
|
|||
/* Check if the default is to boot using disk, usb, or legacy */
|
||||
uint32_t default_boot = vb2_nv_get(ctx, VB2_NV_DEV_DEFAULT_BOOT);
|
||||
|
||||
if(default_boot == VB2_DEV_DEFAULT_BOOT_USB)
|
||||
if (default_boot == VB2_DEV_DEFAULT_BOOT_USB)
|
||||
use_usb = 1;
|
||||
if(default_boot == VB2_DEV_DEFAULT_BOOT_LEGACY)
|
||||
if (default_boot == VB2_DEV_DEFAULT_BOOT_LEGACY)
|
||||
use_legacy = 1;
|
||||
|
||||
/* Handle GBB flag override */
|
||||
|
|
|
@ -5,10 +5,9 @@
|
|||
* High-level firmware wrapper API - user interface for RW firmware
|
||||
*/
|
||||
|
||||
#include "2sysincludes.h"
|
||||
#include "2common.h"
|
||||
|
||||
#include "rollback_index.h"
|
||||
#include "2sysincludes.h"
|
||||
#include "vboot_api.h"
|
||||
#include "vboot_kernel.h"
|
||||
#include "vboot_ui_common.h"
|
||||
|
|
|
@ -5,11 +5,11 @@
|
|||
* High-level firmware wrapper API - user interface for RW firmware
|
||||
*/
|
||||
|
||||
#include "2sysincludes.h"
|
||||
#include "2common.h"
|
||||
#include "2misc.h"
|
||||
#include "2nvstorage.h"
|
||||
#include "2rsa.h"
|
||||
#include "2sysincludes.h"
|
||||
#include "ec_sync.h"
|
||||
#include "load_kernel_fw.h"
|
||||
#include "rollback_index.h"
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
|
||||
#ifndef VBOOT_REFERENCE_VB2_STRUCT_H_
|
||||
#define VBOOT_REFERENCE_VB2_STRUCT_H_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
/*
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
|
||||
#ifndef VBOOT_REFERENCE_VB21_STRUCT_H_
|
||||
#define VBOOT_REFERENCE_VB21_STRUCT_H_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "2id.h"
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
/*
|
||||
* Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
|
||||
/* Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <getopt.h>
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
/*
|
||||
* Copyright 2014 The Chromium OS Authors. All rights reserved.
|
||||
/* Copyright 2014 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
|
||||
#include <errno.h>
|
||||
#include <getopt.h>
|
||||
#include <inttypes.h>
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
/*
|
||||
* Copyright 2014 The Chromium OS Authors. All rights reserved.
|
||||
/* Copyright 2014 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <getopt.h>
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
/*
|
||||
* Copyright 2014 The Chromium OS Authors. All rights reserved.
|
||||
/* Copyright 2014 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
/*
|
||||
* Copyright 2014 The Chromium OS Authors. All rights reserved.
|
||||
/* Copyright 2014 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
/*
|
||||
* Copyright 2014 The Chromium OS Authors. All rights reserved.
|
||||
/* Copyright 2014 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <getopt.h>
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
/*
|
||||
* Copyright 2018 The Chromium OS Authors. All rights reserved.
|
||||
/* Copyright 2018 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
/*
|
||||
* Copyright 2016 The Chromium OS Authors. All rights reserved.
|
||||
/* Copyright 2016 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
/*
|
||||
* Copyright 2014 The Chromium OS Authors. All rights reserved.
|
||||
/* Copyright 2014 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
/*
|
||||
* Copyright 2015 The Chromium OS Authors. All rights reserved.
|
||||
/* Copyright 2015 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
/*
|
||||
* Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
|
||||
/* Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
#ifndef VBOOT_REFERENCE_FUTILITY_FILE_TYPE_H_
|
||||
#define VBOOT_REFERENCE_FUTILITY_FILE_TYPE_H_
|
||||
|
||||
#ifndef VBOOT_REFERENCE_FILE_TYPE_H_
|
||||
#define VBOOT_REFERENCE_FILE_TYPE_H_
|
||||
|
||||
/* What type of things do I know how to handle? */
|
||||
enum futil_file_type {
|
||||
|
@ -76,4 +76,4 @@ int futil_file_type_sign(enum futil_file_type type,
|
|||
#undef R_
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
#endif /* VBOOT_REFERENCE_FUTILITY_FILE_TYPE_H_ */
|
||||
#endif /* VBOOT_REFERENCE_FILE_TYPE_H_ */
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
/*
|
||||
* Copyright 2014 The Chromium OS Authors. All rights reserved.
|
||||
/* Copyright 2014 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
|
||||
#include <errno.h>
|
||||
#include <limits.h>
|
||||
#include <stdint.h>
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
/*
|
||||
* Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
|
||||
/* Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
#ifndef VBOOT_REFERENCE_FUTILITY_FILE_TYPE_BIOS_H_
|
||||
#define VBOOT_REFERENCE_FUTILITY_FILE_TYPE_BIOS_H_
|
||||
|
||||
#ifndef VBOOT_REFERENCE_FILE_TYPE_BIOS_H_
|
||||
#define VBOOT_REFERENCE_FILE_TYPE_BIOS_H_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
/*
|
||||
|
@ -39,4 +40,4 @@ struct bios_state_s {
|
|||
struct bios_area_s rootkey;
|
||||
};
|
||||
|
||||
#endif /* VBOOT_REFERENCE_FUTILITY_FILE_TYPE_BIOS_H_ */
|
||||
#endif /* VBOOT_REFERENCE_FILE_TYPE_BIOS_H_ */
|
||||
|
|
|
@ -1,10 +1,7 @@
|
|||
/*
|
||||
* Copyright 2015 The Chromium OS Authors. All rights reserved.
|
||||
/* Copyright 2015 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
|
||||
/*
|
||||
*
|
||||
* Some instances of the Chrome OS embedded controller firmware can't do a
|
||||
* normal software sync handshake at boot, but will verify their own RW images
|
||||
* instead. This is typically done by putting a struct vb2_packed_key in the RO
|
||||
|
|
|
@ -1,10 +1,7 @@
|
|||
/*
|
||||
* Copyright 2015 The Chromium OS Authors. All rights reserved.
|
||||
/* Copyright 2015 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
|
||||
/*
|
||||
*
|
||||
* The USB Type-C chargers released with Samus ("Pixel (2015)") have upgradable
|
||||
* firmware. Due to space considerations, we don't have room for handy things
|
||||
* like an FMAP or headers for the signatures. Accordingly, all the normally
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
/*
|
||||
* Copyright 2013 The Chromium OS Authors. All rights reserved.
|
||||
/* Copyright 2013 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
/*
|
||||
* Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
|
||||
/* Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
|
||||
#ifndef VBOOT_REFERENCE_FUTILITY_H_
|
||||
#define VBOOT_REFERENCE_FUTILITY_H_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "2common.h"
|
||||
|
@ -165,4 +166,4 @@ enum arch_t {
|
|||
ARCH_MIPS
|
||||
};
|
||||
|
||||
#endif /* VBOOT_REFERENCE_FUTILITY_H_ */
|
||||
#endif /* VBOOT_REFERENCE_FUTILITY_H_ */
|
||||
|
|
|
@ -1,16 +1,14 @@
|
|||
/*
|
||||
* Copyright 2015 The Chromium OS Authors. All rights reserved.
|
||||
/* Copyright 2015 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
|
||||
/*
|
||||
*
|
||||
* We centralize option parsing but may split operations into multiple files,
|
||||
* so let's declare the option structures in a single place (here).
|
||||
*/
|
||||
|
||||
#ifndef VBOOT_REFERENCE_FUTILITY_OPTIONS_H_
|
||||
#define VBOOT_REFERENCE_FUTILITY_OPTIONS_H_
|
||||
|
||||
#include <stdint.h>
|
||||
#include "vboot_common.h"
|
||||
#include "file_type.h"
|
||||
|
@ -72,4 +70,4 @@ extern struct sign_option_s sign_option;
|
|||
/* Return true if hash_alg was identified, either by name or number */
|
||||
int vb2_lookup_hash_alg(const char *str, enum vb2_hash_algorithm *alg);
|
||||
|
||||
#endif /* VBOOT_REFERENCE_FUTILITY_OPTIONS_H_ */
|
||||
#endif /* VBOOT_REFERENCE_FUTILITY_OPTIONS_H_ */
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
*
|
||||
* Constants describing the kernel blob content.
|
||||
*/
|
||||
|
||||
#ifndef VBOOT_REFERENCE_KERNEL_BLOB_H_
|
||||
#define VBOOT_REFERENCE_KERNEL_BLOB_H_
|
||||
|
||||
|
@ -63,4 +64,4 @@ struct linux_kernel_params {
|
|||
e820_entries[E820_ENTRY_MAX]; /* 2d0-cd0 */
|
||||
} __attribute__ ((packed));
|
||||
|
||||
#endif /* VBOOT_REFERENCE_KERNEL_BLOB_H_ */
|
||||
#endif /* VBOOT_REFERENCE_KERNEL_BLOB_H_ */
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
/*
|
||||
* Copyright 2014 The Chromium OS Authors. All rights reserved.
|
||||
/* Copyright 2014 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
/*
|
||||
* Copyright 2015 The Chromium OS Authors. All rights reserved.
|
||||
/* Copyright 2015 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
|
||||
#include <errno.h>
|
||||
#include <getopt.h>
|
||||
#include <inttypes.h>
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
/*
|
||||
* Copyright 2018 The Chromium OS Authors. All rights reserved.
|
||||
/* Copyright 2018 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
/*
|
||||
* Copyright 2018 The Chromium OS Authors. All rights reserved.
|
||||
/* Copyright 2018 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*
|
||||
* A reference implementation for AP (and supporting images) firmware updater.
|
||||
*/
|
||||
|
||||
#ifndef VBOOT_REFERENCE_FUTILITY_UPDATER_H_
|
||||
#define VBOOT_REFERENCE_FUTILITY_UPDATER_H_
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
/*
|
||||
* Copyright 2018 The Chromium OS Authors. All rights reserved.
|
||||
/* Copyright 2018 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
/*
|
||||
* Copyright 2018 The Chromium OS Authors. All rights reserved.
|
||||
/* Copyright 2018 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
/*
|
||||
* Copyright 2014 The Chromium OS Authors. All rights reserved.
|
||||
/* Copyright 2014 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
/*
|
||||
* Copyright (c) 2014 The Chromium OS Authors. All rights reserved.
|
||||
/* Copyright (c) 2014 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
#ifndef VBOOT_REFERENCE_FUTILITY_VB1_HELPER_H_
|
||||
#define VBOOT_REFERENCE_FUTILITY_VB1_HELPER_H_
|
||||
#ifndef VBOOT_REFERENCE_VB1_HELPER_H_
|
||||
#define VBOOT_REFERENCE_VB1_HELPER_H_
|
||||
|
||||
struct vb2_kernel_preamble;
|
||||
struct vb2_keyblock;
|
||||
|
@ -67,4 +66,4 @@ int VerifyKernelBlob(uint8_t *kernel_blob,
|
|||
|
||||
uint64_t kernel_cmd_line_offset(const struct vb2_kernel_preamble *preamble);
|
||||
|
||||
#endif /* VBOOT_REFERENCE_FUTILITY_VB1_HELPER_H_ */
|
||||
#endif /* VBOOT_REFERENCE_VB1_HELPER_H_ */
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
/*
|
||||
* Copyright 2015 The Chromium OS Authors. All rights reserved.
|
||||
/* Copyright 2015 The Chromium OS Authors. All rights reserved.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
* found in the LICENSE file.
|
||||
*/
|
||||
|
||||
#ifndef VBOOT_REFERENCE_CGPT_CGPT_PARAMS_H_
|
||||
#define VBOOT_REFERENCE_CGPT_CGPT_PARAMS_H_
|
||||
#ifndef VBOOT_REFERENCE_CGPT_PARAMS_H_
|
||||
#define VBOOT_REFERENCE_CGPT_PARAMS_H_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
|
@ -139,4 +139,4 @@ typedef struct CgptLegacyParams {
|
|||
}
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#endif /* VBOOT_REFERENCE_CGPT_CGPT_PARAMS_H_ */
|
||||
#endif /* VBOOT_REFERENCE_CGPT_PARAMS_H_ */
|
||||
|
|
|
@ -49,4 +49,4 @@ int VbSetSystemPropertyString(const char* name, const char* value);
|
|||
}
|
||||
#endif
|
||||
|
||||
#endif /* VBOOT_REFERENCE__CROSSYSTEM_H_ */
|
||||
#endif /* VBOOT_REFERENCE_CROSSYSTEM_H_ */
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue