diff options
Diffstat (limited to 'include/openssl/ripemd.h')
-rw-r--r-- | include/openssl/ripemd.h | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/include/openssl/ripemd.h b/include/openssl/ripemd.h index b88ef25e72..8a098f66a6 100644 --- a/include/openssl/ripemd.h +++ b/include/openssl/ripemd.h @@ -1,4 +1,3 @@ -/* crypto/ripemd/ripemd.h */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -66,18 +65,11 @@ extern "C" { #endif -# ifdef OPENSSL_NO_RIPEMD -# error RIPEMD is disabled. +# ifdef OPENSSL_NO_RMD160 +# error RMD160 is disabled. # endif -# if defined(__LP32__) -# define RIPEMD160_LONG unsigned long -# elif defined(OPENSSL_SYS_CRAY) || defined(__ILP64__) -# define RIPEMD160_LONG unsigned long -# define RIPEMD160_LONG_LOG2 3 -# else -# define RIPEMD160_LONG unsigned int -# endif +# define RIPEMD160_LONG unsigned int # define RIPEMD160_CBLOCK 64 # define RIPEMD160_LBLOCK (RIPEMD160_CBLOCK/4) @@ -90,9 +82,6 @@ typedef struct RIPEMD160state_st { unsigned int num; } RIPEMD160_CTX; -# ifdef OPENSSL_FIPS -int private_RIPEMD160_Init(RIPEMD160_CTX *c); -# endif int RIPEMD160_Init(RIPEMD160_CTX *c); int RIPEMD160_Update(RIPEMD160_CTX *c, const void *data, size_t len); int RIPEMD160_Final(unsigned char *md, RIPEMD160_CTX *c); |