MCUX CLNS MCUX Crypto Library Normal Secure |

Macros
Secure counter core functionality
MCUX CSSL &ndash; API » Secure Counter API

Secure counter handling core functionality. More...

## Macros
#define | MCUX_CSSL_SC_CHECK_PASSED
| Positive comparison result value. More...
#define | MCUX_CSSL_SC_CHECK_FAILED
| Negative comparison result value. More...
#define | MCUX_CSSL_SC_VALUE_TYPE
| Data type used for the secure counter values. More...
#define | MCUX_CSSL_SC_ALLOC()
| Allocation operation for the secure counter. More...
#define | MCUX_CSSL_SC_INIT(value)
| Initialization operation for the secure counter. More...
#define | MCUX_CSSL_SC_CHECK(reference)
| Comparison operation for the secure counter. More...

## Detailed Description

Secure counter handling core functionality.

## Macro Definition Documentation

## ◆ MCUX_CSSL_SC_CHECK_PASSED

#define MCUX_CSSL_SC_CHECK_PASSED

Positive comparison result value.

## ◆ MCUX_CSSL_SC_CHECK_FAILED

#define MCUX_CSSL_SC_CHECK_FAILED

Negative comparison result value.

## ◆ MCUX_CSSL_SC_VALUE_TYPE

#define MCUX_CSSL_SC_VALUE_TYPE

Data type used for the secure counter values.

## ◆ MCUX_CSSL_SC_ALLOC

#define MCUX_CSSL_SC_ALLOC | ( |  | ) |

Allocation operation for the secure counter.

## ◆ MCUX_CSSL_SC_INIT

#define MCUX_CSSL_SC_INIT | ( |  | value | ) |

Initialization operation for the secure counter.

Parameters

  value | Value with which the secure counter must be initialized.

## ◆ MCUX_CSSL_SC_CHECK

#define MCUX_CSSL_SC_CHECK | ( |  | reference | ) |

Comparison operation for the secure counter.

Parameters

  reference | Reference value to compare the secure counter value against.

Returns
  Either MCUX_CSSL_SC_CHECK_PASSED, if the value matches, or MCUX_CSSL_SC_CHECK_FAILED if the value is different.