Hello,
We’re starting to implement our solution in an nRF SDK project (version 3.2.2) targeting the nRF54L15 component.
From a cryptography standpoint, we will need to use MbedTLS to verify X.509 certificates signed with ECDSA (secp192r1 curves).
secp256r1 works with the ECDSA sample (https://github.com/nrfconnect/sdk-nrf/blob/main//samples/crypto/ecdsa/README.rst), but we’re running into issues with the secp192r1 curve.
In the nRF Connect SDK documentation, it’s stated that secp192r1 is supported by the Cracen driver but not by the Oberon driver:
https://docs.nordicsemi.com/bundle/ncs-3.0.2/page/nrf/libraries/security/nrf_security/doc/driver_config.html#ecc_curve_support
If I modify the ECDSA sample code to enable CONFIG_PSA_WANT_ECC_SECP_R1_192, I get the following build error:
If I remove the option and, in the sample code, replace:
with:
the build succeeds, but I then get a runtime error in the Cracen driver at this point:
https://github.com/nrfconnect/sdk-nrf/blob/main/subsys/nrf_security/src/drivers/cracen/cracenpsa/src/internal/ecc/cracen_ecc_helpers.c#L88
Is the secp192r1 curve actually supported by the Cracen driver and by the nRF54L15 component? Which options need to be enabled to use it?
