Commit 04f8bcf1 authored by Andy Polyakov's avatar Andy Polyakov
Browse files

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: default avatarRich Salz <rsalz@openssl.org>
parent 68b00c23
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@
	NCR
	Tandem
	Cray
	WIN16
	16-bit platforms such as WIN16
     [Rich Salz]

  *) Start cleaning up OPENSSL_NO_xxx #define's
+2 −11
Original line number Diff line number Diff line
@@ -74,19 +74,10 @@ extern "C" {

/*-
 * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 * ! BF_LONG has to be at least 32 bits wide. If it's wider, then !
 * ! BF_LONG_LOG2 has to be defined along.                        !
 * ! BF_LONG has to be at least 32 bits wide.                     !
 * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 */

# if defined(__LP32__)
#  define BF_LONG unsigned long
# elif defined(__ILP64__)
#  define BF_LONG unsigned long
#  define BF_LONG_LOG2 3
# else
# define BF_LONG unsigned int
# endif

# define BF_ROUNDS       16
# define BF_BLOCK        8
+1 −3
Original line number Diff line number Diff line
@@ -64,8 +64,7 @@
 * HASH_CBLOCK
 *      size of a unit chunk HASH_BLOCK operates on.
 * HASH_LONG
 *      has to be at lest 32 bit wide, if it's wider, then
 *      HASH_LONG_LOG2 *has to* be defined along
 *      has to be at lest 32 bit wide.
 * HASH_CTX
 *      context structure that at least contains following
 *      members:
@@ -98,7 +97,6 @@
 *      #define DATA_ORDER_IS_LITTLE_ENDIAN
 *
 *      #define HASH_LONG               MD5_LONG
 *      #define HASH_LONG_LOG2          MD5_LONG_LOG2
 *      #define HASH_CTX                MD5_CTX
 *      #define HASH_CBLOCK             MD5_CBLOCK
 *      #define HASH_UPDATE             MD5_Update
+2 −11
Original line number Diff line number Diff line
@@ -72,19 +72,10 @@ extern "C" {

/*-
 * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 * ! MD4_LONG has to be at least 32 bits wide. If it's wider, then !
 * ! MD4_LONG_LOG2 has to be defined along.                        !
 * ! MD4_LONG has to be at least 32 bits wide.                     !
 * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 */

# if defined(__LP32__)
#  define MD4_LONG unsigned long
# elif defined(__ILP64__)
#  define MD4_LONG unsigned long
#  define MD4_LONG_LOG2 3
# else
# define MD4_LONG unsigned int
# endif

# define MD4_CBLOCK      64
# define MD4_LBLOCK      (MD4_CBLOCK/4)
+0 −4
Original line number Diff line number Diff line
@@ -61,10 +61,6 @@
#include <openssl/opensslconf.h>
#include <openssl/md4.h>

#ifndef MD4_LONG_LOG2
# define MD4_LONG_LOG2 2        /* default to 32 bits */
#endif

void md4_block_data_order(MD4_CTX *c, const void *p, size_t num);

#define DATA_ORDER_IS_LITTLE_ENDIAN
Loading