mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
945a76d97b
rb_digest_base_equal): Simplify the equality check and just compare resulted digests since state-level equality should not be significant. * ext/digest/digest.h: Ditto. * ext/digest/*/*.[ch]: Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
19 lines
388 B
C
19 lines
388 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
|
|
|
|
void RMD160_Finish(RMD160_CTX *ctx, char *buf);
|
|
|
|
#endif
|