BOLOS Input/Output for the TEE.
More...
Go to the source code of this file.
BOLOS Input/Output for the TEE.
- Author
- Ledger Firmware Team hello.nosp@m.@led.nosp@m.ger.f.nosp@m.r
- Version
- 1.0
- Date
- 29th of February 2016
Allow executed code to retrieve parameters and return results
This API is TEE / stateless device specific
void _exit |
( |
uint32_t |
status | ) |
|
halt executed code
- Parameters
-
[in] | status | exit status (discarded) |
uint32_t bls_check_api_level |
( |
void |
| ) |
|
get the current API level
- Returns
- API level
size_t bls_copy_input_parameters |
( |
const uint8_t * |
parameters, |
|
|
uint32_t |
offset, |
|
|
size_t |
parametersLength |
|
) |
| |
copy Normal World parameters to the executed code
- Parameters
-
[out] | parameters | buffer containing the parameter value |
[in] | offset | offset to start copying the Normal World input parameters from |
[in] | parametersLength | length of Normal World input parameters to copy |
- Returns
- size of parameters copied
size_t bls_get_input_parameters_length |
( |
void |
| ) |
|
get the available size of Normal World input parameters
- Returns
- size of input parameters
void bls_set_return |
( |
const void * |
addr, |
|
|
size_t |
length |
|
) |
| |
send a result back to Normal World
- Parameters
-
[in] | addr | the buffer containing the data to return |
[in] | length | length of the data to return |