]> git.cryptolib.org Git - avr-crypto-lib.git/blob - mkfiles/aes_c.mk
new makefile and modified build process
[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)_OBJ      := aes_enc.o aes_dec.o aes_sbox.o aes_invsbox.o \
10                          aes_keyschedule.o gf256mul.o \
11                          aes128_enc.o aes128_dec.o aes192_enc.o aes192_dec.o \
12                          aes256_enc.o aes256_dec.o
13 $(ALGO_NAME)_TEST_BIN := main-aes-test.o $(CLI_STD)  \
14                          nessie_bc_test.o nessie_common.o performance_test.o
15 $(ALGO_NAME)_NESSIE_TEST      := test nessie
16 $(ALGO_NAME)_PERFORMANCE_TEST := performance
17