5 RIPEMD160, RIPEMD160_Init, RIPEMD160_Update, RIPEMD160_Final -
6 RIPEMD-160 hash function
10 #include <openssl/ripemd.h>
12 Deprecated since OpenSSL 3.0, can be hidden entirely by defining
13 B<OPENSSL_API_COMPAT> with a suitable version value, see
14 L<openssl_user_macros(7)>:
16 unsigned char *RIPEMD160(const unsigned char *d, unsigned long n,
19 int RIPEMD160_Init(RIPEMD160_CTX *c);
20 int RIPEMD160_Update(RIPEMD160_CTX *c, const void *data, unsigned long len);
21 int RIPEMD160_Final(unsigned char *md, RIPEMD160_CTX *c);
25 All of the functions described on this page are deprecated.
26 Applications should instead use L<EVP_DigestInit_ex(3)>, L<EVP_DigestUpdate(3)>
27 and L<EVP_DigestFinal_ex(3)>.
29 RIPEMD-160 is a cryptographic hash function with a
32 RIPEMD160() computes the RIPEMD-160 message digest of the B<n>
33 bytes at B<d> and places it in B<md> (which must have space for
34 RIPEMD160_DIGEST_LENGTH == 20 bytes of output). If B<md> is NULL, the digest
35 is placed in a static array.
37 The following functions may be used if the message is not completely
40 RIPEMD160_Init() initializes a B<RIPEMD160_CTX> structure.
42 RIPEMD160_Update() can be called repeatedly with chunks of the message to
43 be hashed (B<len> bytes at B<data>).
45 RIPEMD160_Final() places the message digest in B<md>, which must have
46 space for RIPEMD160_DIGEST_LENGTH == 20 bytes of output, and erases
51 RIPEMD160() returns a pointer to the hash value.
53 RIPEMD160_Init(), RIPEMD160_Update() and RIPEMD160_Final() return 1 for
58 Applications should use the higher level functions
59 L<EVP_DigestInit(3)> etc. instead of calling these
64 ISO/IEC 10118-3:2016 Dedicated Hash-Function 1 (RIPEMD-160).
72 All of these functions were deprecated in OpenSSL 3.0.
76 Copyright 2000-2017 The OpenSSL Project Authors. All Rights Reserved.
78 Licensed under the Apache License 2.0 (the "License"). You may not use
79 this file except in compliance with the License. You can obtain a copy
80 in the file LICENSE in the source distribution or at
81 L<https://www.openssl.org/source/license.html>.