Skip to content

Commit

Permalink
modules: tf-m: Increase stack size for RSA keys
Browse files Browse the repository at this point in the history
Increase the stack size of the crypto partition when RSA
is enabled with keys >= 3072 bits.

Signed-off-by: Georgios Vasilakis <[email protected]>
  • Loading branch information
Vge0rge committed Mar 22, 2024
1 parent 79303ce commit 50bb0ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/trusted-firmware-m/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ config TFM_CRYPTO_PARTITION_STACK_SIZE
hex
prompt "TF-M Crypto Partition - Stack size" if !TFM_PROFILE_TYPE_MINIMAL
default 0x800 if TFM_PROFILE_TYPE_MINIMAL
default 0x4000 if PSA_WANT_RSA_KEY_SIZE_4096
default 0x4000 if PSA_WANT_RSA_KEY_SIZE_4096 || PSA_WANT_RSA_KEY_SIZE_3072
default 0x2000
help
The stack size of the Crypto Secure Partition
Expand Down

0 comments on commit 50bb0ce

Please sign in to comment.