-
Notifications
You must be signed in to change notification settings - Fork 0
/
pch.h
27 lines (23 loc) · 1.28 KB
/
pch.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// pch.h: This is a precompiled header file.
// Files listed below are compiled only once, improving build performance for future builds.
// This also affects IntelliSense performance, including code completion and many code browsing features.
// However, files listed here are ALL re-compiled if any one of them is updated between builds.
// Do not add files here that you will be updating frequently as this negates the performance advantage.
#ifndef PCH_H
#define PCH_H
// add headers that you want to pre-compile here
#include "framework.h"
/*--------------------------------------------------------------------------------
Internal prototypes
--------------------------------------------------------------------------------*/
void AES_AddRoundKey(UINT RoundNumber, BYTE* RoundKey, BYTE* State);
void AES_AddVector(BYTE* Output, BYTE* Iv, int Blocksize);
void AES_ExpandRoundKeys(BYTE const* Key, UINT KeySizeInWords, UINT NumberOfRounds, BYTE* RoundKey, BYTE* Sbox);
void AES_Initialize_SBox(BYTE* Sbox);
void AES_Inverse_SBox(BYTE* Sbox);
void AES_MixColumns(BYTE* State, BYTE Mode);
void AES_ShiftRows(BYTE* State, BYTE Mode);
void AES_SubstituteBytes(BYTE* State, BYTE* Sbox);
BYTE GaloisFieldMultiplication(BYTE Inp1, BYTE Inp2);
void RotateLeft(BYTE* Line, BYTE Cnt, BYTE Step);
#endif //PCH_H