arm-trusted-firmware/include
Antonio Nino Diaz aa050a7bdb stdlib: Import timingsafe_bcmp() from FreeBSD
Some side-channel attacks involve an attacker inferring something from
the time taken for a memory compare operation to complete, for example
when comparing hashes during image authentication. To mitigate this,
timingsafe_bcmp() must be used for such operations instead of the
standard memcmp().

This function executes in constant time and so doesn't leak any timing
information to the caller.

Change-Id: I470a723dc3626a0ee6d5e3f7fd48d0a57b8aa5fd
Signed-off-by: dp-arm <dimitris.papastamos@arm.com>
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
2017-01-24 14:42:12 +00:00
..
bl1 FWU: Add Generic Firmware Update framework support in BL1 2015-12-09 17:41:18 +00:00
bl31 Introduce PSCI Library Interface 2016-07-19 10:19:01 +01:00
bl32 Abort preempted TSP STD SMC after PSCI CPU suspend 2016-12-23 10:46:32 +00:00
common Use #ifdef for IMAGE_BL* instead of #if 2017-01-24 01:01:21 +09:00
drivers drivers: add designware emmc driver 2017-01-23 22:08:45 +08:00
lib stdlib: Import timingsafe_bcmp() from FreeBSD 2017-01-24 14:42:12 +00:00
plat Use #ifdef for IMAGE_BL* instead of #if 2017-01-24 01:01:21 +09:00
services PSCI: Do psci_setup() as part of std_svc_setup() 2016-09-22 17:07:20 +01:00