From f33c0a7aaf5c051c6328451c3ebfd9936273be90 Mon Sep 17 00:00:00 2001 From: Michael Loftis Date: Fri, 21 Dec 2012 11:17:40 -0700 Subject: 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. --- lib/crypto/doc/src/crypto.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 lib/crypto/doc/src/crypto.xml (limited to 'lib/crypto/doc') diff --git a/lib/crypto/doc/src/crypto.xml b/lib/crypto/doc/src/crypto.xml old mode 100644 new mode 100755 index 3e533158c8..61e80d7d5f --- a/lib/crypto/doc/src/crypto.xml +++ b/lib/crypto/doc/src/crypto.xml @@ -265,7 +265,7 @@ Mpint() = >]]> hash(Type, Data) -> Digest - Type = md4 | md5 | sha | sha224 | sha256 | sha384 | sha512 + Type = md4 | md5 | ripemd160 | sha | sha224 | sha256 | sha384 | sha512 Data = iodata() Digest = binary() @@ -279,7 +279,7 @@ Mpint() = >]]> hash_init(Type) -> Context - Type = md4 | md5 | sha | sha224 | sha256 | sha384 | sha512 + Type = md4 | md5 | ripemd160 | sha | sha224 | sha256 | sha384 | sha512

Initializes the context for streaming hash operations. Type determines -- cgit v1.2.3