CryptoPkg: Fix various typos

Fix various typos in CryptoPkg.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Coeur <coeur@gmx.fr>
Reviewed-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Jian J Wang <jian.j.wang@intel.com>
This commit is contained in:
Antoine Coeur 2019-02-11 11:09:44 +08:00 committed by Jian J Wang
parent 7a90895306
commit 2a784a2cc3
2 changed files with 3 additions and 3 deletions

View File

@ -142,7 +142,7 @@ IMPLEMENT_ASN1_FUNCTIONS (TS_TST_INFO)
@param[in] Asn1Time Pointer to the ASN.1 GeneralizedTime to be converted. @param[in] Asn1Time Pointer to the ASN.1 GeneralizedTime to be converted.
@param[out] SigningTime Return the corresponding EFI Time. @param[out] SigningTime Return the corresponding EFI Time.
@retval TRUE The time convertion succeeds. @retval TRUE The time conversion succeeds.
@retval FALSE Invalid parameters. @retval FALSE Invalid parameters.
**/ **/

View File

@ -84,14 +84,14 @@ QuickSortWorker (
} }
} }
// //
// Swap pivot to it's final position (NextSwapLocaiton) // Swap pivot to its final position (NextSwapLocation)
// //
CopyMem (Buffer, Pivot, ElementSize); CopyMem (Buffer, Pivot, ElementSize);
CopyMem (Pivot, (UINT8 *)BufferToSort + (NextSwapLocation * ElementSize), ElementSize); CopyMem (Pivot, (UINT8 *)BufferToSort + (NextSwapLocation * ElementSize), ElementSize);
CopyMem ((UINT8 *)BufferToSort + (NextSwapLocation * ElementSize), Buffer, ElementSize); CopyMem ((UINT8 *)BufferToSort + (NextSwapLocation * ElementSize), Buffer, ElementSize);
// //
// Now recurse on 2 paritial lists. Neither of these will have the 'pivot' element. // Now recurse on 2 partial lists. Neither of these will have the 'pivot' element.
// IE list is sorted left half, pivot element, sorted right half... // IE list is sorted left half, pivot element, sorted right half...
// //
QuickSortWorker ( QuickSortWorker (