Building standalone library without any TFM dependencies on nrf5340 TFM secure environment

Hello,

We are developing a library which uses the psa crypto features for key storage and few other crypto operations which is expected to be integrated on nrf5340 secure environment.

The communication between NSE and SE will be over TFM-IPC. Our intention is to deliver the source code as a library which can be integrated a partner company using nordic connect SDK. Due to this, we would like to build our library without any TFM dependencies so that when the partner upgrades the ncs version with an upgrade of TFM, we do not need to redeliver.

However, we fail to build our source code as a standalone library when building part of TFM. Do you have any integration guidelines for such a use case?

Thanks & Regards,
Sabari

Related