Error -134 running Crypto samples on Thingy91

I'm having trouble running the Crypto samples on Thingy91.

I did get samples/crypto/rng to work, which just generates random numbers.

But samples/crypto/hmac fails with: psa_generate_key failed! (Error: -134)

And samples/crypto/sha256 fails with: Could not setup the hash operation! Error -134

I am building with `-b thingy91_nrf9160_ns`. 

This is not listed under boards, but nrf9160dk_nrf9160_ns is, with some conf changes for CONFIG_BUILD_WITH_TFM=y and CONFIG_TFM_PROFILE_TYPE_NOT_SET=y.  I tried adding these settings to the thingy91 build, but it gets a compile/link error that FLASH is overflowed.

Does the Thingy91 support crypto, or does it not have enough memory, or could there be some other problem?

Parents Reply Children
No Data
Related