Interface: Clean up the tfm_api.h header file
This file does not look like an "interface" file as it contains
some SPM internal usage definitions.
This patch:
- Moves the SPM internal definitions to spm.h.
- Use the error codes in `internal_status_code.h` instead of the
ones in tfm_api.h.
- Removes error codes in tfm_api.h.
- Renames tfm_api.h to tfm_veneers.h to reflect what it does.
- Corresponding changes in source files.
Change-Id: Iba5d1aae6837c9f0bf52c9a0c456023d19a735ea
Signed-off-by: Kevin Peng <kevin.peng@arm.com>
diff --git a/secure_fw/partitions/crypto/tfm_crypto_api.h b/secure_fw/partitions/crypto/tfm_crypto_api.h
index 6ceb9bc..0edc713 100644
--- a/secure_fw/partitions/crypto/tfm_crypto_api.h
+++ b/secure_fw/partitions/crypto/tfm_crypto_api.h
@@ -15,7 +15,7 @@
#include <stdint.h>
#include "tfm_crypto_defs.h"
#include "tfm_crypto_key.h"
-#include "tfm_api.h"
+#include "psa/client.h"
/**
* \brief List of possible operation types supported by the TFM based