mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-20 20:24:28 +02:00
CryptoPkg: Correct some minor issues in function comments
Correct some minor comment issues in BaseCryptLib.h and CryptPkcs7Verify.c, including: - missed "out" in parameter property for ARC4 interfaces; - Wrong Comment tail in Pkcs7GetAttachedContent function Cc: Ting Ye <ting.ye@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Qin Long <qin.long@intel.com> Reviewed-by: Ye Ting <ting.ye@intel.com>
This commit is contained in:
parent
8b17683a27
commit
0c9fc4b167
@ -1790,7 +1790,7 @@ Arc4Init (
|
|||||||
If Output is NULL, then return FALSE.
|
If Output is NULL, then return FALSE.
|
||||||
If this interface is not supported, then return FALSE.
|
If this interface is not supported, then return FALSE.
|
||||||
|
|
||||||
@param[in] Arc4Context Pointer to the ARC4 context.
|
@param[in, out] Arc4Context Pointer to the ARC4 context.
|
||||||
@param[in] Input Pointer to the buffer containing the data to be encrypted.
|
@param[in] Input Pointer to the buffer containing the data to be encrypted.
|
||||||
@param[in] InputSize Size of the Input buffer in bytes.
|
@param[in] InputSize Size of the Input buffer in bytes.
|
||||||
@param[out] Output Pointer to a buffer that receives the ARC4 encryption output.
|
@param[out] Output Pointer to a buffer that receives the ARC4 encryption output.
|
||||||
@ -1822,7 +1822,7 @@ Arc4Encrypt (
|
|||||||
If Output is NULL, then return FALSE.
|
If Output is NULL, then return FALSE.
|
||||||
If this interface is not supported, then return FALSE.
|
If this interface is not supported, then return FALSE.
|
||||||
|
|
||||||
@param[in] Arc4Context Pointer to the ARC4 context.
|
@param[in, out] Arc4Context Pointer to the ARC4 context.
|
||||||
@param[in] Input Pointer to the buffer containing the data to be decrypted.
|
@param[in] Input Pointer to the buffer containing the data to be decrypted.
|
||||||
@param[in] InputSize Size of the Input buffer in bytes.
|
@param[in] InputSize Size of the Input buffer in bytes.
|
||||||
@param[out] Output Pointer to a buffer that receives the ARC4 decryption output.
|
@param[out] Output Pointer to a buffer that receives the ARC4 decryption output.
|
||||||
@ -2511,7 +2511,7 @@ Pkcs7Verify (
|
|||||||
@retval TRUE The P7Data was correctly formatted for processing.
|
@retval TRUE The P7Data was correctly formatted for processing.
|
||||||
@retval FALSE The P7Data was not correctly formatted for processing.
|
@retval FALSE The P7Data was not correctly formatted for processing.
|
||||||
|
|
||||||
*/
|
**/
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
EFIAPI
|
EFIAPI
|
||||||
Pkcs7GetAttachedContent (
|
Pkcs7GetAttachedContent (
|
||||||
|
@ -925,7 +925,7 @@ _Exit:
|
|||||||
@retval TRUE The P7Data was correctly formatted for processing.
|
@retval TRUE The P7Data was correctly formatted for processing.
|
||||||
@retval FALSE The P7Data was not correctly formatted for processing.
|
@retval FALSE The P7Data was not correctly formatted for processing.
|
||||||
|
|
||||||
*/
|
**/
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
EFIAPI
|
EFIAPI
|
||||||
Pkcs7GetAttachedContent (
|
Pkcs7GetAttachedContent (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user