Crypto: Allow renaming the TF-M Crypto APIs in the interface

The TF-M Crypto APIs by default coincide with the standard function
names specified in the PSA Crypto API specification. To allow more
flexibility in particular integration environments where different
implementations of the PSA Crypto API functions are available at
build time, the CONFIG_TFM_CRYPTO_API_RENAME define is introduced.
Setting it allows prefixing the PSA Crypto APIs exported by TF-M
with a prefix which is hardcoded in the TFM_CRYPTO_API macro,
defined in the interface file itself.

Signed-off-by: Antonio de Angelis <antonio.deangelis@arm.com>
Change-Id: Ic94f18ef8eb682d6afbbe05c2d07c180a035f0ee
2 files changed