diff --git a/crypt.tex b/crypt.tex index 4b1d9e6..a805ac7 100644 --- a/crypt.tex +++ b/crypt.tex @@ -3560,7 +3560,7 @@ is provided: int rsa_sign_saltlen_get_max(int hash_idx, rsa_key *key); \end{verbatim} -As stated in the PKCS#1 RFC3447 "Typical salt lengths in octets are hLen +As stated in the PKCS\#1 RFC3447 "Typical salt lengths in octets are hLen (the length of the output of the hash function Hash) and 0". This function is provided to be able to use other lengths as well and to make sure at runtime that the RSA key can handle the desired salt length.