MCUX CLNS MCUX Crypto Library Normal Secure |

Macros | Functions
McuxClPkc_Functions_Wait
mcuxClPkc » mcuxClPkc_Functions

mcuxClPkc functions for waiting PKC computation More...

## Macros

#define | MCUXCLPKC_FP_WAITFORFINISH()
| Helper macro to call mcuxClPkc_WaitForFinish with flow protection. More...
#define | MCUXCLPKC_FP_WAITFORREADY()
| Helper macro to call mcuxClPkc_WaitForReady with flow protection. More...

## Functions

mcuxClPkc_Status_Protected_t | mcuxClPkc_WaitForFinish (void)
| Wait until PKC finishes calculations. More...
mcuxClPkc_Status_Protected_t | mcuxClPkc_WaitForReady (void)
| Wait until PKC is ready to accept new calculation. More...

## Detailed Description

mcuxClPkc functions for waiting PKC computation

## Macro Definition Documentation

## ◆ MCUXCLPKC_FP_WAITFORFINISH

#define MCUXCLPKC_FP_WAITFORFINISH | ( |  | ) |

Helper macro to call mcuxClPkc_WaitForFinish with flow protection.

## ◆ MCUXCLPKC_FP_WAITFORREADY

#define MCUXCLPKC_FP_WAITFORREADY | ( |  | ) |

Helper macro to call mcuxClPkc_WaitForReady with flow protection.

## Function Documentation

## ◆ mcuxClPkc_WaitForFinish()

mcuxClPkc_Status_Protected_t mcuxClPkc_WaitForFinish | ( | void |  | ) |

Wait until PKC finishes calculations.

This function waits until PKC finishes on-going and pending calculations (if there is any). When returning to caller, PKC is in idle state, and result in PKC workarea is ready.

Returns
  A flow-protected status code (see Flow Protection API).

Return values

  MCUXCLPKC_STATUS_OK | this function always returns OK.

## ◆ mcuxClPkc_WaitForReady()

mcuxClPkc_Status_Protected_t mcuxClPkc_WaitForReady | ( | void |  | ) |

Wait until PKC is ready to accept new calculation.

This function waits until PKC is ready to accept next calculation (i.e., no pending calculation).

Returns
  A flow-protected status code (see Flow Protection API).

Return values

  MCUXCLPKC_STATUS_OK | this function always returns OK.