00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
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