Zap DES_UNROLL when SMALL_FOOTPRINT is in effect.
authorAndy Polyakov <appro@openssl.org>
Tue, 4 Oct 2005 06:25:39 +0000 (06:25 +0000)
committerAndy Polyakov <appro@openssl.org>
Tue, 4 Oct 2005 06:25:39 +0000 (06:25 +0000)
crypto/des/des_locl.h

index 4b9ecff23391367fa5a6656c5858dcb1d8c28099..f7ed6ae19a997fd5705bd504d07ea5b2291cbe92 100644 (file)
@@ -425,4 +425,8 @@ extern const DES_LONG DES_SPtrans[8][64];
 
 void fcrypt_body(DES_LONG *out,DES_key_schedule *ks,
                 DES_LONG Eswap0, DES_LONG Eswap1);
 
 void fcrypt_body(DES_LONG *out,DES_key_schedule *ks,
                 DES_LONG Eswap0, DES_LONG Eswap1);
+
+#ifdef OPENSSL_SMALL_FOOTPRINT
+#undef DES_UNROLL
+#endif
 #endif
 #endif