From c831c8cc56aaf66df7c5a3791c558e626fc2656c Mon Sep 17 00:00:00 2001 From: zhanghongyu Date: Mon, 30 Oct 2023 19:05:44 +0800 Subject: [PATCH] cmake: add needed file to cmake script for build sim nuttx/crypto/chachapoly.c:232: undefined reference to `timingsafe_bcmp' Signed-off-by: zhanghongyu --- libs/libc/string/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/libc/string/CMakeLists.txt b/libs/libc/string/CMakeLists.txt index 7d7e216f07..aa25dc5ad6 100644 --- a/libs/libc/string/CMakeLists.txt +++ b/libs/libc/string/CMakeLists.txt @@ -58,6 +58,7 @@ set(SRCS lib_strerrorr.c lib_explicit_bzero.c lib_strsignal.c + lib_timingsafe_bcmp.c lib_index.c lib_rindex.c)