![]() |
TF-M Reference Manual
1.2.0
TrustedFirmware-M
|
#include <stdbool.h>
#include <stdio.h>
#include "psa/client.h"
#include "psa/service.h"
#include "tfm_arch.h"
#include "tfm_secure_api.h"
#include "tfm_api.h"
#include "tfm_svcalls.h"
Go to the source code of this file.
Functions | |
__tfm_psa_secure_gateway_attributes__ uint32_t | tfm_psa_framework_version_veneer (void) |
Retrieve the version of the PSA Framework API that is implemented. More... | |
__tfm_psa_secure_gateway_attributes__ uint32_t | tfm_psa_version_veneer (uint32_t sid) |
Return version of secure function provided by secure binary. More... | |
__tfm_psa_secure_gateway_attributes__ psa_handle_t | tfm_psa_connect_veneer (uint32_t sid, uint32_t version) |
Connect to secure function. More... | |
__tfm_psa_secure_gateway_attributes__ psa_status_t | tfm_psa_call_veneer (psa_handle_t handle, const struct tfm_control_parameter_t *ctrl_param, const psa_invec *in_vec, psa_outvec *out_vec) |
Call a secure function referenced by a connection handle. More... | |
__tfm_psa_secure_gateway_attributes__ void | tfm_psa_close_veneer (psa_handle_t handle) |
Close connection to secure function referenced by a connection handle. More... | |
__tfm_psa_secure_gateway_attributes__ psa_status_t tfm_psa_call_veneer | ( | psa_handle_t | handle, |
const struct tfm_control_parameter_t * | ctrl_param, | ||
const psa_invec * | in_vec, | ||
psa_outvec * | out_vec | ||
) |
Call a secure function referenced by a connection handle.
[in] | handle | Handle to connection. |
[in] | ctrl_param | Parameter structure, includes request type, in_num and out_num. |
[in] | in_vec | Array of input psa_invec structures. |
[in,out] | out_vec | Array of output psa_outvec structures. |
Definition at line 52 of file tfm_psa_api_veneers.c.
__tfm_psa_secure_gateway_attributes__ void tfm_psa_close_veneer | ( | psa_handle_t | handle | ) |
Close connection to secure function referenced by a connection handle.
[in] | handle | Handle to connection |
Definition at line 63 of file tfm_psa_api_veneers.c.
__tfm_psa_secure_gateway_attributes__ psa_handle_t tfm_psa_connect_veneer | ( | uint32_t | sid, |
uint32_t | version | ||
) |
Connect to secure function.
[in] | sid | ID of secure service. |
[in] | version | Version of SF requested by client. |
Definition at line 44 of file tfm_psa_api_veneers.c.
__tfm_psa_secure_gateway_attributes__ uint32_t tfm_psa_framework_version_veneer | ( | void | ) |
Retrieve the version of the PSA Framework API that is implemented.
Definition at line 28 of file tfm_psa_api_veneers.c.
__tfm_psa_secure_gateway_attributes__ uint32_t tfm_psa_version_veneer | ( | uint32_t | sid | ) |
Return version of secure function provided by secure binary.
[in] | sid | ID of secure service. |
Definition at line 36 of file tfm_psa_api_veneers.c.