File tree 2 files changed +10
-1
lines changed
config/nrfconnect/chip-module
2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -229,6 +229,7 @@ config IEEE802154_NRF5_RX_STACK_SIZE
229
229
default 1024
230
230
231
231
config OPENTHREAD_THREAD_STACK_SIZE
232
+ default 6144 if PSA_CRYPTO_DRIVER_CC3XX && PSA_CRYPTO_DRIVER_OBERON
232
233
default 4096
233
234
234
235
config OPENTHREAD_DEFAULT_TX_POWER
@@ -318,6 +319,14 @@ config PSA_WANT_ALG_SHA_224
318
319
config MBEDTLS_PSA_KEY_SLOT_COUNT
319
320
default 64
320
321
322
+ if PSA_CRYPTO_DRIVER_CC3XX && PSA_CRYPTO_DRIVER_OBERON
323
+
324
+ # Do not use CC3XX hash driver when both Oberon and CC3xx are enabled.
325
+ config PSA_USE_CC3XX_HASH_DRIVER
326
+ default n
327
+
328
+ endif
329
+
321
330
endif
322
331
323
332
if !CHIP_CRYPTO_PSA
Original file line number Diff line number Diff line change 215
215
#endif // CHIP_DEVICE_CONFIG_CHIP_TASK_PRIORITY
216
216
217
217
#ifndef CHIP_DEVICE_CONFIG_CHIP_TASK_STACK_SIZE
218
- #ifdef CONFIG_LTO
218
+ #if defined( CONFIG_LTO ) || (defined( CONFIG_PSA_CRYPTO_DRIVER_CC3XX ) && defined( CONFIG_PSA_CRYPTO_DRIVER_OBERON ))
219
219
#define CHIP_DEVICE_CONFIG_CHIP_TASK_STACK_SIZE 8192
220
220
#else
221
221
#define CHIP_DEVICE_CONFIG_CHIP_TASK_STACK_SIZE 6144
You can’t perform that action at this time.
0 commit comments