Main Page Modules Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages

# Table.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Defines
#define | SK_STEP 0x02020202u
#define | SK_BUMP 0x01010101u
#define | SK_ROTL 9
#define | RS_GF_FDBK 0x14D
#define | RS_rem(x)
#define | MDS_GF_FDBK 0x169
#define | LFSR1(x) ( ((x) >> 1) ^ (((x) & 0x01) ? MDS_GF_FDBK/2 : 0))
#define | LFSR2(x)
#define | Mx_1(x) ((DWORD) (x))
#define | Mx_X(x) ((DWORD) ((x) ^ LFSR2(x)))
#define | Mx_Y(x) ((DWORD) ((x) ^ LFSR1(x) ^ LFSR2(x)))
#define | M00 Mul_1
#define | M01 Mul_Y
#define | M02 Mul_X
#define | M03 Mul_X
#define | M10 Mul_X
#define | M11 Mul_Y
#define | M12 Mul_Y
#define | M13 Mul_1
#define | M20 Mul_Y
#define | M21 Mul_X
#define | M22 Mul_1
#define | M23 Mul_Y
#define | M30 Mul_Y
#define | M31 Mul_1
#define | M32 Mul_Y
#define | M33 Mul_X
#define | Mul_1 Mx_1
#define | Mul_X Mx_X
#define | Mul_Y Mx_Y
#define | P_00 1
#define | P_01 0
#define | P_02 0
#define | P_03 (P_01^1)
#define | P_04 1
#define | P_10 0
#define | P_11 0
#define | P_12 1
#define | P_13 (P_11^1)
#define | P_14 0
#define | P_20 1
#define | P_21 1
#define | P_22 0
#define | P_23 (P_21^1)
#define | P_24 0
#define | P_30 0
#define | P_31 1
#define | P_32 1
#define | P_33 (P_31^1)
#define | P_34 1
#define | p8(N) P8x8[P_##N]
## Variables
BYTE | P8x8 [2][256]

## Define Documentation

#define LFSR1 | ( | x |  | ) | ( ((x) >> 1) ^ (((x) & 0x01) ? MDS_GF_FDBK/2 : 0))

#define LFSR2 | ( | x |  | ) |

| Value:
    ( ((x) >> 2)  ^ (((x) & 0x02) ?   MDS_GF_FDBK/2 : 0)  \
                                   ^ (((x) & 0x01) ?   MDS_GF_FDBK/4 : 0))

#define M00 Mul_1

#define M01 Mul_Y

#define M02 Mul_X

#define M03 Mul_X

#define M10 Mul_X

#define M11 Mul_Y

#define M12 Mul_Y

#define M13 Mul_1

#define M20 Mul_Y

#define M21 Mul_X

#define M22 Mul_1

#define M23 Mul_Y

#define M30 Mul_Y

#define M31 Mul_1

#define M32 Mul_Y

#define M33 Mul_X

#define MDS_GF_FDBK 0x169

#define Mul_1 Mx_1

#define Mul_X Mx_X

#define Mul_Y Mx_Y

#define Mx_1 | ( | x |  | ) | ((DWORD) (x))

#define Mx_X | ( | x |  | ) | ((DWORD) ((x) ^ LFSR2(x)))

#define Mx_Y | ( | x |  | ) | ((DWORD) ((x) ^ LFSR1(x) ^ LFSR2(x)))

#define p8 | ( | N |  | ) | P8x8[P_##N]

#define P_00 1

#define P_01 0

#define P_02 0

#define P_03 (P_01^1)

#define P_04 1

#define P_10 0

#define P_11 0

#define P_12 1

#define P_13 (P_11^1)

#define P_14 0

#define P_20 1

#define P_21 1

#define P_22 0

#define P_23 (P_21^1)

#define P_24 0

#define P_30 0

#define P_31 1

#define P_32 1

#define P_33 (P_31^1)

#define P_34 1

#define RS_GF_FDBK 0x14D

#define RS_rem | ( | x |  | ) |

| Value:
    { BYTE  b  = (BYTE) (x >> 24);                                           \
          DWORD g2 = ((b << 1) ^ ((b & 0x80) ? RS_GF_FDBK : 0 )) & 0xFF;         \
          DWORD g3 = ((b >> 1) & 0x7F) ^ ((b & 1) ? RS_GF_FDBK >> 1 : 0 ) ^ g2 ; \
          x = (x << 8) ^ (g3 << 24) ^ (g2 << 16) ^ (g3 << 8) ^ b;                \
        }

#define SK_BUMP 0x01010101u

#define SK_ROTL 9

#define SK_STEP 0x02020202u

## Variable Documentation

BYTE P8x8[2][256]