Skip to content

Commit 6556328

Browse files
mswarowskyVge0rge
authored andcommitted
[nrf noup] mbedtls: Add PSA_WANT dependencies to TLS12 algorithm
PSA_WANT_ALG_TLS12_PRF and PSA_WANT_ALG_TLS12_PSK_TO_MS rely on HMAC so They should have PSA_WANT_ALG_HMAC as dependency PSA_WANT_ALG_TLS12_ECJPAKE_TO_PMS uses SHA-256 so should have PSA_WANT_ALG_SHA_256 as dependency noup as these algorithms don't exist upstream Signed-off-by: Markus Swarowsky <[email protected]>
1 parent 1c03013 commit 6556328

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

modules/mbedtls/Kconfig.psa

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -498,14 +498,17 @@ config PSA_WANT_ALG_PBKDF2_AES_CMAC_PRF_128
498498
config PSA_WANT_ALG_TLS12_PRF
499499
bool
500500
prompt "PSA PRF support (TLS1.2)" if !PSA_PROMPTLESS
501+
depends on PSA_WANT_ALG_HMAC
501502

502503
config PSA_WANT_ALG_TLS12_PSK_TO_MS
503504
bool
504505
prompt "PSA TLS 1.2 PSK to MS support" if !PSA_PROMPTLESS
506+
depends on PSA_WANT_ALG_HMAC
505507

506508
config PSA_WANT_ALG_TLS12_ECJPAKE_TO_PMS
507509
bool
508510
prompt "PSA TLS 1.2 EC J-PAKE to PMS support" if !PSA_PROMPTLESS
511+
depends on PSA_WANT_ALG_SHA_256
509512

510513
endmenu # PSA Key derivation support
511514

0 commit comments

Comments
 (0)