]> git.sur5r.net Git - u-boot/commit
env: Implement support for AES encryption into fw_* tools
authorMarek Vasut <marex@denx.de>
Wed, 5 Mar 2014 18:59:52 +0000 (19:59 +0100)
committerTom Rini <trini@ti.com>
Fri, 21 Mar 2014 20:44:08 +0000 (16:44 -0400)
commita8a752c084031905940129f8a6ba303925e0fac9
tree1a1eac4b3b6e06d449c8ef88c209e1d338631f09
parenta4223b746db5c2db2e1a1d4f0bb20e30484b1667
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>
include/aes.h
lib/aes.c
tools/env/Makefile
tools/env/fw_env.c
tools/env/fw_env_main.c