arm-trusted-firmware/include/lib/stdlib
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
..
machine AArch32: Add essential Arch helpers 2016-08-10 12:34:50 +01:00
sys fiptool: Add support for operating on binary blobs using the UUID 2016-12-30 09:23:38 +00:00
xlocale Move stdlib header files to include/lib/stdlib 2016-06-03 14:20:48 +01:00
assert.h Move stdlib header files to include/lib/stdlib 2016-06-03 14:20:48 +01:00
inttypes.h Move stdlib header files to include/lib/stdlib 2016-06-03 14:20:48 +01:00
stddef.h Move stdlib header files to include/lib/stdlib 2016-06-03 14:20:48 +01:00
stdio.h Move stdlib header files to include/lib/stdlib 2016-06-03 14:20:48 +01:00
stdlib.h Move stdlib header files to include/lib/stdlib 2016-06-03 14:20:48 +01:00
string.h stdlib: Import timingsafe_bcmp() from FreeBSD 2017-01-24 14:42:12 +00:00
strings.h Move stdlib header files to include/lib/stdlib 2016-06-03 14:20:48 +01:00
time.h Move stdlib header files to include/lib/stdlib 2016-06-03 14:20:48 +01:00