Skip to content

Commit

Permalink
[nrf noup] modules: mbedtls: PSA: Add PSA_HAS_PAKE_SUPPORT
Browse files Browse the repository at this point in the history
!fixup [nrf noup] modules: mbedtls: add PSA configurations

Add a Kconfig to collect all the PAKE algorithms.

noup as this Kconfig file doesn't exist in upstream zephyr

Ref: NCSDK-22416

Signed-off-by: Markus Swarowsky <markus.swarowsky@nordicsemi.no>
  • Loading branch information
mswarowsky authored and rlubos committed Mar 18, 2024
1 parent ecb16c7 commit 920b9fc
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions modules/mbedtls/Kconfig.psa
Original file line number Diff line number Diff line change
Expand Up @@ -844,6 +844,17 @@ config PSA_WANT_ALG_SRP_PASSWORD_HASH
prompt "PSA SRP password hash support" if !PSA_PROMPTLESS
select EXPERIMENTAL

config PSA_HAS_PAKE_SUPPORT
bool
default y
depends on PSA_WANT_ALG_JPAKE || \
PSA_WANT_ALG_SPAKE2P_HMAC || \
PSA_WANT_ALG_SPAKE2P_CMAC || \
PSA_WANT_ALG_SPAKE2P_MATTER || \
PSA_WANT_ALG_SRP_6 || \
PSA_WANT_ALG_SRP_PASSWORD_HASH
help
Prompt-less configuration that states that PAKE is supported.

config PSA_WANT_ALG_PURE_EDDSA
bool
Expand Down

0 comments on commit 920b9fc

Please sign in to comment.