arm-trusted-firmware/drivers/auth
Sandrine Bailleux 495599cd0a TBBR: Reduce size of ECDSA key buffers
The TBBR implementation extracts public keys from certificates and
stores them in static buffers. DER-encoded ECDSA keys are only 91 bytes
each but were each allocated 294 bytes instead. Reducing the size of
these buffers saves 609 bytes of BSS in BL2 (294 - 91 = 203 bytes for
each of the 3 key buffers in use).

Also add a comment claryfing that key buffers are tailored on RSA key
sizes when both ECDSA and RSA keys are used.

Change-Id: Iad332856e7af1f9814418d012fba3e1e9399f72a
Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>
2020-02-18 09:46:55 +01:00
..
cryptocell cryptocell: add cryptocell 712 RSA 3K support 2019-12-11 14:18:18 +02:00
mbedtls Measured Boot: add function for hash calculation 2020-01-28 16:51:40 +00:00
tbbr TBBR: Reduce size of ECDSA key buffers 2020-02-18 09:46:55 +01:00
auth_mod.c fconf: initial commit 2020-02-07 13:29:09 +00:00
crypto_mod.c Measured Boot: add function for hash calculation 2020-01-28 16:51:40 +00:00
img_parser_mod.c Coverity: remove unnecessary header file includes 2020-02-04 10:23:51 -06:00