Core: Sanitize iovec parameters in TF-M Core
Do a sanity check on the iovec parameters of secure function calls in
TF-M core.
Change-Id: I57f411c6fbc116df3c09869d8540a0c27cce6918
Signed-off-by: Mate Toth-Pal <mate.toth-pal@arm.com>
diff --git a/interface/include/tfm_api.h b/interface/include/tfm_api.h
index 5194c2a..8dbf57c 100644
--- a/interface/include/tfm_api.h
+++ b/interface/include/tfm_api.h
@@ -36,6 +36,9 @@
*/
#define TFM_CLIENT_ID_IS_NS(client_id) ((client_id)<0)
+/* Maximum number of input and output vectors */
+#define PSA_MAX_IOVEC (4)
+
/* FixMe: sort out DEBUG compile option and limit return value options
* on external interfaces */
/* Note: