• Home
  • Raw
  • Download

Lines Matching refs:UInt32

9 static UInt32 T[256 * 4];
28 void MY_FAST_CALL AesCbc_Encode(UInt32 *ivAes, Byte *data, size_t numBlocks);
29 void MY_FAST_CALL AesCbc_Decode(UInt32 *ivAes, Byte *data, size_t numBlocks);
30 void MY_FAST_CALL AesCtr_Code(UInt32 *ivAes, Byte *data, size_t numBlocks);
32 void MY_FAST_CALL AesCbc_Encode_Intel(UInt32 *ivAes, Byte *data, size_t numBlocks);
33 void MY_FAST_CALL AesCbc_Decode_Intel(UInt32 *ivAes, Byte *data, size_t numBlocks);
34 void MY_FAST_CALL AesCtr_Code_Intel(UInt32 *ivAes, Byte *data, size_t numBlocks);
40 static UInt32 D[256 * 4];
47 #define Ui32(a0, a1, a2, a3) ((UInt32)(a0) | ((UInt32)(a1) << 8) | ((UInt32)(a2) << 16) | ((UInt32)…
69 UInt32 a1 = Sbox[i]; in AesGenTables()
70 UInt32 a2 = xtime(a1); in AesGenTables()
71 UInt32 a3 = a2 ^ a1; in AesGenTables()
78 UInt32 a1 = InvS[i]; in AesGenTables()
79 UInt32 a2 = xtime(a1); in AesGenTables()
80 UInt32 a4 = xtime(a2); in AesGenTables()
81 UInt32 a8 = xtime(a4); in AesGenTables()
82 UInt32 a9 = a8 ^ a1; in AesGenTables()
83 UInt32 aB = a8 ^ a2 ^ a1; in AesGenTables()
84 UInt32 aD = a8 ^ a4 ^ a1; in AesGenTables()
85 UInt32 aE = a8 ^ a4 ^ a2; in AesGenTables()
143 void MY_FAST_CALL Aes_SetKey_Enc(UInt32 *w, const Byte *key, unsigned keySize) in Aes_SetKey_Enc()
148 w[0] = ((UInt32)keySize / 2) + 3; in Aes_SetKey_Enc()
156 UInt32 t = w[(size_t)i - 1]; in Aes_SetKey_Enc()
166 void MY_FAST_CALL Aes_SetKey_Dec(UInt32 *w, const Byte *key, unsigned keySize) in Aes_SetKey_Dec()
174 UInt32 r = w[i]; in Aes_SetKey_Dec()
187 static void Aes_Encode(const UInt32 *w, UInt32 *dest, const UInt32 *src) in Aes_Encode()
189 UInt32 s[4]; in Aes_Encode()
190 UInt32 m[4]; in Aes_Encode()
191 UInt32 numRounds2 = w[0]; in Aes_Encode()
210 static void Aes_Decode(const UInt32 *w, UInt32 *dest, const UInt32 *src) in Aes_Decode()
212 UInt32 s[4]; in Aes_Decode()
213 UInt32 m[4]; in Aes_Decode()
214 UInt32 numRounds2 = w[0]; in Aes_Decode()
231 void AesCbc_Init(UInt32 *p, const Byte *iv) in AesCbc_Init()
238 void MY_FAST_CALL AesCbc_Encode(UInt32 *p, Byte *data, size_t numBlocks) in AesCbc_Encode()
256 void MY_FAST_CALL AesCbc_Decode(UInt32 *p, Byte *data, size_t numBlocks) in AesCbc_Decode()
258 UInt32 in[4], out[4]; in AesCbc_Decode()
280 void MY_FAST_CALL AesCtr_Code(UInt32 *p, Byte *data, size_t numBlocks) in AesCtr_Code()
284 UInt32 temp[4]; in AesCtr_Code()
294 UInt32 t = temp[i]; in AesCtr_Code()
297 *((UInt32 *)data) ^= t; in AesCtr_Code()