diff options
author | Andy Polyakov <appro@openssl.org> | 2015-01-23 14:48:11 +0100 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2015-01-23 19:09:01 +0100 |
commit | 04f8bcf1960c1309e143718642611bb68479cbbf (patch) | |
tree | e93d63af51f668036626fea6bb2f6ddb8c5e2d8e /crypto/sha | |
parent | 68b00c237298b2e7e382686ffd583847d57bbc0b (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/sha')
-rw-r--r-- | crypto/sha/sha.h | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/crypto/sha/sha.h b/crypto/sha/sha.h index 3d2d2fa136..d76790b35a 100644 --- a/crypto/sha/sha.h +++ b/crypto/sha/sha.h @@ -72,19 +72,10 @@ extern "C" { /*- * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - * ! SHA_LONG has to be at least 32 bits wide. If it's wider, then ! - * ! SHA_LONG_LOG2 has to be defined along. ! + * ! SHA_LONG has to be at least 32 bits wide. ! * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */ - -# if defined(__LP32__) -# define SHA_LONG unsigned long -# elif defined(__ILP64__) -# define SHA_LONG unsigned long -# define SHA_LONG_LOG2 3 -# else -# define SHA_LONG unsigned int -# endif +# define SHA_LONG unsigned int # define SHA_LBLOCK 16 # define SHA_CBLOCK (SHA_LBLOCK*4)/* SHA treats input data as a |