fiptool: Add support for printing the sha256 digest with info command
authordp-arm <dimitris.papastamos@arm.com>
Wed, 24 Aug 2016 12:21:08 +0000 (13:21 +0100)
committerdp-arm <dimitris.papastamos@arm.com>
Mon, 12 Sep 2016 10:01:25 +0000 (11:01 +0100)
commit9df69ba37f3dd3a3f02fc8c0ba41236960b6b771
tree869cf3bc21b77356eb83ef2d21c064408af13b21
parent77b05323921c23e4261ddd8fee5c326a79b0af97
fiptool: Add support for printing the sha256 digest with info command

This feature allows one to quickly verify that the expected
image is contained in the FIP without extracting the image and
running sha256sum(1) on it.

The sha256 digest is only shown when the verbose flag is used.

This change requires libssl-dev to be installed in order to build
Trusted Firmware. Previously, libssl-dev was optionally needed only
to support Trusted Board Boot configurations.

Fixes ARM-Software/tf-issues#124

Change-Id: Ifb1408d17f483d482bb270a589ee74add25ec5a6
docs/user-guide.md
tools/fiptool/Makefile
tools/fiptool/fiptool.c