TF-M Reference Manual  1.2.0
TrustedFirmware-M
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
tfm_its_req_mngr.h File Reference
#include <stddef.h>
#include "psa/client.h"
Include dependency graph for tfm_its_req_mngr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

psa_status_t tfm_its_set_req (psa_invec *in_vec, size_t in_len, psa_outvec *out_vec, size_t out_len)
 Handles the set request. More...
 
psa_status_t tfm_its_get_req (psa_invec *in_vec, size_t in_len, psa_outvec *out_vec, size_t out_len)
 Handles the get request. More...
 
psa_status_t tfm_its_get_info_req (psa_invec *in_vec, size_t in_len, psa_outvec *out_vec, size_t out_len)
 Handles the get info request. More...
 
psa_status_t tfm_its_remove_req (psa_invec *in_vec, size_t in_len, psa_outvec *out_vec, size_t out_len)
 Handles the remove request. More...
 
size_t its_req_mngr_read (uint8_t *buf, size_t num_bytes)
 Reads asset data from the caller. More...
 
void its_req_mngr_write (const uint8_t *buf, size_t num_bytes)
 Writes asset data to the caller. More...
 

Function Documentation

size_t its_req_mngr_read ( uint8_t *  buf,
size_t  num_bytes 
)

Reads asset data from the caller.

Parameters
[out]bufBuffer to copy the data to
[in]num_bytesNumber of bytes to copy
Returns
Number of bytes copied

Definition at line 356 of file tfm_its_req_mngr.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void its_req_mngr_write ( const uint8_t *  buf,
size_t  num_bytes 
)

Writes asset data to the caller.

Parameters
[in]bufBuffer to copy the data from
[in]num_bytesNumber of bytes to copy

Definition at line 367 of file tfm_its_req_mngr.c.

Here is the call graph for this function:

Here is the caller graph for this function:

psa_status_t tfm_its_get_info_req ( psa_invec in_vec,
size_t  in_len,
psa_outvec out_vec,
size_t  out_len 
)

Handles the get info request.

Parameters
[in]in_vecPointer to the input vector which contains the input parameters.
[in]in_lenNumber of input parameters in the input vector.
[out]out_vecPointer to the output vector which contains the output parameters.
[in]out_lenNumber of output parameters in the output vector.
Returns
A status indicating the success/failure of the operation as specified in psa_status_t

Definition at line 116 of file tfm_its_req_mngr.c.

Here is the call graph for this function:

psa_status_t tfm_its_get_req ( psa_invec in_vec,
size_t  in_len,
psa_outvec out_vec,
size_t  out_len 
)

Handles the get request.

Parameters
[in]in_vecPointer to the input vector which contains the input parameters.
[in]in_lenNumber of input parameters in the input vector.
[out]out_vecPointer to the output vector which contains the output parameters.
[in]out_lenNumber of output parameters in the output vector.
Returns
A status indicating the success/failure of the operation as specified in psa_status_t

Definition at line 75 of file tfm_its_req_mngr.c.

Here is the call graph for this function:

psa_status_t tfm_its_remove_req ( psa_invec in_vec,
size_t  in_len,
psa_outvec out_vec,
size_t  out_len 
)

Handles the remove request.

Parameters
[in]in_vecPointer to the input vector which contains the input parameters.
[in]in_lenNumber of input parameters in the input vector.
[out]out_vecPointer to the output vector which contains the output parameters.
[in]out_lenNumber of output parameters in the output vector.
Returns
A status indicating the success/failure of the operation as specified in psa_status_t

Definition at line 150 of file tfm_its_req_mngr.c.

Here is the call graph for this function:

psa_status_t tfm_its_set_req ( psa_invec in_vec,
size_t  in_len,
psa_outvec out_vec,
size_t  out_len 
)

Handles the set request.

Parameters
[in]in_vecPointer to the input vector which contains the input parameters.
[in]in_lenNumber of input parameters in the input vector.
[out]out_vecPointer to the output vector which contains the output parameters.
[in]out_lenNumber of output parameters in the output vector.
Returns
A status indicating the success/failure of the operation as specified in psa_status_t

Definition at line 35 of file tfm_its_req_mngr.c.

Here is the call graph for this function: