Skip to content

Commit

Permalink
nrf_security: Fix missing KDF dependency on EC-JPake to MS algorithm
Browse files Browse the repository at this point in the history
Fix missing dependency for key derivation driver when EC-JPake algorithm
is enabled.

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
  • Loading branch information
joerchan committed Aug 1, 2023
1 parent fe3e62f commit 0577e46
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions subsys/nrf_security/include/psa/psa_crypto_config_oberon.h
Original file line number Diff line number Diff line change
Expand Up @@ -204,5 +204,6 @@
#endif

#if defined(PSA_CRYPTO_DRIVER_ALG_TLS12_ECJPAKE_TO_PMS_OBERON)
#define PSA_NEED_OBERON_KDF_DRIVER 1
#define PSA_NEED_OBERON_ECJPAKE_TO_PMS 1
#endif
3 changes: 2 additions & 1 deletion subsys/nrf_security/src/drivers/nrf_oberon/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ config PSA_CRYPTO_DRIVER_HAS_KDF_SUPPORT_OBERON
PSA_CRYPTO_DRIVER_ALG_TLS12_PRF_OBERON || \
PSA_CRYPTO_DRIVER_ALG_PBKDF2_HMAC_OBERON || \
PSA_CRYPTO_DRIVER_ALG_PBKDF2_AES_CMAC_PRF_128_OBERON || \
PSA_CRYPTO_DRIVER_ALG_TLS12_PSK_TO_MS_OBERON
PSA_CRYPTO_DRIVER_ALG_TLS12_PSK_TO_MS_OBERON || \
PSA_CRYPTO_DRIVER_ALG_TLS12_ECJPAKE_TO_PMS_OBERON

config PSA_CRYPTO_DRIVER_HAS_ASYM_ENCRYPT_SUPPORT_OBERON
bool
Expand Down

0 comments on commit 0577e46

Please sign in to comment.