summaryrefslogtreecommitdiffstats
path: root/crypto/ripemd
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2015-01-23 14:48:11 +0100
committerAndy Polyakov <appro@openssl.org>2015-01-23 19:09:01 +0100
commit04f8bcf1960c1309e143718642611bb68479cbbf (patch)
treee93d63af51f668036626fea6bb2f6ddb8c5e2d8e /crypto/ripemd
parent68b00c237298b2e7e382686ffd583847d57bbc0b (diff)
Keep disclaiming 16-bit support.
If you examine changes, you are likely to wonder "but what about ILP64, elusive as they are, don't they fall victim to 16-bit rationalization?" No, the case was modeled and verified to work. Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/ripemd')
-rw-r--r--crypto/ripemd/ripemd.h9
-rw-r--r--crypto/ripemd/rmd_locl.h4
2 files changed, 1 insertions, 12 deletions
diff --git a/crypto/ripemd/ripemd.h b/crypto/ripemd/ripemd.h
index 898f2d0d97..9933078d69 100644
--- a/crypto/ripemd/ripemd.h
+++ b/crypto/ripemd/ripemd.h
@@ -70,14 +70,7 @@ extern "C" {
# error RIPEMD is disabled.
# endif
-# if defined(__LP32__)
-# define RIPEMD160_LONG unsigned long
-# elif 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)
diff --git a/crypto/ripemd/rmd_locl.h b/crypto/ripemd/rmd_locl.h
index 26e0256333..497a1a167e 100644
--- a/crypto/ripemd/rmd_locl.h
+++ b/crypto/ripemd/rmd_locl.h
@@ -61,10 +61,6 @@
#include <openssl/opensslconf.h>
#include <openssl/ripemd.h>
-#ifndef RIPEMD160_LONG_LOG2
-# define RIPEMD160_LONG_LOG2 2 /* default to 32 bits */
-#endif
-
/*
* DO EXAMINE COMMENTS IN crypto/md5/md5_locl.h & crypto/md5/md5_dgst.c
* FOR EXPLANATIONS ON FOLLOWING "CODE."