MCUX CLNS
MCUX Crypto Library Normal Secure
 
Loading...
Searching...
No Matches
MCUXCLELS_KEYGEN option bit field values

Bit field constants for mcuxClEls_EccKeyGenOption_t. More...

Macros

#define MCUXCLELS_ECC_PUBLICKEY_SIGN_ENABLE
 Set this option at mcuxClEls_EccKeyGenOption_t.kgsign to sign the public key (signature will be concatenated to the output public key)
 
#define MCUXCLELS_ECC_PUBLICKEY_SIGN_DISABLE
 Set this option at mcuxClEls_EccKeyGenOption_t.kgsign to not sign the public key.
 
#define MCUXCLELS_ECC_OUTPUTKEY_SIGN
 Set this option at mcuxClEls_EccKeyGenOption_t.kgtypedh to specify output key will be a signing key usable by mcuxClEls_EccSign_Async.
 
#define MCUXCLELS_ECC_OUTPUTKEY_KEYEXCHANGE
 Set this option at mcuxClEls_EccKeyGenOption_t.kgtypedh to specify output key will be a Diffie Helman key usable by mcuxClEls_EccKeyExchange_Async.
 
#define MCUXCLELS_ECC_OUTPUTKEY_DETERMINISTIC
 Set this option at mcuxClEls_EccKeyGenOption_t.kgsrc to specify output key is deterministic.
 
#define MCUXCLELS_ECC_OUTPUTKEY_RANDOM
 Set this option at mcuxClEls_EccKeyGenOption_t.kgsrc to specify output key is random.
 
#define MCUXCLELS_ECC_GEN_PUBLIC_KEY
 Set this option at mcuxClEls_EccKeyGenOption_t.skip_pbk to generate a public key.
 
#define MCUXCLELS_ECC_SKIP_PUBLIC_KEY
 Set this option at mcuxClEls_EccKeyGenOption_t.skip_pbk to not generate a public key.
 
#define MCUXCLELS_ECC_NO_RANDOM_DATA
 Set this option at mcuxClEls_EccKeyGenOption_t.kgsign_rnd to not include user provided random data for the signature.
 
#define MCUXCLELS_ECC_INCLUDE_RANDOM_DATA
 Set this option at mcuxClEls_EccKeyGenOption_t.kgsign_rnd to include user provided random data for the signature.
 

Detailed Description

Bit field constants for mcuxClEls_EccKeyGenOption_t.

Macro Definition Documentation

◆ MCUXCLELS_ECC_PUBLICKEY_SIGN_ENABLE

#define MCUXCLELS_ECC_PUBLICKEY_SIGN_ENABLE

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

◆ MCUXCLELS_ECC_PUBLICKEY_SIGN_DISABLE

#define MCUXCLELS_ECC_PUBLICKEY_SIGN_DISABLE

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

Examples
mcuxClEls_Ecc_Keygen_Sign_Verify_example.c.

◆ MCUXCLELS_ECC_OUTPUTKEY_SIGN

#define MCUXCLELS_ECC_OUTPUTKEY_SIGN

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

◆ MCUXCLELS_ECC_OUTPUTKEY_KEYEXCHANGE

#define MCUXCLELS_ECC_OUTPUTKEY_KEYEXCHANGE

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

Examples
mcuxClEls_Tls_Master_Key_Session_Keys_example.c.

◆ MCUXCLELS_ECC_OUTPUTKEY_DETERMINISTIC

#define MCUXCLELS_ECC_OUTPUTKEY_DETERMINISTIC

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

◆ MCUXCLELS_ECC_OUTPUTKEY_RANDOM

#define MCUXCLELS_ECC_OUTPUTKEY_RANDOM

◆ MCUXCLELS_ECC_GEN_PUBLIC_KEY

#define MCUXCLELS_ECC_GEN_PUBLIC_KEY

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

◆ MCUXCLELS_ECC_SKIP_PUBLIC_KEY

#define MCUXCLELS_ECC_SKIP_PUBLIC_KEY

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

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

◆ MCUXCLELS_ECC_NO_RANDOM_DATA

#define MCUXCLELS_ECC_NO_RANDOM_DATA

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

Examples
mcuxClEls_Ecc_Keygen_Sign_Verify_example.c.

◆ MCUXCLELS_ECC_INCLUDE_RANDOM_DATA

#define MCUXCLELS_ECC_INCLUDE_RANDOM_DATA

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

MCUXCLELS_ECC_PUBLICKEY_SIGN_ENABLE must be set in this case.