CryptoPkg/BaseCryptLib: Make comments consistent with the function
Correct the unaligned parameter names in comments (BaseCryptLib.h and HMAC-SHA256 wrapper implementation) Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan.bi@intel.com> Reviewed-by: Qin Long <qin.long@intel.com>
This commit is contained in:
@@ -161,10 +161,10 @@ HmacSha256Update (
|
||||
not be finalized by HmacSha256Final(). Behavior with invalid HMAC-SHA256 context is undefined.
|
||||
|
||||
If HmacSha256Context is NULL, then return FALSE.
|
||||
If HashValue is NULL, then return FALSE.
|
||||
If HmacValue is NULL, then return FALSE.
|
||||
|
||||
@param[in, out] HmacSha256Context Pointer to the HMAC-SHA256 context.
|
||||
@param[out] HashValue Pointer to a buffer that receives the HMAC-SHA256 digest
|
||||
@param[out] HmacValue Pointer to a buffer that receives the HMAC-SHA256 digest
|
||||
value (32 bytes).
|
||||
|
||||
@retval TRUE HMAC-SHA256 digest computation succeeded.
|
||||
|
@@ -109,7 +109,7 @@ HmacSha256Update (
|
||||
Return FALSE to indicate this interface is not supported.
|
||||
|
||||
@param[in, out] HmacSha256Context Pointer to the HMAC-SHA256 context.
|
||||
@param[out] HashValue Pointer to a buffer that receives the HMAC-SHA256 digest
|
||||
@param[out] HmacValue Pointer to a buffer that receives the HMAC-SHA256 digest
|
||||
value (32 bytes).
|
||||
|
||||
@retval FALSE This interface is not supported.
|
||||
|
Reference in New Issue
Block a user