1
0
Fork 0
mirror of https://github.com/Scandal-UK/Incognito_RCM.git synced 2024-12-23 10:52:06 +00:00
Incognito_RCM/source/keys/XTS_AES.h

10 lines
234 B
C
Raw Normal View History

2019-09-23 16:09:44 +01:00
// 암호화 모드
#define ENC 1
// 복호화 모드
#define DEC 0
typedef unsigned char BYTE;
// 128비트 XTS_AES 암복호화 인터페이스
void XTS_AES128(BYTE *plain, BYTE *cipher, unsigned int size, BYTE* key, int mode);