| Samsung Internal API reference 2.0

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

Macros | Enumerations | Functions
irs.h File Reference

Integrity Report System. More...

Go to the source code of this file.

## Macros
#define | IRS_FAIL_TZ -1
#define | IRS_UNKNOWN_ID_TZ -2
#define | IRS_UNKNOWN_INT_CMD_TZ -3
#define | IRS_INCORRECT_FLAG_TYPE_TZ -4
#define | IRS_RT_FLAGS_EMPTY_TZ -5
#define | IRS_RT_FLAGS_FULL_TZ -6
#define | IRS_INCORRECT_RT_ID_TZ -7
#define | IRS_DENY_READ_FROM_SMC_TZ -8
#define | IRS_DENY_WRITE_FROM_SMC_TZ -9
#define | IRS_DENY_DELETE_FROM_SMC_TZ -10
#define | IRS_MAX_VAL_COUNTER_TZ -11
#define | IRS_MAX_VAL_COUNTER_RT_TZ -12
#define | IRS_INCORRECT_CHECKSUM_TZ -13
#define | IRS_UNKNOWN_ERROR_TZ -14
#define | IRS_SUCCESS_TZ 0

## Enumerations
enum | IRS_INTERNAL_CMD { IRS_SET_FLAG_CMD = 1, IRS_SET_FLAG_VALUE_CMD, IRS_INC_FLAG_CMD, IRS_GET_FLAG_VALUE_CMD, IRS_ADD_FLAG_CMD, IRS_DEL_FLAG_CMD }
| Internal IRS commands ids. More...
enum | IRS_PARAM { IRS_TYPE_BOOLEAN = 0x00000001, IRS_TYPE_VALUE = 0x00000002, IRS_TYPE_COUNTER = 0x00000004, IRS_NWD_RD = 0x00000008, IRS_NWD_WR = 0x00000010, IRS_NWD_CTRL = 0x00000020, IRS_SWD_RD = 0x00000040, IRS_SWD_WR = 0x00000080, IRS_SWD_CTRL = 0x00000100 }
| Bit position of params. More...

## Functions
int | TEES_SetIrsFlag (unsigned int *flag_id)
| Set flag by `flag_id` in 1. Used only for boolean flag type. More...
int | TEES_SetIrsFlagValue (unsigned int *flag_id, unsigned int value)
| Set flag by `flag_id` in value by value. More...
int | TEES_IncIrsFlag (unsigned int *flag_id)
| Increment flag by `flag_id` in 1. Used only for IRS_TYPE_VALUE flag type. More...
int | TEES_GetIrsFlagValue (unsigned int *flag_id, unsigned int *value)
| Get value by `flag_id`. More...
int | TEES_AddIrsFlag (unsigned int *flag_id, unsigned int param)
| Function for control run-time flags. More...
int | TEES_DelIrsFlag (unsigned int *flag_id)
| Delete run-time flag by `flag_id`. More...

## Detailed Description

Integrity Report System.

Copyright
  (C) 2012-2019, Samsung Electronics Co., Ltd.