MCUX CLNS MCUX Crypto Library Normal Secure |

Macros
MCUXCLECC_WAPKC_
mcuxClEcc » mcuxClEcc_MemoryConsumption

Define the PKC workarea size required by mcuxClEcc APIs. More...

## Macros

#define | MCUXCLECC_PKC_WORDSIZE
| PKC wordsize in ECC component. More...
#define | MCUXCLECC_MAX(value0, value1)
| Helper macro to get the maximum of two given constants. More...
#define | MCUXCLECC_ALIGN_SIZE_PKC(size)
| Helper macro to calculate size aligned to PKC word. More...
#define | MCUXCLECC_KEYGEN_WAPKC_SIZE(pByteLen, nByteLen)
| PKC workarea size (in bytes) for mcuxClEcc_KeyGen for arbitrary lengths of p and n (in bytes). More...
#define | MCUXCLECC_SIGN_WAPKC_SIZE(pByteLen, nByteLen)
| PKC workarea size (in bytes) for mcuxClEcc_Sign for arbitrary lengths of p and n (in bytes). More...
#define | MCUXCLECC_VERIFY_WAPKC_SIZE(pByteLen, nByteLen)
| PKC workarea size (in bytes) for mcuxClEcc_Verify for arbitrary lengths of p and n (in bytes). More...
#define | MCUXCLECC_POINTMULT_WAPKC_SIZE(pByteLen, nByteLen)
| PKC workarea size (in bytes) for mcuxClEcc_PointMult for arbitrary lengths of p and n (in bytes). More...

## Detailed Description

Define the PKC workarea size required by mcuxClEcc APIs.

## Macro Definition Documentation

## ◆ MCUXCLECC_PKC_WORDSIZE

#define MCUXCLECC_PKC_WORDSIZE

PKC wordsize in ECC component.

## ◆ MCUXCLECC_MAX

#define MCUXCLECC_MAX | ( |  | value0,
|  |  | value1
| ) |  |

Helper macro to get the maximum of two given constants.

## ◆ MCUXCLECC_ALIGN_SIZE_PKC

#define MCUXCLECC_ALIGN_SIZE_PKC | ( |  | size | ) |

Helper macro to calculate size aligned to PKC word.

## ◆ MCUXCLECC_KEYGEN_WAPKC_SIZE

#define MCUXCLECC_KEYGEN_WAPKC_SIZE | ( |  | pByteLen,
|  |  | nByteLen
| ) |  |

PKC workarea size (in bytes) for mcuxClEcc_KeyGen for arbitrary lengths of p and n (in bytes).

## ◆ MCUXCLECC_SIGN_WAPKC_SIZE

#define MCUXCLECC_SIGN_WAPKC_SIZE | ( |  | pByteLen,
|  |  | nByteLen
| ) |  |

PKC workarea size (in bytes) for mcuxClEcc_Sign for arbitrary lengths of p and n (in bytes).

## ◆ MCUXCLECC_VERIFY_WAPKC_SIZE

#define MCUXCLECC_VERIFY_WAPKC_SIZE | ( |  | pByteLen,
|  |  | nByteLen
| ) |  |

PKC workarea size (in bytes) for mcuxClEcc_Verify for arbitrary lengths of p and n (in bytes).

## ◆ MCUXCLECC_POINTMULT_WAPKC_SIZE

#define MCUXCLECC_POINTMULT_WAPKC_SIZE | ( |  | pByteLen,
|  |  | nByteLen
| ) |  |

PKC workarea size (in bytes) for mcuxClEcc_PointMult for arbitrary lengths of p and n (in bytes).