RSA BSAFE Crypto-C

Cryptographic Components for C

Search

bsfmacro.h

Go to the documentation of this file.
00001 /* $Id: bsfmacro.h,v 1.7 2004/12/01 07:06:56 sparki Exp $ */
00002 /*
00003  * Copyright (C) 1998-2004 RSA Security Inc. All rights reserved. 
00004  *
00005  * This work contains proprietary information of RSA Security. 
00006  * Distribution is limited to authorized licensees of RSA 
00007  * Security. Any unauthorized reproduction, distribution or 
00008  * modification of this work is strictly prohibited.
00009  */
00010 
00015 #ifndef _BSAFE_MACRO_H_
00016 #define _BSAFE_MACRO_H_ 1
00017 
00018 #ifdef __cplusplus
00019 extern "C" {
00020 #endif
00021 
00022 #define RSA_DISABLED  0
00023 #define RSA_ENABLED   1
00024 
00025 #define RSA_BIG_ENDIAN     0
00026 #define RSA_LITTLE_ENDIAN  1
00027 
00028 #define RSA_DOMESTIC_VERSION  0
00029 #define RSA_EXPORT_VERSION    1
00030 
00031 #define RSA_16_BIT_REGISTER  16
00032 #define RSA_32_BIT_REGISTER  32
00033 #define RSA_64_BIT_REGISTER  64
00034 
00035 #define RSA_32_BIT_TIME  32
00036 #define RSA_64_BIT_TIME  64
00037 
00038 #define RSA_FETCH_ALIGNED_ONLY  0
00039 #define RSA_FETCH_UNALIGNED     1
00040 
00041 /* The following are the values defining the platform and compiler.
00042      RSA <chip/machine> <OS/compiler> [register size]
00043      They are to be used to indicate which optimizations are available.
00044      The default is C code, so the first value is a platform independent macro.
00045  */
00046 #define RSA_C_CODE                   0
00047 #define RSA_C_CODE_OPTIMIZE_SPEED    1
00048 
00049 #define RSA_INTEL_MSVC15_16_BIT     10
00050 #define RSA_INTEL_MSVC20_32_BIT     12
00051 #define RSA_INTEL_MSVC40_32_BIT     14
00052 #define RSA_INTEL_BORLAND45_16_BIT  20
00053 #define RSA_INTEL_BORLAND45_32_BIT  22
00054 #define RSA_LINUX                   30
00055 #define RSA_INTEL_LINUX21_32_BIT    31
00056 #define RSA_INTEL_LINUX30_32_BIT    32
00057 #define RSA_INTEL_LINUX_GLIBC5      33
00058 #define RSA_INTEL_LINUX_GLIBC6      34
00059 #define RSA_INTEL_SCO50_32_BIT      40
00060 #define RSA_SPARC_SUN_OS_412        100
00061 #define RSA_SPARC_SUN_SOLARIS       101
00062 #define RSA_SPARC_SUN_SOLARIS25     102
00063 #define RSA_SPARC_SUN_SOLARISV8     103
00064 #define RSA_SPARC_SUN_SOLARISV9     104
00065 #define RSA_SPARC_SUN_SOLARIS26     RSA_SPARC_SUN_SOLARISV8
00066 #define RSA_SPARC_SUN_SOLARIS28     RSA_SPARC_SUN_SOLARISV9
00067 #define RSA_MAC_68K_CODE_WARRIOR    120
00068 #define RSA_MAC_68K_SYMANTEC        122
00069 #define RSA_MAC_PPC_CODE_WARRIOR    130
00070 #define RSA_MAC_PPC_SYMANTEC        132
00071 #define RSA_ALPHA_DEC_OSF_UNIX      140
00072 #define RSA_ALPHA_DEC_NT_MSVC40     142
00073 #define RSA_ALPHA_DEC_VMS           144
00074 #define RSA_MIPS_R2000_IRIX53       160
00075 #define RSA_MIPS_R4000_IRIX60       162
00076 #define RSA_IRIX65                                      163
00077 #define RSA_HP_PA                   180
00078 #define RSA_HP_PA1                  181
00079 #define RSA_HP_PA2                  182
00080 #define RSA_HP_64                   183
00081 #define RSA_HP_IA64                 184
00082 #define RSA_HP_IA64_32              185
00083 #define RSA_AIX_414                 200
00084 #define RSA_RS6000_PPC_AIX414       202
00085 #define RSA_RS6000_PWR_AIX414       204
00086 #define RSA_IBM_AIX32               205
00087 #define RSA_IBM_AIX64                   206
00088 #define RSA_I386_486                210
00089 #define RSA_WINTEL_IA64             211
00090 #define RSA_LINUX_IA64              212
00091 #define RSA_LINUX_ARM               213
00092 #define RSA_AMD_WIN64               215
00093 #define RSA_AMD_LINUX64             216
00094 
00095 #define RSA_INTEL_IA32_SOLARIS9     217
00096 
00097 /* Numbers 220-280 are reserved for Rocket Software ports. */
00098 #define RSA_S390_OS390R13           220
00099 
00100 #ifdef __cplusplus
00101 }
00102 #endif
00103 
00104 #endif /* _BSAFE_MACRO_H_ */

Copyright (c) 1999-2005 RSA Security Inc. All rights reserved. 068-001001-6210-001-000 - 6.2.1