Skip to content

Commit 04b097d

Browse files
committed
modules: tf-m: Increase stack size for RSA keys
Increase the stack size of the crypto partition when RSA is enabled with keys >= 3072 bits. Signed-off-by: Georgios Vasilakis <[email protected]>
1 parent 603e5ac commit 04b097d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/trusted-firmware-m/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ config TFM_CRYPTO_PARTITION_STACK_SIZE
114114
hex
115115
prompt "TF-M Crypto Partition - Stack size" if !TFM_PROFILE_TYPE_MINIMAL
116116
default 0x800 if TFM_PROFILE_TYPE_MINIMAL
117-
default 0x4000 if PSA_WANT_RSA_KEY_SIZE_4096
117+
default 0x4000 if PSA_WANT_RSA_KEY_SIZE_4096 || PSA_WANT_RSA_KEY_SIZE_3072
118118
default 0x2000
119119
help
120120
The stack size of the Crypto Secure Partition

0 commit comments

Comments
 (0)