mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
935275bb59
* ext/digest/digest.h (DEFINE_FINISH_FUNC_FROM_FINAL): macro for finish functions, by inverting arguments order. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
20 lines
437 B
C
20 lines
437 B
C
/* $Id$ */
|
|
|
|
#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
|
|
|
|
static DEFINE_FINISH_FUNC_FROM_FINAL(RIPEMD160)
|
|
#define RMD160_Finish rb_digest_RIPEMD160_finish
|
|
|
|
#endif
|