summaryrefslogtreecommitdiff
path: root/rbutil
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2017-01-03 13:56:48 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2017-01-16 19:59:26 +0100
commit8b3f5a8ad7434850804a4a664d2b07c6ffa9b1c7 (patch)
treeb07d7825f81f7fae599b85c7a21f3f5b8d855576 /rbutil
parent5ff3a3a98f23bb1a0dd1fb97e074ddb80337ae27 (diff)
downloadrockbox-8b3f5a8ad7434850804a4a664d2b07c6ffa9b1c7.tar.gz
rockbox-8b3f5a8ad7434850804a4a664d2b07c6ffa9b1c7.zip
imxtools/sbtools: switch AES implementation to Crypto++
Instead of having our own copy of the AES code, use a good library to do that. Crypto++ is well-maintained, supports a lot of ciphers, works on many OSes, and is optimized for many architectures. Change-Id: I7d7d24b47993206d7338c5f9bac8bbdd3915a667
Diffstat (limited to 'rbutil')
-rw-r--r--rbutil/mkimxboot/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/rbutil/mkimxboot/Makefile b/rbutil/mkimxboot/Makefile
index 7441e162c2..e635f64103 100644
--- a/rbutil/mkimxboot/Makefile
+++ b/rbutil/mkimxboot/Makefile
@@ -10,11 +10,12 @@ IMXTOOLS_DIR=../../utils/imxtools/sbtools/
10CFLAGS += -I$(IMXTOOLS_DIR) -Wall 10CFLAGS += -I$(IMXTOOLS_DIR) -Wall
11# std=gnu99 is required by MinGW on Windows (c99 is sufficient for Linux / MXE) 11# std=gnu99 is required by MinGW on Windows (c99 is sufficient for Linux / MXE)
12CFLAGS += -std=gnu99 -g -O3 12CFLAGS += -std=gnu99 -g -O3
13LDFLAGS += -lcrypto++
13 14
14OUTPUT = mkimxboot 15OUTPUT = mkimxboot
15 16
16# inputs for lib 17# inputs for lib
17IMXTOOLS_SOURCES = misc.c sb.c crypto.cpp crc.c aes128.c sha1.c elf.c 18IMXTOOLS_SOURCES = misc.c sb.c crypto.cpp crc.c sha1.c elf.c
18LIBSOURCES := dualboot.c mkimxboot.c md5.c \ 19LIBSOURCES := dualboot.c mkimxboot.c md5.c \
19 $(addprefix $(IMXTOOLS_DIR),$(IMXTOOLS_SOURCES)) 20 $(addprefix $(IMXTOOLS_DIR),$(IMXTOOLS_SOURCES))
20# inputs for binary only 21# inputs for binary only