aboutsummaryrefslogtreecommitdiff
path: root/src/security/tpm/tss/tcg-1.2/tss.c
diff options
context:
space:
mode:
authorJacob Garber <jgarber1@ualberta.ca>2020-05-18 13:18:19 -0600
committerAngel Pons <th3fanbus@gmail.com>2020-05-25 22:18:13 +0000
commitfa8f567f3243e3d547a9e8388064a091ee294f98 (patch)
treeb394079a9e8ffc17c4bc15fbd64a7d96199932fb /src/security/tpm/tss/tcg-1.2/tss.c
parente6fcfc2a48fdb96637ee50b9afed98e38ce01a0a (diff)
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>
Diffstat (limited to 'src/security/tpm/tss/tcg-1.2/tss.c')
-rw-r--r--src/security/tpm/tss/tcg-1.2/tss.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/security/tpm/tss/tcg-1.2/tss.c b/src/security/tpm/tss/tcg-1.2/tss.c
index ea3f94d5f8..4434ca6983 100644
--- a/src/security/tpm/tss/tcg-1.2/tss.c
+++ b/src/security/tpm/tss/tcg-1.2/tss.c
@@ -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,