summaryrefslogtreecommitdiff
path: root/jni/ruby/ext/digest/rmd160/rmd160ossl.h
blob: c7b1fd4fe63ead3bc9f824a488b18f389e0d3d7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* $Id: rmd160ossl.h 25189 2009-10-02 12:04:37Z akr $ */

#ifndef RMD160OSSL_H_INCLUDED
#define RMD160OSSL_H_INCLUDED

#include <stddef.h>
#include <openssl/ripemd.h>

#define RMD160_CTX      RIPEMD160_CTX

#define RMD160_Init     RIPEMD160_Init
#define RMD160_Update   RIPEMD160_Update

#define RMD160_BLOCK_LENGTH             RIPEMD160_CBLOCK
#define RMD160_DIGEST_LENGTH            RIPEMD160_DIGEST_LENGTH

void RMD160_Finish(RMD160_CTX *ctx, char *buf);

#endif