crypto/weakcryptospi/source/symmetric/rc2table.h
changeset 19 cd501b96611d
equal deleted inserted replaced
15:da2ae96f639b 19:cd501b96611d
       
     1 /*
       
     2 * Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the License "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 * RC2 Table
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 /**
       
    21  @file 
       
    22  @internalComponent 
       
    23 */
       
    24  
       
    25 #ifndef __RC2TABLES_H__
       
    26 #define __RC2TABLES_H__
       
    27 
       
    28 #include <e32std.h>
       
    29 
       
    30 namespace RC2_TABLE
       
    31 {
       
    32 	const TUint8 PITABLE[256] = 
       
    33 	{
       
    34 		217,120,249,196, 25,221,181,237, 40,233,253,121, 74,160,216,157,
       
    35 		198,126, 55,131, 43,118, 83,142, 98, 76,100,136, 68,139,251,162,
       
    36 		 23,154, 89,245,135,179, 79, 19, 97, 69,109,141,  9,129,125, 50,
       
    37 		189,143, 64,235,134,183,123, 11,240,149, 33, 34, 92,107, 78,130,
       
    38 		 84,214,101,147,206, 96,178, 28,115, 86,192, 20,167,140,241,220,
       
    39 		 18,117,202, 31, 59,190,228,209, 66, 61,212, 48,163, 60,182, 38,
       
    40 		111,191, 14,218, 70,105,  7, 87, 39,242, 29,155,188,148, 67,  3,
       
    41 		248, 17,199,246,144,239, 62,231,  6,195,213, 47,200,102, 30,215,
       
    42 		  8,232,234,222,128, 82,238,247,132,170,114,172, 53, 77,106, 42,
       
    43 		150, 26,210,113, 90, 21, 73,116, 75,159,208, 94,  4, 24,164,236,
       
    44 		194,224, 65,110, 15, 81,203,204, 36,145,175, 80,161,244,112, 57,
       
    45 		153,124, 58,133, 35,184,180,122,252,  2, 54, 91, 37, 85,151, 49,
       
    46 		 45, 93,250,152,227,138,146,174,  5,223, 41, 16,103,108,186,201,
       
    47 		211,  0,230,207,225,158,168, 44, 99, 22,  1, 63, 88,226,137,169,
       
    48 		 13, 56, 52, 27,171, 51,255,176,187, 72, 12, 95,185,177,205, 46,
       
    49 		197,243,219, 71,229,165,156,119, 10,166, 32,104,254,127,193,173
       
    50 	};
       
    51 }
       
    52 	//	namespace RC2_TABLE
       
    53 #endif	//	__RC2TABLES_H__