Eneboo - Documentación para desarrolladores
|
00001 /* crypto/ripemd/rmdconst.h */ 00002 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 00003 * All rights reserved. 00004 * 00005 * This package is an SSL implementation written 00006 * by Eric Young (eay@cryptsoft.com). 00007 * The implementation was written so as to conform with Netscapes SSL. 00008 * 00009 * This library is free for commercial and non-commercial use as long as 00010 * the following conditions are aheared to. The following conditions 00011 * apply to all code found in this distribution, be it the RC4, RSA, 00012 * lhash, DES, etc., code; not just the SSL code. The SSL documentation 00013 * included with this distribution is covered by the same copyright terms 00014 * except that the holder is Tim Hudson (tjh@cryptsoft.com). 00015 * 00016 * Copyright remains Eric Young's, and as such any Copyright notices in 00017 * the code are not to be removed. 00018 * If this package is used in a product, Eric Young should be given attribution 00019 * as the author of the parts of the library used. 00020 * This can be in the form of a textual message at program startup or 00021 * in documentation (online or textual) provided with the package. 00022 * 00023 * Redistribution and use in source and binary forms, with or without 00024 * modification, are permitted provided that the following conditions 00025 * are met: 00026 * 1. Redistributions of source code must retain the copyright 00027 * notice, this list of conditions and the following disclaimer. 00028 * 2. Redistributions in binary form must reproduce the above copyright 00029 * notice, this list of conditions and the following disclaimer in the 00030 * documentation and/or other materials provided with the distribution. 00031 * 3. All advertising materials mentioning features or use of this software 00032 * must display the following acknowledgement: 00033 * "This product includes cryptographic software written by 00034 * Eric Young (eay@cryptsoft.com)" 00035 * The word 'cryptographic' can be left out if the rouines from the library 00036 * being used are not cryptographic related :-). 00037 * 4. If you include any Windows specific code (or a derivative thereof) from 00038 * the apps directory (application code) you must include an acknowledgement: 00039 * "This product includes software written by Tim Hudson (tjh@cryptsoft.com)" 00040 * 00041 * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND 00042 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 00043 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 00044 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 00045 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 00046 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 00047 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 00048 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 00049 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 00050 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 00051 * SUCH DAMAGE. 00052 * 00053 * The licence and distribution terms for any publically available version or 00054 * derivative of this code cannot be changed. i.e. this code cannot simply be 00055 * copied and put under another distribution licence 00056 * [including the GNU Public Licence.] 00057 */ 00058 #define KL0 0x00000000L 00059 #define KL1 0x5A827999L 00060 #define KL2 0x6ED9EBA1L 00061 #define KL3 0x8F1BBCDCL 00062 #define KL4 0xA953FD4EL 00063 00064 #define KR0 0x50A28BE6L 00065 #define KR1 0x5C4DD124L 00066 #define KR2 0x6D703EF3L 00067 #define KR3 0x7A6D76E9L 00068 #define KR4 0x00000000L 00069 00070 #define WL00 0 00071 #define SL00 11 00072 #define WL01 1 00073 #define SL01 14 00074 #define WL02 2 00075 #define SL02 15 00076 #define WL03 3 00077 #define SL03 12 00078 #define WL04 4 00079 #define SL04 5 00080 #define WL05 5 00081 #define SL05 8 00082 #define WL06 6 00083 #define SL06 7 00084 #define WL07 7 00085 #define SL07 9 00086 #define WL08 8 00087 #define SL08 11 00088 #define WL09 9 00089 #define SL09 13 00090 #define WL10 10 00091 #define SL10 14 00092 #define WL11 11 00093 #define SL11 15 00094 #define WL12 12 00095 #define SL12 6 00096 #define WL13 13 00097 #define SL13 7 00098 #define WL14 14 00099 #define SL14 9 00100 #define WL15 15 00101 #define SL15 8 00102 00103 #define WL16 7 00104 #define SL16 7 00105 #define WL17 4 00106 #define SL17 6 00107 #define WL18 13 00108 #define SL18 8 00109 #define WL19 1 00110 #define SL19 13 00111 #define WL20 10 00112 #define SL20 11 00113 #define WL21 6 00114 #define SL21 9 00115 #define WL22 15 00116 #define SL22 7 00117 #define WL23 3 00118 #define SL23 15 00119 #define WL24 12 00120 #define SL24 7 00121 #define WL25 0 00122 #define SL25 12 00123 #define WL26 9 00124 #define SL26 15 00125 #define WL27 5 00126 #define SL27 9 00127 #define WL28 2 00128 #define SL28 11 00129 #define WL29 14 00130 #define SL29 7 00131 #define WL30 11 00132 #define SL30 13 00133 #define WL31 8 00134 #define SL31 12 00135 00136 #define WL32 3 00137 #define SL32 11 00138 #define WL33 10 00139 #define SL33 13 00140 #define WL34 14 00141 #define SL34 6 00142 #define WL35 4 00143 #define SL35 7 00144 #define WL36 9 00145 #define SL36 14 00146 #define WL37 15 00147 #define SL37 9 00148 #define WL38 8 00149 #define SL38 13 00150 #define WL39 1 00151 #define SL39 15 00152 #define WL40 2 00153 #define SL40 14 00154 #define WL41 7 00155 #define SL41 8 00156 #define WL42 0 00157 #define SL42 13 00158 #define WL43 6 00159 #define SL43 6 00160 #define WL44 13 00161 #define SL44 5 00162 #define WL45 11 00163 #define SL45 12 00164 #define WL46 5 00165 #define SL46 7 00166 #define WL47 12 00167 #define SL47 5 00168 00169 #define WL48 1 00170 #define SL48 11 00171 #define WL49 9 00172 #define SL49 12 00173 #define WL50 11 00174 #define SL50 14 00175 #define WL51 10 00176 #define SL51 15 00177 #define WL52 0 00178 #define SL52 14 00179 #define WL53 8 00180 #define SL53 15 00181 #define WL54 12 00182 #define SL54 9 00183 #define WL55 4 00184 #define SL55 8 00185 #define WL56 13 00186 #define SL56 9 00187 #define WL57 3 00188 #define SL57 14 00189 #define WL58 7 00190 #define SL58 5 00191 #define WL59 15 00192 #define SL59 6 00193 #define WL60 14 00194 #define SL60 8 00195 #define WL61 5 00196 #define SL61 6 00197 #define WL62 6 00198 #define SL62 5 00199 #define WL63 2 00200 #define SL63 12 00201 00202 #define WL64 4 00203 #define SL64 9 00204 #define WL65 0 00205 #define SL65 15 00206 #define WL66 5 00207 #define SL66 5 00208 #define WL67 9 00209 #define SL67 11 00210 #define WL68 7 00211 #define SL68 6 00212 #define WL69 12 00213 #define SL69 8 00214 #define WL70 2 00215 #define SL70 13 00216 #define WL71 10 00217 #define SL71 12 00218 #define WL72 14 00219 #define SL72 5 00220 #define WL73 1 00221 #define SL73 12 00222 #define WL74 3 00223 #define SL74 13 00224 #define WL75 8 00225 #define SL75 14 00226 #define WL76 11 00227 #define SL76 11 00228 #define WL77 6 00229 #define SL77 8 00230 #define WL78 15 00231 #define SL78 5 00232 #define WL79 13 00233 #define SL79 6 00234 00235 #define WR00 5 00236 #define SR00 8 00237 #define WR01 14 00238 #define SR01 9 00239 #define WR02 7 00240 #define SR02 9 00241 #define WR03 0 00242 #define SR03 11 00243 #define WR04 9 00244 #define SR04 13 00245 #define WR05 2 00246 #define SR05 15 00247 #define WR06 11 00248 #define SR06 15 00249 #define WR07 4 00250 #define SR07 5 00251 #define WR08 13 00252 #define SR08 7 00253 #define WR09 6 00254 #define SR09 7 00255 #define WR10 15 00256 #define SR10 8 00257 #define WR11 8 00258 #define SR11 11 00259 #define WR12 1 00260 #define SR12 14 00261 #define WR13 10 00262 #define SR13 14 00263 #define WR14 3 00264 #define SR14 12 00265 #define WR15 12 00266 #define SR15 6 00267 00268 #define WR16 6 00269 #define SR16 9 00270 #define WR17 11 00271 #define SR17 13 00272 #define WR18 3 00273 #define SR18 15 00274 #define WR19 7 00275 #define SR19 7 00276 #define WR20 0 00277 #define SR20 12 00278 #define WR21 13 00279 #define SR21 8 00280 #define WR22 5 00281 #define SR22 9 00282 #define WR23 10 00283 #define SR23 11 00284 #define WR24 14 00285 #define SR24 7 00286 #define WR25 15 00287 #define SR25 7 00288 #define WR26 8 00289 #define SR26 12 00290 #define WR27 12 00291 #define SR27 7 00292 #define WR28 4 00293 #define SR28 6 00294 #define WR29 9 00295 #define SR29 15 00296 #define WR30 1 00297 #define SR30 13 00298 #define WR31 2 00299 #define SR31 11 00300 00301 #define WR32 15 00302 #define SR32 9 00303 #define WR33 5 00304 #define SR33 7 00305 #define WR34 1 00306 #define SR34 15 00307 #define WR35 3 00308 #define SR35 11 00309 #define WR36 7 00310 #define SR36 8 00311 #define WR37 14 00312 #define SR37 6 00313 #define WR38 6 00314 #define SR38 6 00315 #define WR39 9 00316 #define SR39 14 00317 #define WR40 11 00318 #define SR40 12 00319 #define WR41 8 00320 #define SR41 13 00321 #define WR42 12 00322 #define SR42 5 00323 #define WR43 2 00324 #define SR43 14 00325 #define WR44 10 00326 #define SR44 13 00327 #define WR45 0 00328 #define SR45 13 00329 #define WR46 4 00330 #define SR46 7 00331 #define WR47 13 00332 #define SR47 5 00333 00334 #define WR48 8 00335 #define SR48 15 00336 #define WR49 6 00337 #define SR49 5 00338 #define WR50 4 00339 #define SR50 8 00340 #define WR51 1 00341 #define SR51 11 00342 #define WR52 3 00343 #define SR52 14 00344 #define WR53 11 00345 #define SR53 14 00346 #define WR54 15 00347 #define SR54 6 00348 #define WR55 0 00349 #define SR55 14 00350 #define WR56 5 00351 #define SR56 6 00352 #define WR57 12 00353 #define SR57 9 00354 #define WR58 2 00355 #define SR58 12 00356 #define WR59 13 00357 #define SR59 9 00358 #define WR60 9 00359 #define SR60 12 00360 #define WR61 7 00361 #define SR61 5 00362 #define WR62 10 00363 #define SR62 15 00364 #define WR63 14 00365 #define SR63 8 00366 00367 #define WR64 12 00368 #define SR64 8 00369 #define WR65 15 00370 #define SR65 5 00371 #define WR66 10 00372 #define SR66 12 00373 #define WR67 4 00374 #define SR67 9 00375 #define WR68 1 00376 #define SR68 12 00377 #define WR69 5 00378 #define SR69 5 00379 #define WR70 8 00380 #define SR70 14 00381 #define WR71 7 00382 #define SR71 6 00383 #define WR72 6 00384 #define SR72 8 00385 #define WR73 2 00386 #define SR73 13 00387 #define WR74 13 00388 #define SR74 6 00389 #define WR75 14 00390 #define SR75 5 00391 #define WR76 0 00392 #define SR76 15 00393 #define WR77 3 00394 #define SR77 13 00395 #define WR78 9 00396 #define SR78 11 00397 #define WR79 11 00398 #define SR79 11 00399