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

sha1opt.h

Go to the documentation of this file.
00001 /* 00002 * sha1opt.h 00003 * 00004 * SHA-1 assembler-optimized routines, header 00005 * 00006 * Copyright (c) 2000, 2003 Virtual Unlimited B.V. 00007 * 00008 * Author: Bob Deblier <bob.deblier@pandora.be> 00009 * 00010 * This library is free software; you can redistribute it and/or 00011 * modify it under the terms of the GNU Lesser General Public 00012 * License as published by the Free Software Foundation; either 00013 * version 2.1 of the License, or (at your option) any later version. 00014 * 00015 * This library is distributed in the hope that it will be useful, 00016 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00018 * Lesser General Public License for more details. 00019 * 00020 * You should have received a copy of the GNU Lesser General Public 00021 * License along with this library; if not, write to the Free Software 00022 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00023 * 00024 */ 00025 00026 #ifndef _SHA1OPT_H 00027 #define _SHA1OPT_H 00028 00029 #include "beecrypt.h" 00030 #include "sha1.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_SHA1PROCESS 00039 # elif __INTEL__ && __MWERKS__ 00040 # define ASM_SHA1PROCESS 00041 # endif 00042 #endif 00043 00044 #if defined(__GNUC__) 00045 # if defined(OPTIMIZE_I386) || defined(OPTIMIZE_I486) || defined(OPTIMIZE_I586) || defined(OPTIMIZE_I686) 00046 # define ASM_SHA1PROCESS 00047 # endif 00048 #endif 00049 00050 #if defined(__INTEL_COMPILER) 00051 # if defined(OPTIMIZE_I386) || defined(OPTIMIZE_I486) || defined(OPTIMIZE_I586) || defined(OPTIMIZE_I686) 00052 # define ASM_SHA1PROCESS 00053 # endif 00054 #endif 00055 00056 #if defined(__SUNPRO_C) || defined(__SUNPRO_CC) 00057 #endif 00058 00059 #ifdef __cplusplus 00060 } 00061 #endif 00062 00063 #endif

Generated on Sun Jun 20 22:57:54 2004 for BeeCrypt by doxygen 1.3.7