From 04f8bcf1960c1309e143718642611bb68479cbbf Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Fri, 23 Jan 2015 14:48:11 +0100 Subject: 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 --- crypto/bf/blowfish.h | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'crypto/bf') diff --git a/crypto/bf/blowfish.h b/crypto/bf/blowfish.h index f50a72559a..ae613e88b7 100644 --- a/crypto/bf/blowfish.h +++ b/crypto/bf/blowfish.h @@ -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_LONG unsigned int # define BF_ROUNDS 16 # define BF_BLOCK 8 -- cgit v1.2.3