EVP_PKEY_get_default_digest() manual page.
[openssl.git] / doc / crypto / ripemd.pod
index 4a6a7e1b4a091de6e4fb07b67bd9a030cfbf1c0f..31054b6a8ccd8dfa04150a86adbf1a45b71bf179 100644 (file)
@@ -13,7 +13,7 @@ RIPEMD-160 hash function
                   unsigned char *md);
 
  void RIPEMD160_Init(RIPEMD160_CTX *c);
- void RIPEMD160_Update(RIPEMD_CTX *c, const unsigned char *data,
+ void RIPEMD160_Update(RIPEMD_CTX *c, const void *data,
                   unsigned long len);
  void RIPEMD160_Final(unsigned char *md, RIPEMD160_CTX *c);
 
@@ -39,6 +39,10 @@ RIPEMD160_Final() places the message digest in B<md>, which must have
 space for RIPEMD160_DIGEST_LENGTH == 20 bytes of output, and erases
 the B<RIPEMD160_CTX>.
 
+Applications should use the higher level functions
+L<EVP_DigestInit(3)|EVP_DigestInit(3)> etc. instead of calling the
+hash functions directly.
+
 =head1 RETURN VALUES
 
 RIPEMD160() returns a pointer to the hash value. 
@@ -52,7 +56,7 @@ ISO/IEC 10118-3 (draft) (??)
 
 =head1 SEE ALSO
 
-L<sha(3)|sha(3)>, L<hmac(3)|hmac(3)>
+L<sha(3)|sha(3)>, L<hmac(3)|hmac(3)>, L<EVP_DigestInit(3)|EVP_DigestInit(3)>
 
 =head1 HISTORY