39 #ifndef _PAL_OS_DATASTORE_H_ 40 #define _PAL_OS_DATASTORE_H_ 49 #define OPTIGA_PLATFORM_BINDING_SHARED_SECRET_ID (0x11) 53 #define OPTIGA_LIB_PAL_DATA_STORE_NOT_CONFIGURED (0x00) 59 #define OPTIGA_COMMS_MANAGE_CONTEXT_ID (0x22) 65 #define OPTIGA_HIBERNATE_CONTEXT_ID (0x33) 69 #define APP_CONTEXT_SIZE (0x08) 94 uint16_t * p_buffer_length);
117 const uint8_t * p_buffer,
This file provides the prototype declarations of platform abstraction layer.
pal_status_t pal_os_datastore_read(uint16_t datastore_id, uint8_t *p_buffer, uint16_t *p_buffer_length)
Reads data from the specified location for a given datastore_id.
Definition: pal_os_datastore_arduino.cpp:55
pal_status_t pal_os_datastore_write(uint16_t datastore_id, const uint8_t *p_buffer, uint16_t length)
Writes data to the specified location for a given datastore_id.
Definition: pal_os_datastore_arduino.cpp:109
uint16_t pal_status_t
PAL return status.
Definition: pal.h:60