]> git.cryptolib.org Git - avr-crypto-lib.git/blob - mkfiles/aes_c.mk
rm bin/
[avr-crypto-lib.git] / mkfiles / aes_c.mk
1 # Makefile for AES
2 ALGO_NAME := AES_C
3
4 # comment out the following line for removement of AES from the build process
5 BLOCK_CIPHERS += $(ALGO_NAME)
6
7
8 $(ALGO_NAME)_DIR      := aes/
9 $(ALGO_NAME)_INCDIR   := memxor/ gf256mul/ bcal/
10 $(ALGO_NAME)_OBJ      := aes_enc.o aes_dec.o aes_sbox.o aes_invsbox.o \
11                          aes_keyschedule.o gf256mul.o \
12                          aes128_enc.o aes128_dec.o aes192_enc.o aes192_dec.o \
13                          aes256_enc.o aes256_dec.o
14 $(ALGO_NAME)_TEST_BIN := main-aes-test.o $(CLI_STD) $(BCAL_STD)  \
15                          bcal_aes128.o bcal_aes192.o bcal_aes256.o  bcal-cbc.o \
16                          dump-asm.o dump-decl.o bcal-cfb_byte.o       \
17                          bcal-cfb_bit.o bcal-ofb.o bcal-ctr.o bcal-cmac.o cmacvs.o         \
18                          bcal-eax.o memxor.o
19 $(ALGO_NAME)_NESSIE_TEST      := test nessie
20 $(ALGO_NAME)_PERFORMANCE_TEST := performance
21