\r
This function performs Hash digest on a data buffer of the specified size.\r
It can be called multiple times to compute the digest of long or discontinuous data streams.\r
- Hash context should be already correctly intialized by HashInit(), and should not be finalized\r
+ Hash context should be already correctly initialized by HashInit(), and should not be finalized\r
by HashFinal(). Behavior with invalid context is undefined.\r
\r
If HashContext is NULL, then return FALSE.\r
#define TCG_PP_OPERATION_RESPONSE_BIOS_FAILURE 0xFFFFFFF1\r
\r
//\r
-// The return code for Sumbit TPM Request to Pre-OS Environment\r
-// and Sumbit TPM Request to Pre-OS Environment 2\r
+// The return code for Submit TPM Request to Pre-OS Environment\r
+// and Submit TPM Request to Pre-OS Environment 2\r
//\r
#define TCG_PP_SUBMIT_REQUEST_TO_PREOS_SUCCESS 0\r
#define TCG_PP_SUBMIT_REQUEST_TO_PREOS_NOT_IMPLEMENTED 1\r
/**\r
\r
The function updates the ReadLocked and WriteLocked columns of the Global Locking Range.\r
- This funciton is required for a user1 authority, since a user1 authority shall only have access to ReadLocked and WriteLocked columns\r
+ This function is required for a user1 authority, since a user1 authority shall only have access to ReadLocked and WriteLocked columns\r
(not ReadLockEnabled and WriteLockEnabled columns).\r
\r
@param[in] LockingSpSession OPAL_SESSION with OPAL_UID_LOCKING_SP to generate key\r
#define TREE_PP_OPERATION_RESPONSE_BIOS_FAILURE 0xFFFFFFF1\r
\r
//\r
-// The return code for Sumbit TPM Request to Pre-OS Environment\r
-// and Sumbit TPM Request to Pre-OS Environment 2\r
+// The return code for Submit TPM Request to Pre-OS Environment\r
+// and Submit TPM Request to Pre-OS Environment 2\r
//\r
#define TREE_PP_SUBMIT_REQUEST_TO_PREOS_SUCCESS 0\r
#define TREE_PP_SUBMIT_REQUEST_TO_PREOS_NOT_IMPLEMENTED 1\r
@param[in] DevicePath Points to device path.\r
@param[in] AccessType The type of user access control.\r
\r
- @retval TURE The DevicePath is in the specified List.\r
+ @retval TRUE The DevicePath is in the specified List.\r
@retval FALSE The DevicePath is not in the specified List.\r
\r
**/\r
\r
@param[in] DevicePath Points to device path\r
\r
- @retval TURE The image pointed by DevicePath is permitted to load.\r
+ @retval TRUE The image pointed by DevicePath is permitted to load.\r
@retval FALSE The image pointed by DevicePath is forbidden to load.\r
\r
**/\r
\r
@param[in] DevicePath Points to device path.\r
\r
- @retval TURE The image pointed by DevicePath is a boot option.\r
+ @retval TRUE The image pointed by DevicePath is a boot option.\r
@retval FALSE The image pointed by DevicePath is not a boot option.\r
\r
**/\r
@param SectionAttribute The attribute of the input guided section.\r
\r
@retval EFI_SUCCESS The size of destination buffer, the size of scratch buffer and \r
- the attribute of the input section are successull retrieved.\r
+ the attribute of the input section are successfully retrieved.\r
@retval EFI_INVALID_PARAMETER The GUID in InputSection does not match this instance guid.\r
\r
**/\r
@param SectionAttribute The attribute of the input guided section.\r
\r
@retval EFI_SUCCESS The size of destination buffer, the size of scratch buffer and \r
- the attribute of the input section are successull retrieved.\r
+ the attribute of the input section are successfully retrieved.\r
@retval EFI_INVALID_PARAMETER The GUID in InputSection does not match this instance guid.\r
\r
**/\r
\r
@param Discovery\r
\r
- @retval TURE if lock, FALSE if not lock.\r
+ @retval TRUE if lock, FALSE if not lock.\r
**/\r
BOOLEAN\r
EFIAPI\r
/**\r
\r
The function updates the ReadLocked and WriteLocked columns of the Global Locking Range.\r
- This funciton is required for a user1 authority, since a user1 authority shall only have access to ReadLocked and WriteLocked columns\r
+ This function is required for a user1 authority, since a user1 authority shall only have access to ReadLocked and WriteLocked columns\r
(not ReadLockEnabled and WriteLockEnabled columns).\r
\r
@param[in] LockingSpSession OPAL_SESSION with OPAL_UID_LOCKING_SP to generate key\r
ReadyToBoot callback to send BlockSid command.\r
\r
@param Event Pointer to this event\r
- @param Context Event hanlder private Data\r
+ @param Context Event handler private Data\r
\r
**/\r
VOID\r
for (PcrIndex = 0; PcrIndex < 7; PcrIndex++) {\r
Status = MeasureSeparatorEvent (PcrIndex);\r
if (EFI_ERROR (Status)) {\r
- DEBUG ((EFI_D_ERROR, "Seperator Event not Measured. Error!\n"));\r
+ DEBUG ((DEBUG_ERROR, "Separator Event not Measured. Error!\n"));\r
}\r
}\r
\r
for (PcrIndex = 0; PcrIndex < 8; PcrIndex++) {\r
Status = MeasureSeparatorEvent (PcrIndex);\r
if (EFI_ERROR (Status)) {\r
- DEBUG ((EFI_D_ERROR, "Seperator Event not Measured. Error!\n"));\r
+ DEBUG ((DEBUG_ERROR, "Separator Event not Measured. Error!\n"));\r
}\r
}\r
\r