NVIDIA DRIVE OS Linux API Reference

5.1.3.0 Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ote_command.h File Reference

Detailed Description

NVIDIA Trusted Little Kernel Interface: Common Commands

Description: Declares the common commands in the TLK interface.

Definition in file ote_command.h.

Go to the source code of this file.

Functions

te_error_t te_open_session (te_session_t *session, te_service_id_t *service, te_operation_t *operation)
 Opens a session to a TLK secure service. More...
 
void te_close_session (te_session_t *session)
 Closes an existing open session to a TLK secure service. More...
 
te_operation_tte_create_operation (void)
 Dynamically creates a new TLK secure service operation object. More...
 
void te_init_operation (te_operation_t *te_op)
 Initializes a TLK operation object. More...
 
void te_deinit_operation (te_operation_t *teOp)
 Deinitializes an existing TLK operation object. More...
 
te_error_t te_launch_operation (te_session_t *session, te_operation_t *te_op)
 Sends an existing TLK operation object. More...
 
void te_oper_set_command (te_operation_t *te_op, uint32_t command)
 Sets a command to a TLK secure service operation object. More...
 
void te_oper_set_param_int_ro (te_operation_t *te_op, uint32_t index, uint32_t Int)
 Adds a read-only integer parameter to a TLK operation object. More...
 
void te_oper_set_param_int_rw (te_operation_t *te_op, uint32_t index, uint32_t Int)
 Adds a read-write integer parameter to a TLK operation object. More...
 
void te_oper_set_param_mem_ro (te_operation_t *te_op, uint32_t index, const void *base, uint32_t len)
 Adds a read-only buffer parameter to the operation object. More...
 
void te_oper_set_param_mem_rw (te_operation_t *te_op, uint32_t index, void *base, uint32_t len)
 Adds a read-write buffer parameter to the operation object. More...
 
void te_oper_set_param_persist_mem_ro (te_operation_t *te_op, uint32_t index, const void *base, uint32_t len)
 Adds a persistent read-only buffer parameter to the operation object. More...
 
void te_oper_set_param_persist_mem_rw (te_operation_t *te_op, uint32_t index, void *base, uint32_t len)
 Adds a persistent read-write buffer parameter to the operation object. More...
 
uint32_t te_oper_get_command (te_operation_t *te_op)
 Gets a TLK command from an operation object. More...
 
uint32_t te_oper_get_num_params (te_operation_t *te_op)
 Gets the number of parameters from an operation object. More...
 
te_error_t te_oper_get_param_type (te_operation_t *te_op, uint32_t index, te_oper_param_type_t *type)
 Gets the parameter type of a parameter. More...
 
te_error_t te_oper_get_param_int (te_operation_t *te_op, uint32_t index, uint32_t *Int)
 Gets an integer parameter from a given TLK operation object. More...
 
te_error_t te_oper_get_param_mem (te_operation_t *te_op, uint32_t index, void **base, uint32_t *len)
 Gets a memory buffer parameter from a given TLK operation object. More...
 
te_error_t te_oper_get_param_mem_ro (te_operation_t *te_op, uint32_t index, const void **base, uint32_t *len)
 Get a mem parameter. More...
 
te_error_t te_oper_get_param_mem_rw (te_operation_t *te_op, uint32_t index, void **base, uint32_t *len)
 Get a mem parameter. More...
 
te_error_t te_oper_get_param_persist_mem_ro (te_operation_t *te_op, uint32_t index, const void **base, uint32_t *len)
 Get a mem parameter. More...
 
te_error_t te_oper_get_param_persist_mem_rw (te_operation_t *te_op, uint32_t index, void **base, uint32_t *len)
 Get a mem parameter. More...
 
void te_operation_reset (te_operation_t *te_op)
 Resets the data in an operation object. More...