MCUX CLNS
MCUX Crypto Library Normal Secure
MCUXCLCSS_KEYGEN option bit field values

Bit field constants for mcuxClCss_EccKeyGenOption_t. More...

Macros

#define MCUXCLCSS_ECC_PUBLICKEY_SIGN_ENABLE
 Set this option at mcuxClCss_EccKeyGenOption_t.kgsign to sign the public key (signature will be concatenated to the output public key) More...
 
#define MCUXCLCSS_ECC_PUBLICKEY_SIGN_DISABLE
 Set this option at mcuxClCss_EccKeyGenOption_t.kgsign to not sign the public key. More...
 
#define MCUXCLCSS_ECC_OUTPUTKEY_SIGN
 Set this option at mcuxClCss_EccKeyGenOption_t.kgtypedh to specify output key will be a signing key usable by mcuxClCss_EccSign_Async. More...
 
#define MCUXCLCSS_ECC_OUTPUTKEY_KEYEXCHANGE
 Set this option at mcuxClCss_EccKeyGenOption_t.kgtypedh to specify output key will be a Diffie Helman key usable by mcuxClCss_EccKeyExchange_Async. More...
 
#define MCUXCLCSS_ECC_OUTPUTKEY_DETERMINISTIC
 Set this option at mcuxClCss_EccKeyGenOption_t.kgsrc to specify output key is deterministic. More...
 
#define MCUXCLCSS_ECC_OUTPUTKEY_RANDOM
 Set this option at mcuxClCss_EccKeyGenOption_t.kgsrc to specify output key is random. More...
 
#define MCUXCLCSS_ECC_GEN_PUBLIC_KEY
 Set this option at mcuxClCss_EccKeyGenOption_t.skip_pbk to generate a public key. More...
 
#define MCUXCLCSS_ECC_SKIP_PUBLIC_KEY
 Set this option at mcuxClCss_EccKeyGenOption_t.skip_pbk to not generate a public key. More...
 
#define MCUXCLCSS_ECC_NO_RANDOM_DATA
 Set this option at mcuxClCss_EccKeyGenOption_t.kgsign_rnd to not include user provided random data for the signature. More...
 
#define MCUXCLCSS_ECC_INCLUDE_RANDOM_DATA
 Set this option at mcuxClCss_EccKeyGenOption_t.kgsign_rnd to include user provided random data for the signature. More...
 

Detailed Description

Bit field constants for mcuxClCss_EccKeyGenOption_t.

Macro Definition Documentation

◆ MCUXCLCSS_ECC_PUBLICKEY_SIGN_ENABLE

#define MCUXCLCSS_ECC_PUBLICKEY_SIGN_ENABLE

Set this option at mcuxClCss_EccKeyGenOption_t.kgsign to sign the public key (signature will be concatenated to the output public key)

◆ MCUXCLCSS_ECC_PUBLICKEY_SIGN_DISABLE

#define MCUXCLCSS_ECC_PUBLICKEY_SIGN_DISABLE

Set this option at mcuxClCss_EccKeyGenOption_t.kgsign to not sign the public key.

◆ MCUXCLCSS_ECC_OUTPUTKEY_SIGN

#define MCUXCLCSS_ECC_OUTPUTKEY_SIGN

Set this option at mcuxClCss_EccKeyGenOption_t.kgtypedh to specify output key will be a signing key usable by mcuxClCss_EccSign_Async.

◆ MCUXCLCSS_ECC_OUTPUTKEY_KEYEXCHANGE

#define MCUXCLCSS_ECC_OUTPUTKEY_KEYEXCHANGE

Set this option at mcuxClCss_EccKeyGenOption_t.kgtypedh to specify output key will be a Diffie Helman key usable by mcuxClCss_EccKeyExchange_Async.

Examples
tls_master_key_session_keys.c.

◆ MCUXCLCSS_ECC_OUTPUTKEY_DETERMINISTIC

#define MCUXCLCSS_ECC_OUTPUTKEY_DETERMINISTIC

Set this option at mcuxClCss_EccKeyGenOption_t.kgsrc to specify output key is deterministic.

◆ MCUXCLCSS_ECC_OUTPUTKEY_RANDOM

#define MCUXCLCSS_ECC_OUTPUTKEY_RANDOM

Set this option at mcuxClCss_EccKeyGenOption_t.kgsrc to specify output key is random.

Examples
ecc_keygen_sign_verify.c, and tls_master_key_session_keys.c.

◆ MCUXCLCSS_ECC_GEN_PUBLIC_KEY

#define MCUXCLCSS_ECC_GEN_PUBLIC_KEY

Set this option at mcuxClCss_EccKeyGenOption_t.skip_pbk to generate a public key.

◆ MCUXCLCSS_ECC_SKIP_PUBLIC_KEY

#define MCUXCLCSS_ECC_SKIP_PUBLIC_KEY

Set this option at mcuxClCss_EccKeyGenOption_t.skip_pbk to not generate a public key.

If MCUXCLCSS_ECC_OUTPUTKEY_KEYEXCHANGE set, this option will be ignored and a public key will be generated.

◆ MCUXCLCSS_ECC_NO_RANDOM_DATA

#define MCUXCLCSS_ECC_NO_RANDOM_DATA

Set this option at mcuxClCss_EccKeyGenOption_t.kgsign_rnd to not include user provided random data for the signature.

◆ MCUXCLCSS_ECC_INCLUDE_RANDOM_DATA

#define MCUXCLCSS_ECC_INCLUDE_RANDOM_DATA

Set this option at mcuxClCss_EccKeyGenOption_t.kgsign_rnd to include user provided random data for the signature.

MCUXCLCSS_ECC_PUBLICKEY_SIGN_ENABLE must be set in this case.