security/tpm: Use SPDX identifiers
Also adjust a few comments to follow the style guide. Change-Id: I22001320f2ce1f0db348e0f7fabc5a65b50ba53e Signed-off-by: Jacob Garber <jgarber1@ualberta.ca> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41600 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
@@ -1,8 +1,4 @@
|
||||
/* Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
|
||||
* Copyright (C) 2018-2019 Eltan B.V.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
/* SPDX-License-Identifier: BSD-3-Clause */
|
||||
|
||||
/*
|
||||
* TPM Lightweight Command Library.
|
||||
|
@@ -1,9 +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.
|
||||
*/
|
||||
/* SPDX-License-Identifier: BSD-3-Clause */
|
||||
|
||||
/* A lightweight TPM command library.
|
||||
/*
|
||||
* A lightweight TPM command library.
|
||||
*
|
||||
* The general idea is that TPM commands are array of bytes whose
|
||||
* fields are mostly compile-time constant. The goal is to build much
|
||||
@@ -75,7 +73,8 @@ static inline int tpm_return_code(const uint8_t *buffer)
|
||||
return tpm_command_code(buffer);
|
||||
}
|
||||
|
||||
/* Like TlclSendReceive below, but do not retry if NEEDS_SELFTEST or
|
||||
/*
|
||||
* Like TlclSendReceive below, but do not retry if NEEDS_SELFTEST or
|
||||
* DOING_SELFTEST errors are returned.
|
||||
*/
|
||||
static uint32_t tlcl_send_receive_no_retry(const uint8_t *request,
|
||||
|
@@ -1,7 +1,4 @@
|
||||
/* 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.
|
||||
*/
|
||||
/* SPDX-License-Identifier: BSD-3-Clause */
|
||||
|
||||
#ifndef TCG_TSS_INTERNAL_H_
|
||||
#define TCG_TSS_INTERNAL_H_
|
||||
|
@@ -1,7 +1,6 @@
|
||||
/* 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.
|
||||
*
|
||||
/* SPDX-License-Identifier: BSD-3-Clause */
|
||||
|
||||
/*
|
||||
* Some TPM constants and type definitions for standalone compilation for use
|
||||
* in the firmware
|
||||
*/
|
||||
|
@@ -1,9 +1,4 @@
|
||||
/*
|
||||
* Copyright 2016 The Chromium OS Authors. All rights reserved.
|
||||
* Copyright 2017-2019 Eltan B.V.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
/* SPDX-License-Identifier: BSD-3-Clause */
|
||||
|
||||
#include <console/console.h>
|
||||
#include <endian.h>
|
||||
|
@@ -1,9 +1,4 @@
|
||||
/*
|
||||
* Copyright 2016 The Chromium OS Authors. All rights reserved.
|
||||
* Copyright (c) 2018 Eltan B.V.
|
||||
* Use of this source code is governed by a BSD-style license that can be
|
||||
* found in the LICENSE file.
|
||||
*/
|
||||
/* SPDX-License-Identifier: BSD-3-Clause */
|
||||
|
||||
#include <commonlib/iobuf.h>
|
||||
#include <console/console.h>
|
||||
|
@@ -1,8 +1,5 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
/* SPDX-License-Identifier: BSD-3-Clause */
|
||||
|
||||
#ifndef TCG2_TSS_MARSHALING_H_
|
||||
#define TCG2_TSS_MARSHALING_H_
|
||||
|
||||
|
@@ -1,8 +1,4 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
/* SPDX-License-Identifier: BSD-3-Clause */
|
||||
|
||||
#ifndef TCG2_TSS_STRUCTURES_H_
|
||||
#define TCG2_TSS_STRUCTURES_H_
|
||||
|
6
src/security/tpm/tss/vendor/cr50/cr50.c
vendored
6
src/security/tpm/tss/vendor/cr50/cr50.c
vendored
@@ -1,8 +1,4 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
/* SPDX-License-Identifier: BSD-3-Clause */
|
||||
|
||||
#include <console/console.h>
|
||||
#include <endian.h>
|
||||
|
@@ -1,9 +1,7 @@
|
||||
/* 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.
|
||||
*/
|
||||
/* SPDX-License-Identifier: BSD-3-Clause */
|
||||
|
||||
/* 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.
|
||||
|
Reference in New Issue
Block a user