aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/doc
diff options
context:
space:
mode:
authorChristian von Roques <[email protected]>2011-09-06 19:23:37 +0200
committerChristian von Roques <[email protected]>2011-09-06 19:45:11 +0200
commit82897cc8f399fab832148711b586215c9a3f7af1 (patch)
treee51d0665519efd90889eb14cc2392d9bca9ee89b /lib/crypto/doc
parent22dae863060e0d66fa268f6d1cd4d6f084b850ab (diff)
downloadotp-82897cc8f399fab832148711b586215c9a3f7af1.tar.gz
otp-82897cc8f399fab832148711b586215c9a3f7af1.tar.bz2
otp-82897cc8f399fab832148711b586215c9a3f7af1.zip
Support 'md2' hash in crypto:rsa_sign/3 and crypto:rsa_verify/4
Diffstat (limited to 'lib/crypto/doc')
-rw-r--r--lib/crypto/doc/src/crypto.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/crypto/doc/src/crypto.xml b/lib/crypto/doc/src/crypto.xml
index 179ba4498c..45f7e3ff46 100644
--- a/lib/crypto/doc/src/crypto.xml
+++ b/lib/crypto/doc/src/crypto.xml
@@ -795,7 +795,7 @@ Mpint() = <![CDATA[<<ByteLen:32/integer-big, Bytes:ByteLen/binary>>]]>
<v>E, N, D = Mpint</v>
<d>Where <c>E</c> is the public exponent, <c>N</c> is public modulus and
<c>D</c> is the private exponent.</d>
- <v>DigestType = md5 | sha</v>
+ <v>DigestType = md2 | md5 | sha</v>
<d>The default <c>DigestType</c> is sha.</d>
<v>Mpint = binary()</v>
<v>Signature = binary()</v>
@@ -817,7 +817,7 @@ Mpint() = <![CDATA[<<ByteLen:32/integer-big, Bytes:ByteLen/binary>>]]>
<v>Key = [E, N]</v>
<v>E, N = Mpint</v>
<d>Where <c>E</c> is the public exponent and <c>N</c> is public modulus.</d>
- <v>DigestType = md5 | sha</v>
+ <v>DigestType = md2 | md5 | sha</v>
<d> The default <c>DigestType</c> is sha.</d>
<v>Mpint = binary()</v>
</type>