Skip to content

Commit

Permalink
samples: protocols_serialization: server: use PSA for SMP
Browse files Browse the repository at this point in the history
Default to using host crypto that employs PSA crypto API
when SMP gets enabled. This removes the dependency on
oberon and reduces the code size when using both "ble" and
"openthread" snippets since OpenThread already uses PSA.

Signed-off-by: Damian Krolik <damian.krolik@nordicsemi.no>
  • Loading branch information
Damian-Nordic committed Oct 22, 2024
1 parent 936fc57 commit 53f625e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions samples/nrf_rpc/protocols_serialization/server/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,15 @@ config LOG_BACKEND_RTT
config LOG_BACKEND_UART
default n

config BT_CTLR_ECDH
default n

config BT_USE_PSA_API
default y if !BT_CTLR_ECDH

config BT_LONG_WQ_STACK_SIZE
default 2048 if BT_USE_PSA_API

config NRF_PS_SERVER_FATAL_ERROR_TRIGGER
bool "Fatal error trigger"
help
Expand Down

0 comments on commit 53f625e

Please sign in to comment.