aboutsummaryrefslogtreecommitdiff
path: root/src/security
diff options
context:
space:
mode:
Diffstat (limited to 'src/security')
-rw-r--r--src/security/tpm/tss.h2
-rw-r--r--src/security/tpm/tss/tcg-2.0/tss_marshaling.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/security/tpm/tss.h b/src/security/tpm/tss.h
index 807cb46a3e..548a39a774 100644
--- a/src/security/tpm/tss.h
+++ b/src/security/tpm/tss.h
@@ -144,7 +144,7 @@ uint32_t tlcl_assert_physical_presence(void);
uint32_t tlcl_physical_presence_cmd_enable(void);
/**
- * Finalize the physical presence settings: sofware PP is enabled, hardware PP
+ * Finalize the physical presence settings: software PP is enabled, hardware PP
* is disabled, and the lifetime lock is set. The TPM error code is returned.
*/
uint32_t tlcl_finalize_physical_presence(void);
diff --git a/src/security/tpm/tss/tcg-2.0/tss_marshaling.c b/src/security/tpm/tss/tcg-2.0/tss_marshaling.c
index 62bc6a9a35..21da73a885 100644
--- a/src/security/tpm/tss/tcg-2.0/tss_marshaling.c
+++ b/src/security/tpm/tss/tcg-2.0/tss_marshaling.c
@@ -471,12 +471,12 @@ static int unmarshal_nv_read(struct ibuf *ib, struct nv_read_response *nvr)
}
/*
- * Let's ignore the authorisation section. It should be 5 bytes total,
+ * Let's ignore the authorization section. It should be 5 bytes total,
* just confirm that this is the case and report any discrepancy.
*/
if (ibuf_remaining(ib) != 5)
printk(BIOS_ERR,
- "%s:%d - unexpected authorisation seciton size %zd\n",
+ "%s:%d - unexpected authorization section size %zd\n",
__func__, __LINE__, ibuf_remaining(ib));
ibuf_oob_drain(ib, ibuf_remaining(ib));