I am trying to change the curvetype of the ecdh example from NIST secp256r1 to Curve25519 or Koblitz secp256k1.
To achieve this I enabeled Koblitz curve secp256k1 and Curve25519 in the NRF Connect Project and changed the key_type to the according type (PSA_ECC_FAMILY_SECT_K1, PSA_ECC_FAMILY_MONTGOMERY).
Upon execution I receive "psa_generate_key failed! (Error: -134)" which indicates an unknown parameter (e.g. key_type). However, key_type should depend on the curve_type which I enabled in the configuration.
Why does the program throw this error message?
I am using NRF Connect SDK 1.8.0 and SEGGER Embedded Studio.