Skip to content

Commit 7b6d763

Browse files
joerchanrlubos
authored andcommitted
nrf_security: Fix missing KDF dependency on EC-JPake to MS algorithm
Fix missing dependency for key derivation driver when EC-JPake algorithm is enabled. Signed-off-by: Joakim Andersson <[email protected]>
1 parent 24d33af commit 7b6d763

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

subsys/nrf_security/include/psa/psa_crypto_config_oberon.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,5 +204,6 @@
204204
#endif
205205

206206
#if defined(PSA_CRYPTO_DRIVER_ALG_TLS12_ECJPAKE_TO_PMS_OBERON)
207+
#define PSA_NEED_OBERON_KDF_DRIVER 1
207208
#define PSA_NEED_OBERON_ECJPAKE_TO_PMS 1
208209
#endif

subsys/nrf_security/src/drivers/nrf_oberon/Kconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ config PSA_CRYPTO_DRIVER_HAS_KDF_SUPPORT_OBERON
5353
PSA_CRYPTO_DRIVER_ALG_TLS12_PRF_OBERON || \
5454
PSA_CRYPTO_DRIVER_ALG_PBKDF2_HMAC_OBERON || \
5555
PSA_CRYPTO_DRIVER_ALG_PBKDF2_AES_CMAC_PRF_128_OBERON || \
56-
PSA_CRYPTO_DRIVER_ALG_TLS12_PSK_TO_MS_OBERON
56+
PSA_CRYPTO_DRIVER_ALG_TLS12_PSK_TO_MS_OBERON || \
57+
PSA_CRYPTO_DRIVER_ALG_TLS12_ECJPAKE_TO_PMS_OBERON
5758

5859
config PSA_CRYPTO_DRIVER_HAS_ASYM_ENCRYPT_SUPPORT_OBERON
5960
bool

0 commit comments

Comments
 (0)