]> git.proxmox.com Git - mirror_edk2.git/blobdiff - CryptoPkg/Include/Library/BaseCryptLib.h
CryptoPkg: BaseCryptLib: Update Salt length requirement for RSA-PSS scheme.
[mirror_edk2.git] / CryptoPkg / Include / Library / BaseCryptLib.h
index 8c7d5922ef96ce6b55943af3586e3396aea805ce..630ccb5e75002d4834861729edea20d7831031c8 100644 (file)
@@ -1376,7 +1376,7 @@ RsaPkcs1Verify (
   If Message is NULL, then return FALSE.\r
   If MsgSize is zero or > INT_MAX, then return FALSE.\r
   If DigestLen is NOT 32, 48 or 64, return FALSE.\r
-  If SaltLen is < DigestLen, then return FALSE.\r
+  If SaltLen is not equal to DigestLen, then return FALSE.\r
   If SigSize is large enough but Signature is NULL, then return FALSE.\r
   If this interface is not supported, then return FALSE.\r
 \r
@@ -1411,7 +1411,7 @@ RsaPssSign (
   Verifies the RSA signature with RSASSA-PSS signature scheme defined in RFC 8017.\r
   Implementation determines salt length automatically from the signature encoding.\r
   Mask generation function is the same as the message digest algorithm.\r
-  Salt length should atleast be equal to digest length.\r
+  Salt length should be equal to digest length.\r
 \r
   @param[in]  RsaContext      Pointer to RSA context for signature verification.\r
   @param[in]  Message         Pointer to octet message to be verified.\r