Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

blowfishopt.h

Go to the documentation of this file.
00001 /* 00002 * Copyright (c) 2000, 2002, 2003 Virtual Unlimited B.V. 00003 * 00004 * This library is free software; you can redistribute it and/or 00005 * modify it under the terms of the GNU Lesser General Public 00006 * License as published by the Free Software Foundation; either 00007 * version 2.1 of the License, or (at your option) any later version. 00008 * 00009 * This library is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00012 * Lesser General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU Lesser General Public 00015 * License along with this library; if not, write to the Free Software 00016 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00017 * 00018 */ 00019 00026 #ifndef _BLOWFISHOPT_H 00027 #define _BLOWFISHOPT_H 00028 00029 #include "beecrypt.h" 00030 #include "blowfish.h" 00031 00032 #ifdef __cplusplus 00033 extern "C" { 00034 #endif 00035 00036 #if WIN32 00037 # if defined(_MSC_VER) && defined(_M_IX86) 00038 # define ASM_BLOWFISHENCRYPT 00039 # define ASM_BLOWFISHDECRYPT 00040 # elif __INTEL__ && __MWERKS__ 00041 # define ASM_BLOWFISHENCRYPT 00042 # define ASM_BLOWFISHDECRYPT 00043 # endif 00044 #endif 00045 00046 #if defined(__GNUC__) 00047 # if defined(OPTIMIZE_I586) || defined(OPTIMIZE_I686) 00048 # define ASM_BLOWFISHENCRYPT 00049 # define ASM_BLOWFISHDECRYPT 00050 # endif 00051 # if defined(OPTIMIZE_POWERPC) 00052 # define ASM_BLOWFISHENCRYPT 00053 # define ASM_BLOWFISHDECRYPT 00054 # endif 00055 #endif 00056 00057 #if defined(__IBMC__) 00058 # if defined(OPTIMIZE_POWERPC) 00059 # define ASM_BLOWFISHENCRYPT 00060 # define ASM_BLOWFISHDECRYPT 00061 # endif 00062 #endif 00063 00064 #if defined(__INTEL_COMPILER) 00065 # if defined(OPTIMIZE_I586) || defined(OPTIMIZE_I686) 00066 # define ASM_BLOWFISHENCRYPT 00067 # define ASM_BLOWFISHDECRYPT 00068 # endif 00069 #endif 00070 00071 #if defined(__SUNPRO_C) || defined(__SUNPRO_CC) 00072 /* nothing here yet */ 00073 #endif 00074 00075 #ifdef __cplusplus 00076 } 00077 #endif 00078 00079 #endif

Generated on Mon Aug 9 02:23:21 2004 for BeeCrypt by doxygen 1.3.8