VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Crypto/Sources
blob: 417f0e0448d8415fa90083f67bf445e75ccf01b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
TARGETNAME=Crypto
TARGETTYPE=DRIVER_LIBRARY

INCLUDES = ..

NTTARGETFILES = \
	"$(OBJ_PATH)\$(O)\Aes_$(TC_ARCH).obj" \
	"$(OBJ_PATH)\$(O)\Aes_hw_cpu.obj"

SOURCES = \
	Aes_$(TC_ARCH).asm \
	Aes_hw_cpu.asm \
	Aeskey.c \
	Aestab.c \
	Rmd160.c \
	Serpent.c \
	Sha2.c \
	Twofish.c \
	Whirlpool.c
"cp">#ifdef __cplusplus extern "C" { #endif #define CAMELLIA_KS 34 * 8 /* userKey is always 32-bytes long */ /* size of ks is 34*8 bytes */ void camellia_set_key(const unsigned __int8 userKey[], unsigned __int8 *ks); void camellia_encrypt(const unsigned __int8 *inBlock, unsigned __int8 *outBlock, unsigned __int8 *ks); void camellia_decrypt(const unsigned __int8 *inBlock, unsigned __int8 *outBlock, unsigned __int8 *ks); #ifdef __cplusplus } #endif #endif // HEADER_Crypto_Camellia