X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=doc%2Fcrypto%2Fripemd.pod;h=264bb99ae793c5c139739a4b10ac3d0cbd380b18;hb=0501f02b060e45f2e2d275d779d864f3159f8ea9;hp=d6ad5615981303c85401ad53eaf158cc9b96a3f6;hpb=4facdbb5fa9d791fc72dc78b9c3512ea1384df33;p=oweals%2Fopenssl.git diff --git a/doc/crypto/ripemd.pod b/doc/crypto/ripemd.pod index d6ad561598..264bb99ae7 100644 --- a/doc/crypto/ripemd.pod +++ b/doc/crypto/ripemd.pod @@ -12,10 +12,10 @@ RIPEMD-160 hash function unsigned char *RIPEMD160(const unsigned char *d, unsigned long n, unsigned char *md); - void RIPEMD160_Init(RIPEMD160_CTX *c); - void RIPEMD160_Update(RIPEMD_CTX *c, const unsigned char *data, + int RIPEMD160_Init(RIPEMD160_CTX *c); + int RIPEMD160_Update(RIPEMD_CTX *c, const void *data, unsigned long len); - void RIPEMD160_Final(unsigned char *md, RIPEMD160_CTX *c); + int RIPEMD160_Final(unsigned char *md, RIPEMD160_CTX *c); =head1 DESCRIPTION @@ -39,15 +39,16 @@ RIPEMD160_Final() places the message digest in B, which must have space for RIPEMD160_DIGEST_LENGTH == 20 bytes of output, and erases the B. -Applications should use the higher level functions EVP_DigestInit(3) etc. -instead of calling the hash functions directly. +Applications should use the higher level functions +L etc. instead of calling the +hash functions directly. =head1 RETURN VALUES RIPEMD160() returns a pointer to the hash value. -RIPEMD160_Init(), RIPEMD160_Update() and RIPEMD160_Final() do not -return values. +RIPEMD160_Init(), RIPEMD160_Update() and RIPEMD160_Final() return 1 for +success, 0 otherwise. =head1 CONFORMING TO