OPTIGA™ Trust M
Host Library Documentation
Common Definitions

Files

file  optiga_lib_common.h
 This file provides the prototypes for the commonly used functions and structures of OPTIGA Library.
 
file  optiga_lib_common_internal.h
 This file provides the prototypes for the commonly used internal functions and structures of OPTIGA Library.
 
file  optiga_lib_logger.h
 This file provides the prototypes for the OPTIGA library logger.
 
file  optiga_lib_return_codes.h
 This file defines the error codes for the all the layers and modules.
OPTIGA host library return value Decoding
The definition of the Error code layering for a 2 byte error code explained below.
Each error code is represented as [AB][CD], where each byte is represented as [ ] and individual alphabets represent a nibble.
A : Error indication Bit 15. Set to 1 indicates error from OPTIGA security chip
B : Layer information Bits [14 - 8]. This indicates the layer from which the error originated. E.g. OPTIGA, PAL, Comms, Util, Crypt etc.
CD : Return code Bits [7 - 0]. This indicates the actual nature of error.
 
file  optiga_lib_types.h
 This file contains the type definitions for the fundamental data types.
 
file  optiga_lib_config.h
 This file is defines the compilation switches to build code with required features.
 
file  optiga_lib_config_m_v1.h
 This file is defines the compilation switches to build code with required features.
 
file  optiga_lib_config_m_v3.h
 This file is defines the compilation switches to build code with required features.
 
file  optiga_lib_version.h
 This file contains Optiga library version information.
 

Detailed Description