1ripemd(3)                           OpenSSL                          ripemd(3)
2
3
4

NAME

6       RIPEMD160, RIPEMD160_Init, RIPEMD160_Update, RIPEMD160_Final -
7       RIPEMD-160 hash function
8

SYNOPSIS

10        #include <openssl/ripemd.h>
11
12        unsigned char *RIPEMD160(const unsigned char *d, unsigned long n,
13                         unsigned char *md);
14
15        int RIPEMD160_Init(RIPEMD160_CTX *c);
16        int RIPEMD160_Update(RIPEMD_CTX *c, const void *data,
17                         unsigned long len);
18        int RIPEMD160_Final(unsigned char *md, RIPEMD160_CTX *c);
19

DESCRIPTION

21       RIPEMD-160 is a cryptographic hash function with a 160 bit output.
22
23       RIPEMD160() computes the RIPEMD-160 message digest of the n bytes at d
24       and places it in md (which must have space for RIPEMD160_DIGEST_LENGTH
25       == 20 bytes of output). If md is NULL, the digest is placed in a static
26       array.
27
28       The following functions may be used if the message is not completely
29       stored in memory:
30
31       RIPEMD160_Init() initializes a RIPEMD160_CTX structure.
32
33       RIPEMD160_Update() can be called repeatedly with chunks of the message
34       to be hashed (len bytes at data).
35
36       RIPEMD160_Final() places the message digest in md, which must have
37       space for RIPEMD160_DIGEST_LENGTH == 20 bytes of output, and erases the
38       RIPEMD160_CTX.
39
40       Applications should use the higher level functions EVP_DigestInit(3)
41       etc. instead of calling the hash functions directly.
42

RETURN VALUES

44       RIPEMD160() returns a pointer to the hash value.
45
46       RIPEMD160_Init(), RIPEMD160_Update() and RIPEMD160_Final() return 1 for
47       success, 0 otherwise.
48

CONFORMING TO

50       ISO/IEC 10118-3 (draft) (??)
51

SEE ALSO

53       sha(3), hmac(3), EVP_DigestInit(3)
54

HISTORY

56       RIPEMD160(), RIPEMD160_Init(), RIPEMD160_Update() and RIPEMD160_Final()
57       are available since SSLeay 0.9.0.
58
59
60
611.0.2k                            2017-01-26                         ripemd(3)
Impressum