diff options
author | Sean Brogan <sean.brogan@microsoft.com> | 2019-10-09 00:20:15 -0700 |
---|---|---|
committer | Michael D Kinney <michael.d.kinney@intel.com> | 2019-10-23 10:23:23 -0700 |
commit | d6b926e76e3d639ac37610e97d33ff9e3a6281eb (patch) | |
tree | 8a4857fd6aa97e149cb6e14d7722136e2cd59223 /SecurityPkg/Library/Tpm2CommandLib | |
parent | 6e7e9b95782413b6e32eb7a7f79c0aecc8ec6a18 (diff) | |
download | edk2-d6b926e76e3d639ac37610e97d33ff9e3a6281eb.zip edk2-d6b926e76e3d639ac37610e97d33ff9e3a6281eb.tar.gz edk2-d6b926e76e3d639ac37610e97d33ff9e3a6281eb.tar.bz2 |
SecurityPkg: Fix spelling errors
https://bugzilla.tianocore.org/show_bug.cgi?id=2265
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Chao Zhang <chao.b.zhang@intel.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Jiewen Yao <Jiewen.yao@intel.com>
Reviewed-by: Jian J Wang <jian.j.wang@intel.com>
Diffstat (limited to 'SecurityPkg/Library/Tpm2CommandLib')
-rw-r--r-- | SecurityPkg/Library/Tpm2CommandLib/Tpm2Capability.c | 4 | ||||
-rw-r--r-- | SecurityPkg/Library/Tpm2CommandLib/Tpm2Hierarchy.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/SecurityPkg/Library/Tpm2CommandLib/Tpm2Capability.c b/SecurityPkg/Library/Tpm2CommandLib/Tpm2Capability.c index 4e9f030..85b11c7 100644 --- a/SecurityPkg/Library/Tpm2CommandLib/Tpm2Capability.c +++ b/SecurityPkg/Library/Tpm2CommandLib/Tpm2Capability.c @@ -53,7 +53,7 @@ typedef struct { NOTE:
To simplify this function, leave returned CapabilityData for caller to unpack since there are
many capability categories and only few categories will be used in firmware. It means the caller
- need swap the byte order for the feilds in CapabilityData.
+ need swap the byte order for the fields in CapabilityData.
@param[in] Capability Group selection; determines the format of the response.
@param[in] Property Further definition of information.
@@ -119,7 +119,7 @@ Tpm2GetCapability ( //
*MoreData = RecvBuffer.MoreData;
//
- // Does not unpack all possiable property here, the caller should unpack it and note the byte order.
+ // Does not unpack all possible property here, the caller should unpack it and note the byte order.
//
CopyMem (CapabilityData, &RecvBuffer.CapabilityData, RecvBufferSize - sizeof (TPM2_RESPONSE_HEADER) - sizeof (UINT8));
diff --git a/SecurityPkg/Library/Tpm2CommandLib/Tpm2Hierarchy.c b/SecurityPkg/Library/Tpm2CommandLib/Tpm2Hierarchy.c index 8e05596..dc36963 100644 --- a/SecurityPkg/Library/Tpm2CommandLib/Tpm2Hierarchy.c +++ b/SecurityPkg/Library/Tpm2CommandLib/Tpm2Hierarchy.c @@ -435,7 +435,7 @@ Tpm2HierarchyChangeAuth ( WriteUnaligned16 ((UINT16 *)Buffer, SwapBytes16(NewAuth->size));
Buffer += sizeof(UINT16);
- // New Authorizeation
+ // New Authorization
CopyMem(Buffer, NewAuth->buffer, NewAuth->size);
Buffer += NewAuth->size;
|