diff options
author | appro <appro> | 2008-12-22 15:21:59 +0000 |
---|---|---|
committer | appro <appro> | 2008-12-22 15:21:59 +0000 |
commit | a8a771743e57350f9926acaf388dfa017a747893 (patch) | |
tree | b3f6b250251f15f90d630123fc6468df2eef8c35 /crypto/cast | |
parent | 78de9250af9be6466a1080e309bc74c197a725dc (diff) | |
download | openssl-a8a771743e57350f9926acaf388dfa017a747893.tar.gz |
Optimize CAST for size on 64-bit platforms. For reference, CAST_LONG being
unsigned long must be attributed to 16-bit support. As we don't support
16-bit platoforms anymore, there is no reason to waste twice required
space on CAST S-boxes (16KB vs. 8KB) or key schedule.
Diffstat (limited to 'crypto/cast')
-rw-r--r-- | crypto/cast/cast.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/cast/cast.h b/crypto/cast/cast.h index 90b45b950..79bb297c1 100644 --- a/crypto/cast/cast.h +++ b/crypto/cast/cast.h @@ -72,7 +72,7 @@ extern "C" { #define CAST_ENCRYPT 1 #define CAST_DECRYPT 0 -#define CAST_LONG unsigned long +#define CAST_LONG unsigned int #define CAST_BLOCK 8 #define CAST_KEY_LENGTH 16 |