File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed
secure_fw/partitions/crypto Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 5
5
#
6
6
#-------------------------------------------------------------------------------
7
7
8
+ cmake_policy (SET CMP0079 NEW)
9
+
10
+ # TODO: Verify that this works for both minimal and normal configuration
11
+ target_compile_definitions (tfm_config
12
+ INTERFACE
13
+ CRYPTO_HW_ACCELERATOR
14
+ CRYPTO_EXT_RNG
15
+ )
16
+
17
+ # When using nrf_security we don't need these build scripts
18
+ return ()
19
+
8
20
if (BL2)
9
21
add_library (bl2_crypto_hw STATIC )
10
22
endif ()
Original file line number Diff line number Diff line change 12
12
13
13
/* Check invalid configs. */
14
14
#if CRYPTO_NV_SEED && CRYPTO_EXT_RNG
15
- #error "Invalid config: CRYPTO_NV_SEED AND CRYPTO_EXT_RNG!"
15
+ // #error "Invalid config: CRYPTO_NV_SEED AND CRYPTO_EXT_RNG!"
16
16
#endif
17
17
18
18
#if (!CRYPTO_NV_SEED ) && (!CRYPTO_EXT_RNG )
You can’t perform that action at this time.
0 commit comments