diff options
Diffstat (limited to 'CryptoPkg/Library/BaseCryptLibMbedTls')
-rw-r--r-- | CryptoPkg/Library/BaseCryptLibMbedTls/Pk/CryptPkcs1OaepNull.c | 6 | ||||
-rw-r--r-- | CryptoPkg/Library/BaseCryptLibMbedTls/Pk/CryptX509Null.c | 6 |
2 files changed, 4 insertions, 8 deletions
diff --git a/CryptoPkg/Library/BaseCryptLibMbedTls/Pk/CryptPkcs1OaepNull.c b/CryptoPkg/Library/BaseCryptLibMbedTls/Pk/CryptPkcs1OaepNull.c index a686308..0273b7b 100644 --- a/CryptoPkg/Library/BaseCryptLibMbedTls/Pk/CryptPkcs1OaepNull.c +++ b/CryptoPkg/Library/BaseCryptLibMbedTls/Pk/CryptPkcs1OaepNull.c @@ -38,10 +38,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
)
diff --git a/CryptoPkg/Library/BaseCryptLibMbedTls/Pk/CryptX509Null.c b/CryptoPkg/Library/BaseCryptLibMbedTls/Pk/CryptX509Null.c index 8ee3d44..96356f8 100644 --- a/CryptoPkg/Library/BaseCryptLibMbedTls/Pk/CryptX509Null.c +++ b/CryptoPkg/Library/BaseCryptLibMbedTls/Pk/CryptX509Null.c @@ -377,8 +377,7 @@ EFIAPI X509GetSerialNumber (
IN CONST UINT8 *Cert,
IN UINTN CertSize,
- OUT UINT8 *SerialNumber,
- OPTIONAL
+ OUT UINT8 *SerialNumber OPTIONAL,
IN OUT UINTN *SerialNumberSize
)
{
@@ -441,8 +440,7 @@ EFIAPI X509GetSignatureAlgorithm (
IN CONST UINT8 *Cert,
IN UINTN CertSize,
- OUT UINT8 *Oid,
- OPTIONAL
+ OUT UINT8 *Oid OPTIONAL,
IN OUT UINTN *OidSize
)
{
|