diff options
author | Michael Loftis <mloftis@wgops.com> | 2012-12-21 11:17:40 -0700 |
---|---|---|
committer | Michael Loftis <mloftis@wgops.com> | 2012-12-21 11:17:40 -0700 |
commit | f33c0a7aaf5c051c6328451c3ebfd9936273be90 (patch) | |
tree | d4485007b50c788a57249b436398f17b0667eb7d /lib/crypto/doc | |
parent | e84023379df3f0a66aae31f64880629b6035e2a8 (diff) | |
download | otp-f33c0a7aaf5c051c6328451c3ebfd9936273be90.tar.gz otp-f33c0a7aaf5c051c6328451c3ebfd9936273be90.tar.bz2 otp-f33c0a7aaf5c051c6328451c3ebfd9936273be90.zip |
fix ripemd160 to use hash_init family and add documentation
this patch removes the exports for ripemd160 from the previous patches
and incorporates those functions into the hash_init family. documentation
is also added.
Diffstat (limited to 'lib/crypto/doc')
-rwxr-xr-x[-rw-r--r--] | lib/crypto/doc/src/crypto.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/crypto/doc/src/crypto.xml b/lib/crypto/doc/src/crypto.xml index 3e533158c8..61e80d7d5f 100644..100755 --- a/lib/crypto/doc/src/crypto.xml +++ b/lib/crypto/doc/src/crypto.xml @@ -265,7 +265,7 @@ Mpint() = <![CDATA[<<ByteLen:32/integer-big, Bytes:ByteLen/binary>>]]> <name>hash(Type, Data) -> Digest</name> <fsummary></fsummary> <type> - <v>Type = md4 | md5 | sha | sha224 | sha256 | sha384 | sha512</v> + <v>Type = md4 | md5 | ripemd160 | sha | sha224 | sha256 | sha384 | sha512</v> <v>Data = iodata()</v> <v>Digest = binary()</v> </type> @@ -279,7 +279,7 @@ Mpint() = <![CDATA[<<ByteLen:32/integer-big, Bytes:ByteLen/binary>>]]> <name>hash_init(Type) -> Context</name> <fsummary></fsummary> <type> - <v>Type = md4 | md5 | sha | sha224 | sha256 | sha384 | sha512</v> + <v>Type = md4 | md5 | ripemd160 | sha | sha224 | sha256 | sha384 | sha512</v> </type> <desc> <p>Initializes the context for streaming hash operations. <c>Type</c> determines |