Core: Align with PSA FF specification 1.0-beta-0

- Renamed psa_error_t to psa_status_t
- All functions that accept or return signals now use the psa_signal_t
  type
- Removed PSA_CONNECTION_ACCEPTED and replaced its use in connection
  messages by PSA_SUCCESS
- Added PSA_CONNECTION_BUSY to indicate transient error conditions
  during calls to psa_connect() and renumbered the PSA error codes
- Removed psa_identity() and replaced it with client_id in psa_msg_t
- Renamed psa_end() to psa_reply()
- Combine psa_wait_any() and psa_wait_interrupt() into psa_wait().

Change-Id: Id3ba56f145a29aff297cc56e66810e0dbe0f913b
Signed-off-by: Edison Ai <edison.ai@arm.com>
Co-authored-by: Summer Qin <summer.qin@arm.com>
diff --git a/interface/include/tfm_api.h b/interface/include/tfm_api.h
index 527a433..7656908 100644
--- a/interface/include/tfm_api.h
+++ b/interface/include/tfm_api.h
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2017-2018, Arm Limited. All rights reserved.
+ * Copyright (c) 2017-2019, Arm Limited. All rights reserved.
  *
  * SPDX-License-Identifier: BSD-3-Clause
  *
@@ -75,6 +75,13 @@
 enum tfm_status_e tfm_register_client_id (int32_t ns_client_id);
 
 /**
+ * \brief Retrieve the version of the PSA Framework API that is implemented
+ *
+ * \return The version of the PSA Framework
+ */
+uint32_t tfm_psa_framework_version_veneer(void);
+
+/**
  * \brief Return version of secure function provided by secure binary
  *
  * \param[in]  sid          ID of secure service
@@ -100,20 +107,20 @@
  * \param[in]  in_vecs  invec containing pointer/count of input vectors
  * \param[in]  out_vecs invec containing pointer/count of output vectors
  *
- * \return Returns \ref psa_error_t error code
+ * \return Returns \ref psa_status_t status code
  */
-psa_error_t tfm_psa_call_veneer(psa_handle_t handle,
-                    const psa_invec *in_vecs,
-                    const psa_invec *out_vecs);
+psa_status_t tfm_psa_call_veneer(psa_handle_t handle,
+                                 const psa_invec *in_vecs,
+                                 const psa_invec *out_vecs);
 
 /**
  * \brief Close connection to secure function referenced by a connection handle
  *
  * \param[in]  handle   Handle to connection
  *
- * \return Returns \ref psa_error_t error code
+ * \return Returns \ref psa_status_t status code
  */
-psa_error_t tfm_psa_close_veneer(psa_handle_t handle);
+psa_status_t tfm_psa_close_veneer(psa_handle_t handle);
 
 //================ End Secure function declarations ==========================//