Skip to content

Commit 7b4cff3

Browse files
committed
pss: remove broken link in the sign()/sign_pss_with_salt() docs
Signed-off-by: Dmitry Baryshkov <[email protected]>
1 parent 0bbe314 commit 7b4cff3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pss.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ pub fn verify<PK: PublicKey>(
2626
emsa_pss_verify(hashed, &mut em, em_bits, None, digest)
2727
}
2828

29-
/// SignPSS calculates the signature of hashed using RSASSA-PSS [1].
29+
/// SignPSS calculates the signature of hashed using RSASSA-PSS.
3030
/// Note that hashed must be the result of hashing the input message using the
3131
/// given hash function. The opts argument may be nil, in which case sensible
3232
/// defaults are used.
@@ -47,7 +47,7 @@ pub fn sign<T: RngCore + ?Sized, S: CryptoRng + RngCore, SK: PrivateKey>(
4747
sign_pss_with_salt(blind_rng, priv_key, hashed, &salt, digest)
4848
}
4949

50-
/// signPSSWithSalt calculates the signature of hashed using PSS [1] with specified salt.
50+
/// signPSSWithSalt calculates the signature of hashed using PSS with specified salt.
5151
/// Note that hashed must be the result of hashing the input message using the
5252
/// given hash function. salt is a random sequence of bytes whose length will be
5353
/// later used to verify the signature.

0 commit comments

Comments
 (0)