Skip to content

Commit b8f9cb9

Browse files
mswarowskyrlubos
authored andcommitted
[nrf noup] modules: tfm: Add Kconfig for CRYPTO_PAKE_MODULE_ENABLED
Add a Kconfig for th TFM_CRYPTO_PAKE_MODULE_ENABLED to support the PAKE APIs. noup as the PAKE support including the PAKE module doesn't exist yet in upstream TF-M as they depend on mbed TLS support for it Ref: NCSDK-22416 Signed-off-by: Markus Swarowsky <[email protected]>
1 parent 920b9fc commit b8f9cb9

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

modules/trusted-firmware-m/Kconfig.tfm.crypto_modules

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,17 @@ config TFM_CRYPTO_KEY_DERIVATION_MODULE_ENABLED
8888
is not used.
8989
Note that key agreement is under key derivation in the current implementation.
9090

91+
config TFM_CRYPTO_PAKE_MODULE_ENABLED
92+
bool "PAKE crypto module"
93+
default y
94+
depends on PSA_HAS_PAKE_SUPPORT
95+
depends on NRF_SECURITY
96+
depends on PSA_CRYPTO_DRIVER_OBERON || PSA_CRYPTO_DRIVER_CRACEN
97+
help
98+
Enables the PAKE crypto module within the crypto partition.
99+
Unset this option if the functionality provided by 'crypto_pake.c'
100+
is not used.
101+
91102
endif # TFM_PARTITION_CRYPTO
92103

93104
endif # BUILD_WITH_TFM

0 commit comments

Comments
 (0)