RSA crypto sample on nRF9160 does not appear to function correctly SDK 1.9.1

I am trying to implement RSA signing into my application, I am planning to use the following example as a starting point but the sample, with no modification appears to not run correctly, can this be verified?  Currently using SDK 1.9.1.

The sample being used is the following...

/opt/nordic/ncs/v1.9.1/nrf/samples/crypto/rsa

Here is the output that I see below.

I see something possibly related in this post...

devzone.nordicsemi.com/.../286505

Sincerely,

Allan

Parents
  • If I make the following changes to the prj.conf file it does run, but am I losing hardware crypto engine support with these changes?

    What would be the recommended way to resolve the issue above while retaining hardware crypto support?

    CONFIG_PSA_CRYPTO_DRIVER_OBERON=y
    CONFIG_PSA_CRYPTO_DRIVER_CC3XX=n

  • Hi

    I tried to reproduce this, but the RSA sample works fine for me. I made no changes to it.

    Maybe try to reinstall the nRF COnnect SDK and try again?

    Regards,
    Sigurd Hellesvik

  • Hi Siguard,

    Thanks for the quick reply.  Let me try again with the default settings (as was done before).  I am working with the Circuit Dojo Feather nRF9160 but will verify on the nRF9160-DK next, it shouldn't be an issue but maybe there is a board configuration issue.

    I am in the middle of a project and reinstalling the development environment might make some downtime at the moment, let me test again as soon as I can and I will report the results.

    Thanks,

    Allan

Reply
  • Hi Siguard,

    Thanks for the quick reply.  Let me try again with the default settings (as was done before).  I am working with the Circuit Dojo Feather nRF9160 but will verify on the nRF9160-DK next, it shouldn't be an issue but maybe there is a board configuration issue.

    I am in the middle of a project and reinstalling the development environment might make some downtime at the moment, let me test again as soon as I can and I will report the results.

    Thanks,

    Allan

Children
  • Hi

    I should specify that I tested it for nrf9160dk_nrf9160 and nrf9160dk_nrf9160_ns.
    If you test for the Developement Kit first, there might not be a need for re-installation.
    If that works, it is likely some configurations for the Featherwing as you say.

    Regards,
    Sigurd Hellesvik