MCUX CLNS
MCUX Crypto Library Normal Secure

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. More...
 
#define MCUXCLECC_SIGN_WAPKC_SIZE(pByteLen, nByteLen)
 PKC workarea size (in bytes) for mcuxClEcc_Sign for arbitrary lengths of p and n. More...
 
#define MCUXCLECC_VERIFY_WAPKC_SIZE(pByteLen, nByteLen)
 PKC workarea size (in bytes) for mcuxClEcc_Verify for arbitrary lengths of p and n. More...
 
#define MCUXCLECC_POINTMULT_WAPKC_SIZE(pByteLen, nByteLen)
 PKC workarea size (in bytes) for mcuxClEcc_PointMult for arbitrary lengths of p and n. More...
 
#define MCUXCLECC_WEIERECC_GENERATEDOMAINPARAMS_WAPKC_SIZE(pByteLen, nByteLen)
 PKC workarea size (in bytes) for mcuxClEcc_WeierECC_GenerateDomainParams for arbitrary lengths of p and n. More...
 
#define MCUXCLECC_WEIERECC_GENERATEDOMAINPARAMS_WAPKC_SIZE_128
 
#define MCUXCLECC_WEIERECC_GENERATEDOMAINPARAMS_WAPKC_SIZE_256
 
#define MCUXCLECC_WEIERECC_GENERATEDOMAINPARAMS_WAPKC_SIZE_384
 
#define MCUXCLECC_WEIERECC_GENERATEDOMAINPARAMS_WAPKC_SIZE_512
 
#define MCUXCLECC_WEIERECC_GENERATEDOMAINPARAMS_WAPKC_SIZE_640
 

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.

◆ 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.

◆ 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.

◆ 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.

◆ MCUXCLECC_WEIERECC_GENERATEDOMAINPARAMS_WAPKC_SIZE

#define MCUXCLECC_WEIERECC_GENERATEDOMAINPARAMS_WAPKC_SIZE (   pByteLen,
  nByteLen 
)

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