summaryrefslogtreecommitdiffstats
path: root/tools/env/Makefile
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2014-03-05 19:59:52 +0100
committerTom Rini <trini@ti.com>2014-03-21 16:44:08 -0400
commita8a752c084031905940129f8a6ba303925e0fac9 (patch)
tree1a1eac4b3b6e06d449c8ef88c209e1d338631f09 /tools/env/Makefile
parenta4223b746db5c2db2e1a1d4f0bb20e30484b1667 (diff)
downloadblackbird-obmc-uboot-a8a752c084031905940129f8a6ba303925e0fac9.tar.gz
blackbird-obmc-uboot-a8a752c084031905940129f8a6ba303925e0fac9.zip
env: Implement support for AES encryption into fw_* tools
Implement support for encrypting/decrypting the environment block into the tools/env/fw_* tools. The cipher used is AES 128 CBC and the implementation depends solely on components internal to U-Boot. To allow building against the internal AES library, the library did need minor adjustments to not include U-Boot's headers which are not wanted to be included and define missing types. Signed-off-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'tools/env/Makefile')
-rw-r--r--tools/env/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/env/Makefile b/tools/env/Makefile
index fcb752ddb4..f5368bc4d0 100644
--- a/tools/env/Makefile
+++ b/tools/env/Makefile
@@ -25,7 +25,7 @@ hostprogs-y := fw_printenv_unstripped
fw_printenv_unstripped-objs := fw_env.o fw_env_main.o \
crc32.o ctype.o linux_string.o \
- env_attr.o env_flags.o
+ env_attr.o env_flags.o aes.o
quiet_cmd_strip = STRIP $@
cmd_strip = $(STRIP) -o $@ $<
OpenPOWER on IntegriCloud