aboutsummaryrefslogtreecommitdiff
path: root/src/security/tpm/tss
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-08-26 09:22:45 +0200
committerMichael Niewöhner <foss@mniewoehner.de>2020-09-21 16:26:17 +0000
commitf91bcb310bae7478104304bd18c75cdd73a1e229 (patch)
tree634e3dc37b7abd793dc6ee203f37d64674768655 /src/security/tpm/tss
parent4b7f3151a860b996bc5d42d3513c302d67f08f47 (diff)
src/security: Drop unneeded empty lines
Change-Id: Icb6057ac73fcc038981ef95a648420ac00b3c106 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/44808 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Diffstat (limited to 'src/security/tpm/tss')
-rw-r--r--src/security/tpm/tss/tcg-1.2/tss.c2
-rw-r--r--src/security/tpm/tss/tcg-1.2/tss_internal.h1
-rw-r--r--src/security/tpm/tss/vendor/cr50/cr50.h2
3 files changed, 0 insertions, 5 deletions
diff --git a/src/security/tpm/tss/tcg-1.2/tss.c b/src/security/tpm/tss/tcg-1.2/tss.c
index 30cd1cc3e9..a3d0235365 100644
--- a/src/security/tpm/tss/tcg-1.2/tss.c
+++ b/src/security/tpm/tss/tcg-1.2/tss.c
@@ -99,7 +99,6 @@ static uint32_t tlcl_send_receive_no_retry(const uint8_t *request,
return result;
}
-
/* Sends a TPM command and gets a response. Returns 0 if success or the TPM
* error code if error. Waits for the self test to complete if needed. */
uint32_t tlcl_send_receive(const uint8_t *request, uint8_t *response,
@@ -246,7 +245,6 @@ uint32_t tlcl_read(uint32_t index, void *data, uint32_t length)
return result;
}
-
uint32_t tlcl_assert_physical_presence(void)
{
VBDEBUG("TPM: Asserting physical presence\n");
diff --git a/src/security/tpm/tss/tcg-1.2/tss_internal.h b/src/security/tpm/tss/tcg-1.2/tss_internal.h
index 1f49f041f4..c5a5aaa187 100644
--- a/src/security/tpm/tss/tcg-1.2/tss_internal.h
+++ b/src/security/tpm/tss/tcg-1.2/tss_internal.h
@@ -15,7 +15,6 @@
#define kEncAuthLength 20
#define kPcrDigestLength 20
-
/*
* Conversion functions. to_tpm_TYPE puts a value of type TYPE into a TPM
* command buffer. from_tpm_TYPE gets a value of type TYPE from a TPM command
diff --git a/src/security/tpm/tss/vendor/cr50/cr50.h b/src/security/tpm/tss/vendor/cr50/cr50.h
index dadeddfb68..7730eccd29 100644
--- a/src/security/tpm/tss/vendor/cr50/cr50.h
+++ b/src/security/tpm/tss/vendor/cr50/cr50.h
@@ -40,7 +40,6 @@ enum cr50_tpm_mode {
TPM_MODE_INVALID,
};
-
/**
* CR50 specific tpm command to enable nvmem commits before internal timeout
* expires.
@@ -96,5 +95,4 @@ uint32_t tlcl_cr50_get_boot_mode(uint8_t *boot_mode);
*/
uint32_t tlcl_cr50_immediate_reset(uint16_t timeout_ms);
-
#endif /* CR50_TSS_STRUCTURES_H_ */