MCUX CLNS
MCUX Crypto Library Normal Secure
mcuxClEcc_WeierECC_CustomEccWeierType_BN256_example.c File Reference

Example for the mcuxClEcc component. More...

#include <mcuxClCore_Examples.h>
#include <mcuxClSession.h>
#include <mcuxClCore_FunctionIdentifiers.h>
#include <mcuxClExample_Session_Helper.h>
#include <mcuxClKey.h>
#include <mcuxClEcc.h>
#include <mcuxClEcc_WeierECC.h>
#include <mcuxCsslFlowProtection.h>
#include <mcuxClRandom.h>
#include <mcuxClRandomModes.h>

Macros

#define BN256_BYTE_LEN_P
 
#define BN256_BYTE_LEN_N
 
#define MAX_CPUWA_SIZE
 
#define MAX_PKCWA_SIZE
 

Functions

 MCUXCLEXAMPLE_FUNCTION (mcuxClEcc_WeierECC_CustomEccWeierType_BN256_example)
 Performs an example key derivation using the mcuxClKey component. More...
 

Variables

static const uint8_t BN_P256_P [BN256_BYTE_LEN_P]
 
static const uint8_t BN_P256_A [BN256_BYTE_LEN_P]
 
static const uint8_t BN_P256_B [BN256_BYTE_LEN_P]
 
static const uint8_t BN_P256_G [2u *BN256_BYTE_LEN_P]
 
static const uint8_t BN_P256_N [BN256_BYTE_LEN_N]
 

Detailed Description

Example for the mcuxClEcc component.

Function Documentation

◆ MCUXCLEXAMPLE_FUNCTION()

MCUXCLEXAMPLE_FUNCTION ( mcuxClEcc_WeierECC_CustomEccWeierType_BN256_example  )

Performs an example key derivation using the mcuxClKey component.

Return values
MCUXCLEXAMPLE_STATUS_OKThe example code completed successfully
MCUXCLEXAMPLE_STATUS_ERRORThe example code failed
Examples
mcuxClEcc_WeierECC_CustomEccWeierType_BN256_example.c.