aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/doc
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2012-08-20 12:31:28 +0200
committerIngela Anderton Andin <[email protected]>2012-08-22 14:00:43 +0200
commitc5541a4c03b89fcbcb0dd1bfab8460b1287cc6cb (patch)
treec0e5875462f260c9d21fddbfc2d4236a4ab79b17 /lib/crypto/doc
parent42e65ffe5f2659d998ff0a7e5ebea2573c23a86f (diff)
downloadotp-c5541a4c03b89fcbcb0dd1bfab8460b1287cc6cb.tar.gz
otp-c5541a4c03b89fcbcb0dd1bfab8460b1287cc6cb.tar.bz2
otp-c5541a4c03b89fcbcb0dd1bfab8460b1287cc6cb.zip
crypto: Add sha224 for rsa sign/verify
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 0d78dbc426..48e35f8093 100644
--- a/lib/crypto/doc/src/crypto.xml
+++ b/lib/crypto/doc/src/crypto.xml
@@ -932,7 +932,7 @@ Mpint() = <![CDATA[<<ByteLen:32/integer-big, Bytes:ByteLen/binary>>]]>
the calculation faster. <c>P1,P2</c> are first and second prime factors.
<c>E1,E2</c> are first and second exponents. <c>C</c> is the CRT coefficient.
Terminology is taken from RFC 3447.</d>
- <v>DigestType = md5 | sha | sha256 | sha384 | sha512</v>
+ <v>DigestType = md5 | sha | sha224 | sha256 | sha384 | sha512</v>
<d>The default <c>DigestType</c> is sha.</d>
<v>Mpint = binary()</v>
<v>Signature = binary()</v>
@@ -957,7 +957,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 | sha256 | sha384 | sha512</v>
+ <v>DigestType = md5 | sha | sha224 | sha256 | sha384 | sha512</v>
<d>The default <c>DigestType</c> is sha.</d>
<v>Mpint = binary()</v>
</type>