SPRTL: 'memory compare' function
The 'memory compare' function with security enhancement - return the
result after all elements are enumerated to avoid attack by time
measurement.
Change-Id: I979a32b56e38832cbfd28581749671cb26634ca4
Signed-off-by: Shawn Shan <shawn.shan@arm.com>
diff --git a/secure_fw/lib/sprt/CMakeLists.inc b/secure_fw/lib/sprt/CMakeLists.inc
index 05412d4..dca3a87 100644
--- a/secure_fw/lib/sprt/CMakeLists.inc
+++ b/secure_fw/lib/sprt/CMakeLists.inc
@@ -27,6 +27,7 @@
set (LIBSPRT_C_SRC
"${LIBSPRT_DIR}/tfm_libsprt_c_memcpy.c"
"${LIBSPRT_DIR}/tfm_libsprt_c_memmove.c"
+ "${LIBSPRT_DIR}/tfm_libsprt_c_memcmp.c"
"${TFM_ROOT_DIR}/interface/src/log/tfm_log_raw.c")
#Append all our source files to global lists.