TBB: remove PolarSSL SHA1 functions from the binary
authorJuan Castillo <juan.castillo@arm.com>
Tue, 10 Mar 2015 12:17:21 +0000 (12:17 +0000)
committerJuan Castillo <juan.castillo@arm.com>
Wed, 11 Mar 2015 11:44:15 +0000 (11:44 +0000)
commit81ee098327902e9054bce3609c2d8d3dd29db173
tree6b008be8ffbf8578477cf18deb7c95e5bf58648d
parentea4ec3aad5e15225e8fbdd638872bdceeb96a8dc
TBB: remove PolarSSL SHA1 functions from the binary

Commit ea4ec3aad5e1 ("TBB: use SHA256 to generate the certificate
signatures") updated the cert_create tool to generate the
signatures using SHA256 instead of SHA1. Therefore, SHA1 is no
longer required.

This patch removes the SHA1 option from the PolarSSL configuration
file. The source file sha1.c is no longer needed and has been
excluded from the build. The SHA1 functions are no longer included
in the binary, reducing the memory footprint of BL1 and BL2 by
approximately 6 KB.

Change-Id: I72ea2cff03c0964c3eaadce148ec2ad2c6dde2e3
common/auth/polarssl/polarssl.mk
common/auth/polarssl/polarssl_config.h