MCUX CLNS
MCUX Crypto Library Normal Secure
Loading...
Searching...
No Matches
mcuxClOsccaSm2_MemoryConsumption

Defines the memory consumption for the mcuxClOsccaSm2 component. More...

Macros

#define MCUXCLOSCCASM2_COMMON_SIZEOF_WA_CPU
 Definition of CPU workarea size in bytes for SM2 API functions.
#define MCUXCLOSCCASM2_SIGN_SIZEOF_WA_CPU(nLength)
 Definition of CPU workarea size in bytes for SM2 signature generation.
#define MCUXCLOSCCASM2_INVERTPRIVATEKEY_SIZEOF_WA_CPU
 Definition of CPU workarea size in bytes for SM2 invert private key.
#define MCUXCLOSCCASM2_COMPUTE_PREHASH_SIZEOF_WA_CPU
 Definition of CPU workarea size in bytes for SM2 pre-hash calculation.
#define MCUXCLOSCCASM2_KEY_GENERATEKEYPAIR_SIZEOF_WA_CPU
 Definition of CPU workarea size in bytes for SM2 key generation through internal call.
#define MCUXCLOSCCASM2_VERIFY_SIZEOF_WA_CPU
 Definition of CPU workarea size in bytes for SM2 signature verification.
#define MCUXCLOSCCASM2_ENCRYPT_SIZEOF_FIXED_WA_CPU
 Definition (constant part) of CPU workarea size in bytes for SM2 encryption.
#define MCUXCLOSCCASM2_DECRYPT_SIZEOF_FIXED_WA_CPU
 Definition (constant part) of CPU workarea size in bytes for SM2 decryption.
#define MCUXCLOSCCASM2_ENCRYPT_SIZEOF_WA_CPU(pLength)
 Platform-independent definition of CPU workarea sizes in bytes for SM2 encryption.
#define MCUXCLOSCCASM2_DECRYPT_SIZEOF_WA_CPU(pLength)
 Platform-independent definition of CPU workarea sizes in bytes for SM2 decryption.
#define MCUXCLOSCCASM2_ENC_DEC_CTX_SIZE(pLength)
 Definition of CPU workarea size in bytes for SM2 selftest through internal call.
#define MCUXCLOSCCASM2_SIGNVERIFY_SELFTEST_SIZEOF_WA_CPU
 Platform-dependent definition of context size in bytes for SM2 Cipher Enc and Dec.
#define MCUXCLOSCCASM2_ENCDEC_SELFTEST_SIZEOF_WA_CPU
 Definition of CPU workarea size in bytes for SM2 enc/dec selftest.
#define MCUXCLOSCCASM2_KEYEXCHANGE_SIZEOF_WA_CPU
 Platform-independent definition of CPU workarea sizes in bytes for SM2 key exchange.
#define MCUXCLOSCCASM2_KEYEX_SELFTEST_SIZEOF_WA_CPU
 Definition of CPU workarea size in bytes for SM2 key agreement through internal call.
#define MCUXCLOSCCASM2_SELFTEST_SIZEOF_WA_CPU
 Definition of CPU workarea size in bytes for SM2 selftest.
#define MCUXCLOSCCASM2_COMPUTE_PREHASH_SIZEOF_WA_PKC
 Definition of PKC workarea size in bytes for pre-hashing.
#define MCUXCLOSCCASM2_PKC_WORDSIZE
 PKC wordsize in SM2 component.
#define MCUXCLOSCCASM2_INTERNAL_SIZEOF_WA_PKC(pLen, nLen)
 Macro to determine PKC workarea size for arbitrary byte lengths of p and n and defines.
#define MCUXCLOSCCASM2_VERIFY_SIZEOF_WA_PKC(pLen, nLen)
 Definition of PKC workarea size in bytes for SM2 signature verification.
#define MCUXCLOSCCASM2_VERIFY_SIZEOF_WA_PKC_256()
 Definition of SM2 verify PKC workarea size for bit length up to 256.
#define MCUXCLOSCCASM2_INVERTPRIVATEKEY_SIZEOF_WA_PKC(pLen, nLen)
 Definition of PKC workarea size in bytes for invert-private-key calculation.
#define MCUXCLOSCCASM2_INVERTPRIVATEKEY_SIZEOF_WA_PKC_256()
 Definition of PKC workarea size for invert-private-key calculation for bit length up to 256.
#define MCUXCLOSCCASM2_SIGN_SIZEOF_WA_PKC(pLen, nLen)
 Definition of PKC workarea size in bytes for SM2 signature generation.
#define MCUXCLOSCCASM2_SIGN_SIZEOF_WA_PKC_256()
 Definition of SM2 sign PKC workarea size for bit length up to 256.
#define MCUXCLOSCCASM2_KEYGEN_SIZEOF_WA_PKC(pLen, nLen)
 Definition of SM2 selftest PKC workarea size for bit length up to 256 through internal call.
#define MCUXCLOSCCASM2_KEY_GENERATEKEYPAIR_SIZEOF_WA_PKC(pLen, nLen)
 Definition of SM2 key generation PKC workarea size through internal call.
#define MCUXCLOSCCASM2_KEY_GENERATEKEYPAIR_SIZEOF_WA_PKC_256()
 Definition of SM2 key generation PKC workarea size for bit length up to 256 through internal call.
#define MCUXCLOSCCASM2_ENCRYPT_SIZEOF_WA_PKC(pLen, nLen)
 Definition of PKC workarea size in bytes for SM2 encryption.
#define MCUXCLOSCCASM2_ENCRYPT_SIZEOF_WA_PKC_256()
 Definition of SM2 encryption PKC workarea size for bit length up to 256.
#define MCUXCLOSCCASM2_DECRYPT_SIZEOF_WA_PKC(pLen, nLen)
 Definition of PKC workarea size in bytes for SM2 decryption.
#define MCUXCLOSCCASM2_DECRYPT_SIZEOF_WA_PKC_256()
 Definition of SM2 decryption PKC workarea size for bit length up to 256.
#define MCUXCLOSCCASM2_CIPHER_ENCDEC_SIZEOF_WA_PKC(pLen, nLen)
 Definition of SM2 enc/dec PKC workarea size through internal call.
#define MCUXCLOSCCASM2_CIPHER_ENCDEC_SIZEOF_WA_PKC_256()
 Definition of SM2 enc/dec PKC workarea size for bit length up to 256 through internal call.
#define MCUXCLOSCCASM2_KEYEXCHANGE_SIZEOF_WA_PKC(pLen, nLen)
 Definition of PKC workarea size in bytes for SM2 key exchange.
#define MCUXCLOSCCASM2_SELFTEST_SIZEOF_WA_PKC
 Definition of PKC workarea size in bytes for SM2 selftest.

Detailed Description

Defines the memory consumption for the mcuxClOsccaSm2 component.

Macro Definition Documentation

◆ MCUXCLOSCCASM2_COMMON_SIZEOF_WA_CPU

#define MCUXCLOSCCASM2_COMMON_SIZEOF_WA_CPU

Definition of CPU workarea size in bytes for SM2 API functions.

◆ MCUXCLOSCCASM2_SIGN_SIZEOF_WA_CPU

#define MCUXCLOSCCASM2_SIGN_SIZEOF_WA_CPU ( nLength)

Definition of CPU workarea size in bytes for SM2 signature generation.

◆ MCUXCLOSCCASM2_INVERTPRIVATEKEY_SIZEOF_WA_CPU

#define MCUXCLOSCCASM2_INVERTPRIVATEKEY_SIZEOF_WA_CPU

Definition of CPU workarea size in bytes for SM2 invert private key.

◆ MCUXCLOSCCASM2_COMPUTE_PREHASH_SIZEOF_WA_CPU

#define MCUXCLOSCCASM2_COMPUTE_PREHASH_SIZEOF_WA_CPU

Definition of CPU workarea size in bytes for SM2 pre-hash calculation.

◆ MCUXCLOSCCASM2_KEY_GENERATEKEYPAIR_SIZEOF_WA_CPU

#define MCUXCLOSCCASM2_KEY_GENERATEKEYPAIR_SIZEOF_WA_CPU

Definition of CPU workarea size in bytes for SM2 key generation through internal call.

◆ MCUXCLOSCCASM2_VERIFY_SIZEOF_WA_CPU

#define MCUXCLOSCCASM2_VERIFY_SIZEOF_WA_CPU

Definition of CPU workarea size in bytes for SM2 signature verification.

◆ MCUXCLOSCCASM2_ENCRYPT_SIZEOF_FIXED_WA_CPU

#define MCUXCLOSCCASM2_ENCRYPT_SIZEOF_FIXED_WA_CPU

Definition (constant part) of CPU workarea size in bytes for SM2 encryption.

◆ MCUXCLOSCCASM2_DECRYPT_SIZEOF_FIXED_WA_CPU

#define MCUXCLOSCCASM2_DECRYPT_SIZEOF_FIXED_WA_CPU

Definition (constant part) of CPU workarea size in bytes for SM2 decryption.

◆ MCUXCLOSCCASM2_ENCRYPT_SIZEOF_WA_CPU

#define MCUXCLOSCCASM2_ENCRYPT_SIZEOF_WA_CPU ( pLength)

Platform-independent definition of CPU workarea sizes in bytes for SM2 encryption.

◆ MCUXCLOSCCASM2_DECRYPT_SIZEOF_WA_CPU

#define MCUXCLOSCCASM2_DECRYPT_SIZEOF_WA_CPU ( pLength)

Platform-independent definition of CPU workarea sizes in bytes for SM2 decryption.

◆ MCUXCLOSCCASM2_ENC_DEC_CTX_SIZE

#define MCUXCLOSCCASM2_ENC_DEC_CTX_SIZE ( pLength)

Definition of CPU workarea size in bytes for SM2 selftest through internal call.

Platform-independent definition of context size in bytes for SM2 Encryption and Decryption

◆ MCUXCLOSCCASM2_SIGNVERIFY_SELFTEST_SIZEOF_WA_CPU

#define MCUXCLOSCCASM2_SIGNVERIFY_SELFTEST_SIZEOF_WA_CPU

Platform-dependent definition of context size in bytes for SM2 Cipher Enc and Dec.

Definition of CPU workarea size in bytes for SM2 enc/dec through internal call

Definition of CPU workarea size in bytes for SM2 sign/verify selftest

◆ MCUXCLOSCCASM2_ENCDEC_SELFTEST_SIZEOF_WA_CPU

#define MCUXCLOSCCASM2_ENCDEC_SELFTEST_SIZEOF_WA_CPU

Definition of CPU workarea size in bytes for SM2 enc/dec selftest.

◆ MCUXCLOSCCASM2_KEYEXCHANGE_SIZEOF_WA_CPU

#define MCUXCLOSCCASM2_KEYEXCHANGE_SIZEOF_WA_CPU

Platform-independent definition of CPU workarea sizes in bytes for SM2 key exchange.

◆ MCUXCLOSCCASM2_KEYEX_SELFTEST_SIZEOF_WA_CPU

#define MCUXCLOSCCASM2_KEYEX_SELFTEST_SIZEOF_WA_CPU

Definition of CPU workarea size in bytes for SM2 key agreement through internal call.

Definition of CPU workarea size in bytes for SM2 Keyexchange selftest

◆ MCUXCLOSCCASM2_SELFTEST_SIZEOF_WA_CPU

#define MCUXCLOSCCASM2_SELFTEST_SIZEOF_WA_CPU

Definition of CPU workarea size in bytes for SM2 selftest.

◆ MCUXCLOSCCASM2_COMPUTE_PREHASH_SIZEOF_WA_PKC

#define MCUXCLOSCCASM2_COMPUTE_PREHASH_SIZEOF_WA_PKC

Definition of PKC workarea size in bytes for pre-hashing.

◆ MCUXCLOSCCASM2_PKC_WORDSIZE

#define MCUXCLOSCCASM2_PKC_WORDSIZE

PKC wordsize in SM2 component.

◆ MCUXCLOSCCASM2_INTERNAL_SIZEOF_WA_PKC

#define MCUXCLOSCCASM2_INTERNAL_SIZEOF_WA_PKC ( pLen,
nLen )

Macro to determine PKC workarea size for arbitrary byte lengths of p and n and defines.

for PKC workarea sizes for standard key lengths

◆ MCUXCLOSCCASM2_VERIFY_SIZEOF_WA_PKC

#define MCUXCLOSCCASM2_VERIFY_SIZEOF_WA_PKC ( pLen,
nLen )

Definition of PKC workarea size in bytes for SM2 signature verification.

◆ MCUXCLOSCCASM2_VERIFY_SIZEOF_WA_PKC_256

#define MCUXCLOSCCASM2_VERIFY_SIZEOF_WA_PKC_256 ( )

Definition of SM2 verify PKC workarea size for bit length up to 256.

◆ MCUXCLOSCCASM2_INVERTPRIVATEKEY_SIZEOF_WA_PKC

#define MCUXCLOSCCASM2_INVERTPRIVATEKEY_SIZEOF_WA_PKC ( pLen,
nLen )

Definition of PKC workarea size in bytes for invert-private-key calculation.

◆ MCUXCLOSCCASM2_INVERTPRIVATEKEY_SIZEOF_WA_PKC_256

#define MCUXCLOSCCASM2_INVERTPRIVATEKEY_SIZEOF_WA_PKC_256 ( )

Definition of PKC workarea size for invert-private-key calculation for bit length up to 256.

◆ MCUXCLOSCCASM2_SIGN_SIZEOF_WA_PKC

#define MCUXCLOSCCASM2_SIGN_SIZEOF_WA_PKC ( pLen,
nLen )

Definition of PKC workarea size in bytes for SM2 signature generation.

◆ MCUXCLOSCCASM2_SIGN_SIZEOF_WA_PKC_256

#define MCUXCLOSCCASM2_SIGN_SIZEOF_WA_PKC_256 ( )

Definition of SM2 sign PKC workarea size for bit length up to 256.

◆ MCUXCLOSCCASM2_KEYGEN_SIZEOF_WA_PKC

#define MCUXCLOSCCASM2_KEYGEN_SIZEOF_WA_PKC ( pLen,
nLen )

Definition of SM2 selftest PKC workarea size for bit length up to 256 through internal call.

Definition of PKC workarea size in bytes for SM2 key generation

◆ MCUXCLOSCCASM2_KEY_GENERATEKEYPAIR_SIZEOF_WA_PKC

#define MCUXCLOSCCASM2_KEY_GENERATEKEYPAIR_SIZEOF_WA_PKC ( pLen,
nLen )

Definition of SM2 key generation PKC workarea size through internal call.

◆ MCUXCLOSCCASM2_KEY_GENERATEKEYPAIR_SIZEOF_WA_PKC_256

#define MCUXCLOSCCASM2_KEY_GENERATEKEYPAIR_SIZEOF_WA_PKC_256 ( )

Definition of SM2 key generation PKC workarea size for bit length up to 256 through internal call.

◆ MCUXCLOSCCASM2_ENCRYPT_SIZEOF_WA_PKC

#define MCUXCLOSCCASM2_ENCRYPT_SIZEOF_WA_PKC ( pLen,
nLen )

Definition of PKC workarea size in bytes for SM2 encryption.

◆ MCUXCLOSCCASM2_ENCRYPT_SIZEOF_WA_PKC_256

#define MCUXCLOSCCASM2_ENCRYPT_SIZEOF_WA_PKC_256 ( )

Definition of SM2 encryption PKC workarea size for bit length up to 256.

◆ MCUXCLOSCCASM2_DECRYPT_SIZEOF_WA_PKC

#define MCUXCLOSCCASM2_DECRYPT_SIZEOF_WA_PKC ( pLen,
nLen )

Definition of PKC workarea size in bytes for SM2 decryption.

◆ MCUXCLOSCCASM2_DECRYPT_SIZEOF_WA_PKC_256

#define MCUXCLOSCCASM2_DECRYPT_SIZEOF_WA_PKC_256 ( )

Definition of SM2 decryption PKC workarea size for bit length up to 256.

◆ MCUXCLOSCCASM2_CIPHER_ENCDEC_SIZEOF_WA_PKC

#define MCUXCLOSCCASM2_CIPHER_ENCDEC_SIZEOF_WA_PKC ( pLen,
nLen )

Definition of SM2 enc/dec PKC workarea size through internal call.

◆ MCUXCLOSCCASM2_CIPHER_ENCDEC_SIZEOF_WA_PKC_256

#define MCUXCLOSCCASM2_CIPHER_ENCDEC_SIZEOF_WA_PKC_256 ( )

Definition of SM2 enc/dec PKC workarea size for bit length up to 256 through internal call.

◆ MCUXCLOSCCASM2_KEYEXCHANGE_SIZEOF_WA_PKC

#define MCUXCLOSCCASM2_KEYEXCHANGE_SIZEOF_WA_PKC ( pLen,
nLen )

Definition of PKC workarea size in bytes for SM2 key exchange.

◆ MCUXCLOSCCASM2_SELFTEST_SIZEOF_WA_PKC

#define MCUXCLOSCCASM2_SELFTEST_SIZEOF_WA_PKC

Definition of PKC workarea size in bytes for SM2 selftest.