Add compilation of nuttx_crypto

NuttX has lots of usable functionality for crypto, such as rng with entropy pool

Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
This commit is contained in:
Jukka Laitinen 2021-06-04 16:23:35 +03:00 committed by Beat Küng
parent d36a91ceaf
commit be4f7cabf9
2 changed files with 2 additions and 0 deletions

View File

@ -94,6 +94,7 @@ list(APPEND nuttx_libs
nuttx_fs
nuttx_mm
nuttx_sched
nuttx_crypto
)
if (CONFIG_NET)

View File

@ -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__)