1d00ed299SGarrett Wollman /* crypto/ripemd/rmdconst.h */ 2d00ed299SGarrett Wollman /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 3d00ed299SGarrett Wollman * All rights reserved. 4d00ed299SGarrett Wollman * 5d00ed299SGarrett Wollman * This package is an SSL implementation written 6d00ed299SGarrett Wollman * by Eric Young (eay@cryptsoft.com). 7d00ed299SGarrett Wollman * The implementation was written so as to conform with Netscapes SSL. 8d00ed299SGarrett Wollman * 9d00ed299SGarrett Wollman * This library is free for commercial and non-commercial use as long as 10d00ed299SGarrett Wollman * the following conditions are aheared to. The following conditions 11d00ed299SGarrett Wollman * apply to all code found in this distribution, be it the RC4, RSA, 12d00ed299SGarrett Wollman * lhash, DES, etc., code; not just the SSL code. The SSL documentation 13d00ed299SGarrett Wollman * included with this distribution is covered by the same copyright terms 14d00ed299SGarrett Wollman * except that the holder is Tim Hudson (tjh@cryptsoft.com). 15d00ed299SGarrett Wollman * 16d00ed299SGarrett Wollman * Copyright remains Eric Young's, and as such any Copyright notices in 17d00ed299SGarrett Wollman * the code are not to be removed. 18d00ed299SGarrett Wollman * If this package is used in a product, Eric Young should be given attribution 19d00ed299SGarrett Wollman * as the author of the parts of the library used. 20d00ed299SGarrett Wollman * This can be in the form of a textual message at program startup or 21d00ed299SGarrett Wollman * in documentation (online or textual) provided with the package. 22d00ed299SGarrett Wollman * 23d00ed299SGarrett Wollman * Redistribution and use in source and binary forms, with or without 24d00ed299SGarrett Wollman * modification, are permitted provided that the following conditions 25d00ed299SGarrett Wollman * are met: 26d00ed299SGarrett Wollman * 1. Redistributions of source code must retain the copyright 27d00ed299SGarrett Wollman * notice, this list of conditions and the following disclaimer. 28d00ed299SGarrett Wollman * 2. Redistributions in binary form must reproduce the above copyright 29d00ed299SGarrett Wollman * notice, this list of conditions and the following disclaimer in the 30d00ed299SGarrett Wollman * documentation and/or other materials provided with the distribution. 31d00ed299SGarrett Wollman * 3. All advertising materials mentioning features or use of this software 32d00ed299SGarrett Wollman * must display the following acknowledgement: 33d00ed299SGarrett Wollman * "This product includes cryptographic software written by 34d00ed299SGarrett Wollman * Eric Young (eay@cryptsoft.com)" 35*3e5a11d5SGordon Bergling * The word 'cryptographic' can be left out if the routines from the library 36d00ed299SGarrett Wollman * being used are not cryptographic related :-). 37d00ed299SGarrett Wollman * 4. If you include any Windows specific code (or a derivative thereof) from 38d00ed299SGarrett Wollman * the apps directory (application code) you must include an acknowledgement: 39d00ed299SGarrett Wollman * "This product includes software written by Tim Hudson (tjh@cryptsoft.com)" 40d00ed299SGarrett Wollman * 41d00ed299SGarrett Wollman * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND 42d00ed299SGarrett Wollman * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 43d00ed299SGarrett Wollman * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 44d00ed299SGarrett Wollman * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 45d00ed299SGarrett Wollman * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 46d00ed299SGarrett Wollman * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 47d00ed299SGarrett Wollman * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 48d00ed299SGarrett Wollman * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 49d00ed299SGarrett Wollman * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 50d00ed299SGarrett Wollman * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 51d00ed299SGarrett Wollman * SUCH DAMAGE. 52d00ed299SGarrett Wollman * 53d00ed299SGarrett Wollman * The licence and distribution terms for any publically available version or 54d00ed299SGarrett Wollman * derivative of this code cannot be changed. i.e. this code cannot simply be 55d00ed299SGarrett Wollman * copied and put under another distribution licence 56d00ed299SGarrett Wollman * [including the GNU Public Licence.] 57d00ed299SGarrett Wollman */ 58d00ed299SGarrett Wollman #define KL0 0x00000000L 59d00ed299SGarrett Wollman #define KL1 0x5A827999L 60d00ed299SGarrett Wollman #define KL2 0x6ED9EBA1L 61d00ed299SGarrett Wollman #define KL3 0x8F1BBCDCL 62d00ed299SGarrett Wollman #define KL4 0xA953FD4EL 63d00ed299SGarrett Wollman 64d00ed299SGarrett Wollman #define KR0 0x50A28BE6L 65d00ed299SGarrett Wollman #define KR1 0x5C4DD124L 66d00ed299SGarrett Wollman #define KR2 0x6D703EF3L 67d00ed299SGarrett Wollman #define KR3 0x7A6D76E9L 68d00ed299SGarrett Wollman #define KR4 0x00000000L 69d00ed299SGarrett Wollman 70d00ed299SGarrett Wollman #define WL00 0 71d00ed299SGarrett Wollman #define SL00 11 72d00ed299SGarrett Wollman #define WL01 1 73d00ed299SGarrett Wollman #define SL01 14 74d00ed299SGarrett Wollman #define WL02 2 75d00ed299SGarrett Wollman #define SL02 15 76d00ed299SGarrett Wollman #define WL03 3 77d00ed299SGarrett Wollman #define SL03 12 78d00ed299SGarrett Wollman #define WL04 4 79d00ed299SGarrett Wollman #define SL04 5 80d00ed299SGarrett Wollman #define WL05 5 81d00ed299SGarrett Wollman #define SL05 8 82d00ed299SGarrett Wollman #define WL06 6 83d00ed299SGarrett Wollman #define SL06 7 84d00ed299SGarrett Wollman #define WL07 7 85d00ed299SGarrett Wollman #define SL07 9 86d00ed299SGarrett Wollman #define WL08 8 87d00ed299SGarrett Wollman #define SL08 11 88d00ed299SGarrett Wollman #define WL09 9 89d00ed299SGarrett Wollman #define SL09 13 90d00ed299SGarrett Wollman #define WL10 10 91d00ed299SGarrett Wollman #define SL10 14 92d00ed299SGarrett Wollman #define WL11 11 93d00ed299SGarrett Wollman #define SL11 15 94d00ed299SGarrett Wollman #define WL12 12 95d00ed299SGarrett Wollman #define SL12 6 96d00ed299SGarrett Wollman #define WL13 13 97d00ed299SGarrett Wollman #define SL13 7 98d00ed299SGarrett Wollman #define WL14 14 99d00ed299SGarrett Wollman #define SL14 9 100d00ed299SGarrett Wollman #define WL15 15 101d00ed299SGarrett Wollman #define SL15 8 102d00ed299SGarrett Wollman 103d00ed299SGarrett Wollman #define WL16 7 104d00ed299SGarrett Wollman #define SL16 7 105d00ed299SGarrett Wollman #define WL17 4 106d00ed299SGarrett Wollman #define SL17 6 107d00ed299SGarrett Wollman #define WL18 13 108d00ed299SGarrett Wollman #define SL18 8 109d00ed299SGarrett Wollman #define WL19 1 110d00ed299SGarrett Wollman #define SL19 13 111d00ed299SGarrett Wollman #define WL20 10 112d00ed299SGarrett Wollman #define SL20 11 113d00ed299SGarrett Wollman #define WL21 6 114d00ed299SGarrett Wollman #define SL21 9 115d00ed299SGarrett Wollman #define WL22 15 116d00ed299SGarrett Wollman #define SL22 7 117d00ed299SGarrett Wollman #define WL23 3 118d00ed299SGarrett Wollman #define SL23 15 119d00ed299SGarrett Wollman #define WL24 12 120d00ed299SGarrett Wollman #define SL24 7 121d00ed299SGarrett Wollman #define WL25 0 122d00ed299SGarrett Wollman #define SL25 12 123d00ed299SGarrett Wollman #define WL26 9 124d00ed299SGarrett Wollman #define SL26 15 125d00ed299SGarrett Wollman #define WL27 5 126d00ed299SGarrett Wollman #define SL27 9 127d00ed299SGarrett Wollman #define WL28 2 128d00ed299SGarrett Wollman #define SL28 11 129d00ed299SGarrett Wollman #define WL29 14 130d00ed299SGarrett Wollman #define SL29 7 131d00ed299SGarrett Wollman #define WL30 11 132d00ed299SGarrett Wollman #define SL30 13 133d00ed299SGarrett Wollman #define WL31 8 134d00ed299SGarrett Wollman #define SL31 12 135d00ed299SGarrett Wollman 136d00ed299SGarrett Wollman #define WL32 3 137d00ed299SGarrett Wollman #define SL32 11 138d00ed299SGarrett Wollman #define WL33 10 139d00ed299SGarrett Wollman #define SL33 13 140d00ed299SGarrett Wollman #define WL34 14 141d00ed299SGarrett Wollman #define SL34 6 142d00ed299SGarrett Wollman #define WL35 4 143d00ed299SGarrett Wollman #define SL35 7 144d00ed299SGarrett Wollman #define WL36 9 145d00ed299SGarrett Wollman #define SL36 14 146d00ed299SGarrett Wollman #define WL37 15 147d00ed299SGarrett Wollman #define SL37 9 148d00ed299SGarrett Wollman #define WL38 8 149d00ed299SGarrett Wollman #define SL38 13 150d00ed299SGarrett Wollman #define WL39 1 151d00ed299SGarrett Wollman #define SL39 15 152d00ed299SGarrett Wollman #define WL40 2 153d00ed299SGarrett Wollman #define SL40 14 154d00ed299SGarrett Wollman #define WL41 7 155d00ed299SGarrett Wollman #define SL41 8 156d00ed299SGarrett Wollman #define WL42 0 157d00ed299SGarrett Wollman #define SL42 13 158d00ed299SGarrett Wollman #define WL43 6 159d00ed299SGarrett Wollman #define SL43 6 160d00ed299SGarrett Wollman #define WL44 13 161d00ed299SGarrett Wollman #define SL44 5 162d00ed299SGarrett Wollman #define WL45 11 163d00ed299SGarrett Wollman #define SL45 12 164d00ed299SGarrett Wollman #define WL46 5 165d00ed299SGarrett Wollman #define SL46 7 166d00ed299SGarrett Wollman #define WL47 12 167d00ed299SGarrett Wollman #define SL47 5 168d00ed299SGarrett Wollman 169d00ed299SGarrett Wollman #define WL48 1 170d00ed299SGarrett Wollman #define SL48 11 171d00ed299SGarrett Wollman #define WL49 9 172d00ed299SGarrett Wollman #define SL49 12 173d00ed299SGarrett Wollman #define WL50 11 174d00ed299SGarrett Wollman #define SL50 14 175d00ed299SGarrett Wollman #define WL51 10 176d00ed299SGarrett Wollman #define SL51 15 177d00ed299SGarrett Wollman #define WL52 0 178d00ed299SGarrett Wollman #define SL52 14 179d00ed299SGarrett Wollman #define WL53 8 180d00ed299SGarrett Wollman #define SL53 15 181d00ed299SGarrett Wollman #define WL54 12 182d00ed299SGarrett Wollman #define SL54 9 183d00ed299SGarrett Wollman #define WL55 4 184d00ed299SGarrett Wollman #define SL55 8 185d00ed299SGarrett Wollman #define WL56 13 186d00ed299SGarrett Wollman #define SL56 9 187d00ed299SGarrett Wollman #define WL57 3 188d00ed299SGarrett Wollman #define SL57 14 189d00ed299SGarrett Wollman #define WL58 7 190d00ed299SGarrett Wollman #define SL58 5 191d00ed299SGarrett Wollman #define WL59 15 192d00ed299SGarrett Wollman #define SL59 6 193d00ed299SGarrett Wollman #define WL60 14 194d00ed299SGarrett Wollman #define SL60 8 195d00ed299SGarrett Wollman #define WL61 5 196d00ed299SGarrett Wollman #define SL61 6 197d00ed299SGarrett Wollman #define WL62 6 198d00ed299SGarrett Wollman #define SL62 5 199d00ed299SGarrett Wollman #define WL63 2 200d00ed299SGarrett Wollman #define SL63 12 201d00ed299SGarrett Wollman 202d00ed299SGarrett Wollman #define WL64 4 203d00ed299SGarrett Wollman #define SL64 9 204d00ed299SGarrett Wollman #define WL65 0 205d00ed299SGarrett Wollman #define SL65 15 206d00ed299SGarrett Wollman #define WL66 5 207d00ed299SGarrett Wollman #define SL66 5 208d00ed299SGarrett Wollman #define WL67 9 209d00ed299SGarrett Wollman #define SL67 11 210d00ed299SGarrett Wollman #define WL68 7 211d00ed299SGarrett Wollman #define SL68 6 212d00ed299SGarrett Wollman #define WL69 12 213d00ed299SGarrett Wollman #define SL69 8 214d00ed299SGarrett Wollman #define WL70 2 215d00ed299SGarrett Wollman #define SL70 13 216d00ed299SGarrett Wollman #define WL71 10 217d00ed299SGarrett Wollman #define SL71 12 218d00ed299SGarrett Wollman #define WL72 14 219d00ed299SGarrett Wollman #define SL72 5 220d00ed299SGarrett Wollman #define WL73 1 221d00ed299SGarrett Wollman #define SL73 12 222d00ed299SGarrett Wollman #define WL74 3 223d00ed299SGarrett Wollman #define SL74 13 224d00ed299SGarrett Wollman #define WL75 8 225d00ed299SGarrett Wollman #define SL75 14 226d00ed299SGarrett Wollman #define WL76 11 227d00ed299SGarrett Wollman #define SL76 11 228d00ed299SGarrett Wollman #define WL77 6 229d00ed299SGarrett Wollman #define SL77 8 230d00ed299SGarrett Wollman #define WL78 15 231d00ed299SGarrett Wollman #define SL78 5 232d00ed299SGarrett Wollman #define WL79 13 233d00ed299SGarrett Wollman #define SL79 6 234d00ed299SGarrett Wollman 235d00ed299SGarrett Wollman #define WR00 5 236d00ed299SGarrett Wollman #define SR00 8 237d00ed299SGarrett Wollman #define WR01 14 238d00ed299SGarrett Wollman #define SR01 9 239d00ed299SGarrett Wollman #define WR02 7 240d00ed299SGarrett Wollman #define SR02 9 241d00ed299SGarrett Wollman #define WR03 0 242d00ed299SGarrett Wollman #define SR03 11 243d00ed299SGarrett Wollman #define WR04 9 244d00ed299SGarrett Wollman #define SR04 13 245d00ed299SGarrett Wollman #define WR05 2 246d00ed299SGarrett Wollman #define SR05 15 247d00ed299SGarrett Wollman #define WR06 11 248d00ed299SGarrett Wollman #define SR06 15 249d00ed299SGarrett Wollman #define WR07 4 250d00ed299SGarrett Wollman #define SR07 5 251d00ed299SGarrett Wollman #define WR08 13 252d00ed299SGarrett Wollman #define SR08 7 253d00ed299SGarrett Wollman #define WR09 6 254d00ed299SGarrett Wollman #define SR09 7 255d00ed299SGarrett Wollman #define WR10 15 256d00ed299SGarrett Wollman #define SR10 8 257d00ed299SGarrett Wollman #define WR11 8 258d00ed299SGarrett Wollman #define SR11 11 259d00ed299SGarrett Wollman #define WR12 1 260d00ed299SGarrett Wollman #define SR12 14 261d00ed299SGarrett Wollman #define WR13 10 262d00ed299SGarrett Wollman #define SR13 14 263d00ed299SGarrett Wollman #define WR14 3 264d00ed299SGarrett Wollman #define SR14 12 265d00ed299SGarrett Wollman #define WR15 12 266d00ed299SGarrett Wollman #define SR15 6 267d00ed299SGarrett Wollman 268d00ed299SGarrett Wollman #define WR16 6 269d00ed299SGarrett Wollman #define SR16 9 270d00ed299SGarrett Wollman #define WR17 11 271d00ed299SGarrett Wollman #define SR17 13 272d00ed299SGarrett Wollman #define WR18 3 273d00ed299SGarrett Wollman #define SR18 15 274d00ed299SGarrett Wollman #define WR19 7 275d00ed299SGarrett Wollman #define SR19 7 276d00ed299SGarrett Wollman #define WR20 0 277d00ed299SGarrett Wollman #define SR20 12 278d00ed299SGarrett Wollman #define WR21 13 279d00ed299SGarrett Wollman #define SR21 8 280d00ed299SGarrett Wollman #define WR22 5 281d00ed299SGarrett Wollman #define SR22 9 282d00ed299SGarrett Wollman #define WR23 10 283d00ed299SGarrett Wollman #define SR23 11 284d00ed299SGarrett Wollman #define WR24 14 285d00ed299SGarrett Wollman #define SR24 7 286d00ed299SGarrett Wollman #define WR25 15 287d00ed299SGarrett Wollman #define SR25 7 288d00ed299SGarrett Wollman #define WR26 8 289d00ed299SGarrett Wollman #define SR26 12 290d00ed299SGarrett Wollman #define WR27 12 291d00ed299SGarrett Wollman #define SR27 7 292d00ed299SGarrett Wollman #define WR28 4 293d00ed299SGarrett Wollman #define SR28 6 294d00ed299SGarrett Wollman #define WR29 9 295d00ed299SGarrett Wollman #define SR29 15 296d00ed299SGarrett Wollman #define WR30 1 297d00ed299SGarrett Wollman #define SR30 13 298d00ed299SGarrett Wollman #define WR31 2 299d00ed299SGarrett Wollman #define SR31 11 300d00ed299SGarrett Wollman 301d00ed299SGarrett Wollman #define WR32 15 302d00ed299SGarrett Wollman #define SR32 9 303d00ed299SGarrett Wollman #define WR33 5 304d00ed299SGarrett Wollman #define SR33 7 305d00ed299SGarrett Wollman #define WR34 1 306d00ed299SGarrett Wollman #define SR34 15 307d00ed299SGarrett Wollman #define WR35 3 308d00ed299SGarrett Wollman #define SR35 11 309d00ed299SGarrett Wollman #define WR36 7 310d00ed299SGarrett Wollman #define SR36 8 311d00ed299SGarrett Wollman #define WR37 14 312d00ed299SGarrett Wollman #define SR37 6 313d00ed299SGarrett Wollman #define WR38 6 314d00ed299SGarrett Wollman #define SR38 6 315d00ed299SGarrett Wollman #define WR39 9 316d00ed299SGarrett Wollman #define SR39 14 317d00ed299SGarrett Wollman #define WR40 11 318d00ed299SGarrett Wollman #define SR40 12 319d00ed299SGarrett Wollman #define WR41 8 320d00ed299SGarrett Wollman #define SR41 13 321d00ed299SGarrett Wollman #define WR42 12 322d00ed299SGarrett Wollman #define SR42 5 323d00ed299SGarrett Wollman #define WR43 2 324d00ed299SGarrett Wollman #define SR43 14 325d00ed299SGarrett Wollman #define WR44 10 326d00ed299SGarrett Wollman #define SR44 13 327d00ed299SGarrett Wollman #define WR45 0 328d00ed299SGarrett Wollman #define SR45 13 329d00ed299SGarrett Wollman #define WR46 4 330d00ed299SGarrett Wollman #define SR46 7 331d00ed299SGarrett Wollman #define WR47 13 332d00ed299SGarrett Wollman #define SR47 5 333d00ed299SGarrett Wollman 334d00ed299SGarrett Wollman #define WR48 8 335d00ed299SGarrett Wollman #define SR48 15 336d00ed299SGarrett Wollman #define WR49 6 337d00ed299SGarrett Wollman #define SR49 5 338d00ed299SGarrett Wollman #define WR50 4 339d00ed299SGarrett Wollman #define SR50 8 340d00ed299SGarrett Wollman #define WR51 1 341d00ed299SGarrett Wollman #define SR51 11 342d00ed299SGarrett Wollman #define WR52 3 343d00ed299SGarrett Wollman #define SR52 14 344d00ed299SGarrett Wollman #define WR53 11 345d00ed299SGarrett Wollman #define SR53 14 346d00ed299SGarrett Wollman #define WR54 15 347d00ed299SGarrett Wollman #define SR54 6 348d00ed299SGarrett Wollman #define WR55 0 349d00ed299SGarrett Wollman #define SR55 14 350d00ed299SGarrett Wollman #define WR56 5 351d00ed299SGarrett Wollman #define SR56 6 352d00ed299SGarrett Wollman #define WR57 12 353d00ed299SGarrett Wollman #define SR57 9 354d00ed299SGarrett Wollman #define WR58 2 355d00ed299SGarrett Wollman #define SR58 12 356d00ed299SGarrett Wollman #define WR59 13 357d00ed299SGarrett Wollman #define SR59 9 358d00ed299SGarrett Wollman #define WR60 9 359d00ed299SGarrett Wollman #define SR60 12 360d00ed299SGarrett Wollman #define WR61 7 361d00ed299SGarrett Wollman #define SR61 5 362d00ed299SGarrett Wollman #define WR62 10 363d00ed299SGarrett Wollman #define SR62 15 364d00ed299SGarrett Wollman #define WR63 14 365d00ed299SGarrett Wollman #define SR63 8 366d00ed299SGarrett Wollman 367d00ed299SGarrett Wollman #define WR64 12 368d00ed299SGarrett Wollman #define SR64 8 369d00ed299SGarrett Wollman #define WR65 15 370d00ed299SGarrett Wollman #define SR65 5 371d00ed299SGarrett Wollman #define WR66 10 372d00ed299SGarrett Wollman #define SR66 12 373d00ed299SGarrett Wollman #define WR67 4 374d00ed299SGarrett Wollman #define SR67 9 375d00ed299SGarrett Wollman #define WR68 1 376d00ed299SGarrett Wollman #define SR68 12 377d00ed299SGarrett Wollman #define WR69 5 378d00ed299SGarrett Wollman #define SR69 5 379d00ed299SGarrett Wollman #define WR70 8 380d00ed299SGarrett Wollman #define SR70 14 381d00ed299SGarrett Wollman #define WR71 7 382d00ed299SGarrett Wollman #define SR71 6 383d00ed299SGarrett Wollman #define WR72 6 384d00ed299SGarrett Wollman #define SR72 8 385d00ed299SGarrett Wollman #define WR73 2 386d00ed299SGarrett Wollman #define SR73 13 387d00ed299SGarrett Wollman #define WR74 13 388d00ed299SGarrett Wollman #define SR74 6 389d00ed299SGarrett Wollman #define WR75 14 390d00ed299SGarrett Wollman #define SR75 5 391d00ed299SGarrett Wollman #define WR76 0 392d00ed299SGarrett Wollman #define SR76 15 393d00ed299SGarrett Wollman #define WR77 3 394d00ed299SGarrett Wollman #define SR77 13 395d00ed299SGarrett Wollman #define WR78 9 396d00ed299SGarrett Wollman #define SR78 11 397d00ed299SGarrett Wollman #define WR79 11 398d00ed299SGarrett Wollman #define SR79 11 399d00ed299SGarrett Wollman 400