diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2017-01-03 13:56:48 +0100 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2017-01-16 19:59:26 +0100 |
commit | 8b3f5a8ad7434850804a4a664d2b07c6ffa9b1c7 (patch) | |
tree | b07d7825f81f7fae599b85c7a21f3f5b8d855576 /rbutil | |
parent | 5ff3a3a98f23bb1a0dd1fb97e074ddb80337ae27 (diff) | |
download | rockbox-8b3f5a8ad7434850804a4a664d2b07c6ffa9b1c7.tar.gz rockbox-8b3f5a8ad7434850804a4a664d2b07c6ffa9b1c7.tar.bz2 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/Makefile | 3 |
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/ CFLAGS += -I$(IMXTOOLS_DIR) -Wall # std=gnu99 is required by MinGW on Windows (c99 is sufficient for Linux / MXE) CFLAGS += -std=gnu99 -g -O3 +LDFLAGS += -lcrypto++ OUTPUT = mkimxboot # inputs for lib -IMXTOOLS_SOURCES = misc.c sb.c crypto.cpp crc.c aes128.c sha1.c elf.c +IMXTOOLS_SOURCES = misc.c sb.c crypto.cpp crc.c sha1.c elf.c LIBSOURCES := dualboot.c mkimxboot.c md5.c \ $(addprefix $(IMXTOOLS_DIR),$(IMXTOOLS_SOURCES)) # inputs for binary only |