IFX SE FIH library functions.
Data Structures | |
| struct | ifx_se_fih_uint |
| All ints are replaced with two int - the normal one and a backup which is XORed with the mask. More... | |
| struct | ifx_se_fih_ptr_t |
| Special pointer FIH type definition for SE RT Services transport. More... | |
Macros | |
| #define | ifx_se_fih_uint_eq(x, y) |
| Standard equality for ifx_se_fih_uint values. More... | |
| #define | ifx_se_fih_uint_not_eq(x, y) |
| Standard non-equality for ifx_se_fih_uint values. More... | |
| #define | ifx_se_fih_uint_gt(x, y) |
| Standard greater than comparison for ifx_se_fih_uint values. More... | |
| #define | ifx_se_fih_uint_ge(x, y) |
| Standard greater than or equal comparison for ifx_se_fih_uint values. More... | |
| #define | ifx_se_fih_uint_lt(x, y) |
| Standard less than comparison for ifx_se_fih_uint values. More... | |
| #define | ifx_se_fih_uint_le(x, y) |
| Standard less than or equal comparison for ifx_se_fih_uint values. More... | |
Typedefs | |
| typedef ifx_se_fih_uint | ifx_se_fih_t |
| Special generic FIH type definition for SE RT Services transport. | |
| typedef ifx_se_fih_uint | ifx_se_alg_fih_t |
| Special algorithm FIH type definition for SE RT Services transport. | |
Functions | |
| bool | ifx_se_fih_delay (void) |
| Perform delay between FIH operations. More... | |
| __STATIC_FORCEINLINE bool | ifx_se_fih_uint_validate (ifx_se_fih_uint x) |
| Validate ifx_se_fih_uint for tampering. More... | |
| __STATIC_FORCEINLINE uint32_t | ifx_se_fih_uint_decode (ifx_se_fih_uint x) |
| Convert a ifx_se_fih_uint to an unsigned int. More... | |
| __STATIC_FORCEINLINE ifx_se_fih_uint | ifx_se_fih_uint_encode (uint32_t x) |
| Convert an unsigned int to a ifx_se_fih_uint. More... | |
| IFX_SE_NOINLINE bool | ifx_se_fih_check_eq_mask (ifx_se_fih_uint *a, ifx_se_fih_uint *b) |
| Compares masks for two FIH variables. More... | |
| IFX_SE_NOINLINE bool | ifx_se_fih_check_not_eq_mask (ifx_se_fih_uint *a, ifx_se_fih_uint *b) |
| Compares masks for two FIH variables. More... | |
| IFX_SE_NOINLINE bool | ifx_se_fih_check_gt_mask (ifx_se_fih_uint *a, ifx_se_fih_uint *b) |
| Compares masks for two FIH variables. More... | |
| IFX_SE_NOINLINE bool | ifx_se_fih_check_ge_mask (ifx_se_fih_uint *a, ifx_se_fih_uint *b) |
| Compares masks for two FIH variables. More... | |
| IFX_SE_NOINLINE bool | ifx_se_fih_check_lt_mask (ifx_se_fih_uint *a, ifx_se_fih_uint *b) |
| Compares masks for two FIH variables. More... | |
| IFX_SE_NOINLINE bool | ifx_se_fih_check_le_mask (ifx_se_fih_uint *a, ifx_se_fih_uint *b) |
| Compares masks for two FIH variables. More... | |
| __STATIC_FORCEINLINE ifx_se_fih_uint | ifx_se_fih_uint_or (ifx_se_fih_uint x, ifx_se_fih_uint y) |
| Standard logical OR for ifx_se_fih_uint values. More... | |
| __STATIC_FORCEINLINE ifx_se_fih_uint | ifx_se_fih_uint_and (ifx_se_fih_uint x, ifx_se_fih_uint y) |
| Standard logical AND for ifx_se_fih_uint values. More... | |
| __STATIC_FORCEINLINE bool | ifx_se_fih_ptr_validate (ifx_se_fih_ptr_t x) |
| Validate ifx_se_fih_ptr_t for tampering. More... | |
| __STATIC_FORCEINLINE ifx_se_fih_ptr_t | ifx_se_fih_ptr_encode (const void *x) |
| Convert pointer address to a ifx_se_fih_ptr_t. More... | |
| __STATIC_FORCEINLINE void * | ifx_se_fih_ptr_decode (ifx_se_fih_ptr_t x) |
| Convert a ifx_se_fih_ptr_t to pointer address. More... | |
| #define ifx_se_fih_uint_eq | ( | x, | |
| y | |||
| ) |
Standard equality for ifx_se_fih_uint values.
| x | 1st ifx_se_fih_uint value to be compared. |
| y | 2nd ifx_se_fih_uint value to be compared. |
| #define ifx_se_fih_uint_not_eq | ( | x, | |
| y | |||
| ) |
Standard non-equality for ifx_se_fih_uint values.
| x | 1st ifx_se_fih_uint value to be compared. |
| y | 2nd ifx_se_fih_uint value to be compared. |
| #define ifx_se_fih_uint_gt | ( | x, | |
| y | |||
| ) |
Standard greater than comparison for ifx_se_fih_uint values.
| x | 1st ifx_se_fih_uint value to be compared. |
| y | 2nd ifx_se_fih_uint value to be compared. |
| #define ifx_se_fih_uint_ge | ( | x, | |
| y | |||
| ) |
Standard greater than or equal comparison for ifx_se_fih_uint values.
| x | 1st ifx_se_fih_uint value to be compared. |
| y | 2nd ifx_se_fih_uint value to be compared. |
| #define ifx_se_fih_uint_lt | ( | x, | |
| y | |||
| ) |
Standard less than comparison for ifx_se_fih_uint values.
| x | 1st ifx_se_fih_uint value to be compared. |
| y | 2nd ifx_se_fih_uint value to be compared. |
| #define ifx_se_fih_uint_le | ( | x, | |
| y | |||
| ) |
Standard less than or equal comparison for ifx_se_fih_uint values.
| x | 1st ifx_se_fih_uint value to be compared. |
| y | 2nd ifx_se_fih_uint value to be compared. |
| bool ifx_se_fih_delay | ( | void | ) |
Perform delay between FIH operations.
| __STATIC_FORCEINLINE bool ifx_se_fih_uint_validate | ( | ifx_se_fih_uint | x | ) |
Validate ifx_se_fih_uint for tampering.
| x | ifx_se_fih_uint value to be validated. |
| __STATIC_FORCEINLINE uint32_t ifx_se_fih_uint_decode | ( | ifx_se_fih_uint | x | ) |
Convert a ifx_se_fih_uint to an unsigned int.
| x | ifx_se_fih_uint value to be converted. |
| __STATIC_FORCEINLINE ifx_se_fih_uint ifx_se_fih_uint_encode | ( | uint32_t | x | ) |
Convert an unsigned int to a ifx_se_fih_uint.
| x | Unsigned integer value to be converted. |
| IFX_SE_NOINLINE bool ifx_se_fih_check_eq_mask | ( | ifx_se_fih_uint * | a, |
| ifx_se_fih_uint * | b | ||
| ) |
Compares masks for two FIH variables.
| a | pointer to the 1st ifx_se_fih_uint value. |
| b | pointer to the 2nd ifx_se_fih_uint value. |
| IFX_SE_NOINLINE bool ifx_se_fih_check_not_eq_mask | ( | ifx_se_fih_uint * | a, |
| ifx_se_fih_uint * | b | ||
| ) |
Compares masks for two FIH variables.
| a | pointer to the 1st ifx_se_fih_uint value. |
| b | pointer to the 2nd ifx_se_fih_uint value. |
| IFX_SE_NOINLINE bool ifx_se_fih_check_gt_mask | ( | ifx_se_fih_uint * | a, |
| ifx_se_fih_uint * | b | ||
| ) |
Compares masks for two FIH variables.
| a | pointer to the 1st ifx_se_fih_uint value. |
| b | pointer to the 2nd ifx_se_fih_uint value. |
| IFX_SE_NOINLINE bool ifx_se_fih_check_ge_mask | ( | ifx_se_fih_uint * | a, |
| ifx_se_fih_uint * | b | ||
| ) |
Compares masks for two FIH variables.
| a | pointer to the 1st ifx_se_fih_uint value. |
| b | pointer to the 2nd ifx_se_fih_uint value. |
| IFX_SE_NOINLINE bool ifx_se_fih_check_lt_mask | ( | ifx_se_fih_uint * | a, |
| ifx_se_fih_uint * | b | ||
| ) |
Compares masks for two FIH variables.
| a | pointer to the 1st ifx_se_fih_uint value. |
| b | pointer to the 2nd ifx_se_fih_uint value. |
| IFX_SE_NOINLINE bool ifx_se_fih_check_le_mask | ( | ifx_se_fih_uint * | a, |
| ifx_se_fih_uint * | b | ||
| ) |
Compares masks for two FIH variables.
| a | pointer to the 1st ifx_se_fih_uint value. |
| b | pointer to the 2nd ifx_se_fih_uint value. |
| __STATIC_FORCEINLINE ifx_se_fih_uint ifx_se_fih_uint_or | ( | ifx_se_fih_uint | x, |
| ifx_se_fih_uint | y | ||
| ) |
Standard logical OR for ifx_se_fih_uint values.
| x | 1st ifx_se_fih_uint value to be ORed. |
| y | 2nd ifx_se_fih_uint value to be ORed. |
| __STATIC_FORCEINLINE ifx_se_fih_uint ifx_se_fih_uint_and | ( | ifx_se_fih_uint | x, |
| ifx_se_fih_uint | y | ||
| ) |
Standard logical AND for ifx_se_fih_uint values.
| x | 1st ifx_se_fih_uint value to be ANDed. |
| y | 2nd ifx_se_fih_uint value to be ANDed. |
| __STATIC_FORCEINLINE bool ifx_se_fih_ptr_validate | ( | ifx_se_fih_ptr_t | x | ) |
Validate ifx_se_fih_ptr_t for tampering.
| x | ifx_se_fih_ptr_t value to be validated. |
| __STATIC_FORCEINLINE ifx_se_fih_ptr_t ifx_se_fih_ptr_encode | ( | const void * | x | ) |
Convert pointer address to a ifx_se_fih_ptr_t.
| x | Pointer address to be converted. |
| __STATIC_FORCEINLINE void * ifx_se_fih_ptr_decode | ( | ifx_se_fih_ptr_t | x | ) |
Convert a ifx_se_fih_ptr_t to pointer address.
| x | ifx_se_fih_ptr_t value to be converted. |