From be4f7cabf9e651cab06a9e9f72fee54578d2834a Mon Sep 17 00:00:00 2001 From: Jukka Laitinen Date: Fri, 4 Jun 2021 16:23:35 +0300 Subject: [PATCH] Add compilation of nuttx_crypto NuttX has lots of usable functionality for crypto, such as rng with entropy pool Signed-off-by: Jukka Laitinen --- platforms/nuttx/CMakeLists.txt | 1 + platforms/nuttx/NuttX/CMakeLists.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/platforms/nuttx/CMakeLists.txt b/platforms/nuttx/CMakeLists.txt index 2312328164..68e242e9eb 100644 --- a/platforms/nuttx/CMakeLists.txt +++ b/platforms/nuttx/CMakeLists.txt @@ -94,6 +94,7 @@ list(APPEND nuttx_libs nuttx_fs nuttx_mm nuttx_sched + nuttx_crypto ) if (CONFIG_NET) diff --git a/platforms/nuttx/NuttX/CMakeLists.txt b/platforms/nuttx/NuttX/CMakeLists.txt index eec421b590..e46f41ce8c 100644 --- a/platforms/nuttx/NuttX/CMakeLists.txt +++ b/platforms/nuttx/NuttX/CMakeLists.txt @@ -319,6 +319,7 @@ add_nuttx_dir(sched sched y -D__KERNEL__) add_nuttx_dir(c libs/libc n "") add_nuttx_dir(xx libs/libxx n "") add_nuttx_dir(mm mm n "") +add_nuttx_dir(crypto crypto y -D__KERNEL__) if(CONFIG_NET) add_nuttx_dir(net net y -D__KERNEL__)