MCUX CLNS MCUX Crypto Library Normal Secure |

Macros
Secure counter direct access
MCUX CSSL &ndash; API » Secure Counter API

Support for directly accessing the secure counter. More...

## Macros
#define | MCUX_CSSL_SC_VALUE()
| Access operation for the current secure counter value. More...
#define | MCUX_CSSL_SC_ASSIGN(value)
| Assignment operation for the secure counter. More...

## Detailed Description

Support for directly accessing the secure counter.

Warning
  Access to the secure counter is generally restricted, and generic access might not be allowed.

## Macro Definition Documentation

## ◆ MCUX_CSSL_SC_VALUE

#define MCUX_CSSL_SC_VALUE | ( |  | ) |

Access operation for the current secure counter value.

Warning
  Access to the secure counter is generally restricted, and generic access might not be allowed. For portable code it is best to only rely on the check operation to verify the secure counter value.

Returns
  The current value of the secure counter.

## ◆ MCUX_CSSL_SC_ASSIGN

#define MCUX_CSSL_SC_ASSIGN | ( |  | value | ) |

Assignment operation for the secure counter.

Warning
  Access to the secure counter is generally restricted, and generic assignment might not be allowed. For portable code it is best to only rely on the initialization, increment and decrement operations to change the secure counter value.

Parameters

  value | Value that needs to be assigned to the secure counter.