OPTIGA™ Trust M
Host Library Documentation
pal_file_system.h File Reference

This file defines APIs, types and data structures used for protect update tool file system. More...

#include <stdint.h>
Include dependency graph for pal_file_system.h:

Go to the source code of this file.

Functions

int32_t pal_file_system_read_file_to_array (const int8_t *file_name, uint8_t **byte_array, uint16_t *byte_array_length)
 
int32_t pal_file_system_read_file_to_array_in_hex (const int8_t *file_name, uint8_t **byte_array, uint16_t *byte_array_length)
 
int32_t pal_file_system_write_to_file (const int8_t *file_name, int8_t *byte_array, uint16_t byte_array_length)
 

Detailed Description

This file defines APIs, types and data structures used for protect update tool file system.

Author
Infineon Technologies AG

Definition in file pal_file_system.h.

Function Documentation

◆ pal_file_system_read_file_to_array()

int32_t pal_file_system_read_file_to_array ( const int8_t *  file_name,
uint8_t **  byte_array,
uint16_t *  byte_array_length 
)

◆ pal_file_system_read_file_to_array_in_hex()

int32_t pal_file_system_read_file_to_array_in_hex ( const int8_t *  file_name,
uint8_t **  byte_array,
uint16_t *  byte_array_length 
)

◆ pal_file_system_write_to_file()

int32_t pal_file_system_write_to_file ( const int8_t *  file_name,
int8_t *  byte_array,
uint16_t  byte_array_length 
)