arm-trusted-firmware/lib
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
..
aarch32 AArch32: Add `memcpy4` function in assembly 2016-09-28 14:03:47 +01:00
aarch64 Fix integer comparison in memcpy16 2016-12-14 10:44:20 +00:00
cpus Use #ifdef for IMAGE_BL* instead of #if 2017-01-24 01:01:21 +09:00
el3_runtime Use #ifdef for IMAGE_BL* instead of #if 2017-01-24 01:01:21 +09:00
libfdt libfdt: Replace v1.4.1 by v1.4.2 2017-01-16 17:26:04 +00:00
locks Fix normal memory bakery lock implementation 2016-11-21 17:10:26 +00:00
pmf Add Performance Measurement Framework(PMF) 2016-06-16 08:31:42 +01:00
psci Merge pull request #788 from jeenu-arm/cpuops-framework 2016-12-20 12:27:58 +00:00
semihosting AArch32: Common changes needed for BL1/BL2 2016-09-21 16:27:15 +01:00
stdlib stdlib: Import timingsafe_bcmp() from FreeBSD 2017-01-24 14:42:12 +00:00
xlat_tables Forbid block descriptors in initial xlat table levels 2016-12-13 15:38:19 +00:00