diff options
author | Michael D Kinney <michael.d.kinney@intel.com> | 2021-12-02 18:00:39 -0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-12-07 17:24:28 +0000 |
commit | c8f46130f88d0816ec6de8a8b69c63dcdd94e3a6 (patch) | |
tree | 7ebf3532b3714e10cafa928b6e2486f089c3f829 /CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs1OaepNull.c | |
parent | 9607597a746b6d3ded880de48f52080f0ddf9293 (diff) | |
download | edk2-c8f46130f88d0816ec6de8a8b69c63dcdd94e3a6.zip edk2-c8f46130f88d0816ec6de8a8b69c63dcdd94e3a6.tar.gz edk2-c8f46130f88d0816ec6de8a8b69c63dcdd94e3a6.tar.bz2 |
CryptoPkg: Change OPTIONAL keyword usage style
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3760
Update all use of ', OPTIONAL' to ' OPTIONAL,' for function params.
Cc: Andrew Fish <afish@apple.com>
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Michael Kubacki <michael.kubacki@microsoft.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Jian J Wang <jian.j.wang@intel.com>
Diffstat (limited to 'CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs1OaepNull.c')
-rw-r--r-- | CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs1OaepNull.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs1OaepNull.c b/CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs1OaepNull.c index 6571fc4..3650894 100644 --- a/CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs1OaepNull.c +++ b/CryptoPkg/Library/BaseCryptLib/Pk/CryptPkcs1OaepNull.c @@ -39,8 +39,8 @@ Pkcs1v2Encrypt ( IN UINTN PublicKeySize,
IN UINT8 *InData,
IN UINTN InDataSize,
- IN CONST UINT8 *PrngSeed, OPTIONAL
- IN UINTN PrngSeedSize, OPTIONAL
+ IN CONST UINT8 *PrngSeed OPTIONAL,
+ IN UINTN PrngSeedSize OPTIONAL,
OUT UINT8 **EncryptedData,
OUT UINTN *EncryptedDataSize
)
@@ -48,4 +48,3 @@ Pkcs1v2Encrypt ( ASSERT (FALSE);
return FALSE;
}
-
|