X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=CryptoPkg%2FLibrary%2FBaseCryptLib%2FHash%2FCryptSha512.c;fp=CryptoPkg%2FLibrary%2FBaseCryptLib%2FHash%2FCryptSha512.c;h=3ce372a066d67f08ac558048f1ac0278225540cb;hp=457151ed15cd1afae3d949d9435dbd3a4e611137;hb=2998af862469c6a05657e169d7def6f55420caad;hpb=f675a1b42235b508e17220878453b4b1f04dd990 diff --git a/CryptoPkg/Library/BaseCryptLib/Hash/CryptSha512.c b/CryptoPkg/Library/BaseCryptLib/Hash/CryptSha512.c index 457151ed15..3ce372a066 100644 --- a/CryptoPkg/Library/BaseCryptLib/Hash/CryptSha512.c +++ b/CryptoPkg/Library/BaseCryptLib/Hash/CryptSha512.c @@ -103,7 +103,7 @@ Sha384Duplicate ( This function performs SHA-384 digest on a data buffer of the specified size. It can be called multiple times to compute the digest of long or discontinuous data streams. - SHA-384 context should be already correctly intialized by Sha384Init(), and should not be finalized + SHA-384 context should be already correctly initialized by Sha384Init(), and should not be finalized by Sha384Final(). Behavior with invalid context is undefined. If Sha384Context is NULL, then return FALSE. @@ -150,7 +150,7 @@ Sha384Update ( This function completes SHA-384 hash computation and retrieves the digest value into the specified memory. After this function has been called, the SHA-384 context cannot be used again. - SHA-384 context should be already correctly intialized by Sha384Init(), and should not be + SHA-384 context should be already correctly initialized by Sha384Init(), and should not be finalized by Sha384Final(). Behavior with invalid SHA-384 context is undefined. If Sha384Context is NULL, then return FALSE. @@ -318,7 +318,7 @@ Sha512Duplicate ( This function performs SHA-512 digest on a data buffer of the specified size. It can be called multiple times to compute the digest of long or discontinuous data streams. - SHA-512 context should be already correctly intialized by Sha512Init(), and should not be finalized + SHA-512 context should be already correctly initialized by Sha512Init(), and should not be finalized by Sha512Final(). Behavior with invalid context is undefined. If Sha512Context is NULL, then return FALSE. @@ -365,7 +365,7 @@ Sha512Update ( This function completes SHA-512 hash computation and retrieves the digest value into the specified memory. After this function has been called, the SHA-512 context cannot be used again. - SHA-512 context should be already correctly intialized by Sha512Init(), and should not be + SHA-512 context should be already correctly initialized by Sha512Init(), and should not be finalized by Sha512Final(). Behavior with invalid SHA-512 context is undefined. If Sha512Context is NULL, then return FALSE.