OPTIGA Trust M  1.1.0
C++ library for Optiga Trust M Chip Security Controller
optiga_lib_types.h File Reference

This file contains the type definitions for the fundamental data types. More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
Include dependency graph for optiga_lib_types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  data_blob
 Structure to specify a byte stream consisting of length and data pointer. More...
 
#define FALSE   (0U)
 Definition for false. More...
 
#define TRUE   (1U)
 Definition for true. More...
 
#define _STATIC_H   static
 
typedef char char_t
 Typedef for one byte integer. More...
 
typedef double double_t
 Typedef for a double word. More...
 
typedef float float_t
 Typedef for a float. More...
 
typedef uint8_t bool_t
 Typedef for a boolean. More...
 
typedef void * hdl_t
 typedef for handles More...
 
typedef uint16_t optiga_lib_status_t
 typedef for OPTIGA host library status More...
 
typedef void Void
 Typedef for a void. More...
 
typedef void(* upper_layer_callback_t) (void *upper_layer_ctx, optiga_lib_status_t event)
 typedef for application event handler More...
 
typedef void(* callback_handler_t) (void *callback_ctx, optiga_lib_status_t event)
 typedef for event callback handler More...
 
typedef struct data_blob data_blob_t
 Structure to specify a byte stream consisting of length and data pointer. More...
 

Detailed Description

This file contains the type definitions for the fundamental data types.

Copyright (c) 2019 Infineon Technologies AG

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE

\endcopyright

Author
Infineon Technologies AG

Macro Definition Documentation

◆ _STATIC_H

#define _STATIC_H   static

◆ FALSE

#define FALSE   (0U)

Definition for false.

◆ TRUE

#define TRUE   (1U)

Definition for true.

Typedef Documentation

◆ bool_t

typedef uint8_t bool_t

Typedef for a boolean.

◆ callback_handler_t

typedef void(* callback_handler_t) (void *callback_ctx, optiga_lib_status_t event)

typedef for event callback handler

◆ char_t

typedef char char_t

Typedef for one byte integer.

◆ data_blob_t

typedef struct data_blob data_blob_t

Structure to specify a byte stream consisting of length and data pointer.

◆ double_t

typedef double double_t

Typedef for a double word.

◆ float_t

typedef float float_t

Typedef for a float.

◆ hdl_t

typedef void* hdl_t

typedef for handles

◆ optiga_lib_status_t

typedef uint16_t optiga_lib_status_t

typedef for OPTIGA host library status

◆ upper_layer_callback_t

typedef void(* upper_layer_callback_t) (void *upper_layer_ctx, optiga_lib_status_t event)

typedef for application event handler

◆ Void

typedef void Void

Typedef for a void.