MCUX CLNS
MCUX Crypto Library Normal Secure
Loading...
Searching...
No Matches
mcuxClEcc_ArithmeticOperation_PointAdd_NIST_P224_example.c File Reference

Example for the mcuxClEcc component. More...

#include <mcuxClCore_Examples.h>
#include <mcuxClSession.h>
#include <mcuxClBuffer.h>
#include <mcuxCsslFlowProtection.h>
#include <mcuxClCore_FunctionIdentifiers.h>
#include <mcuxClExample_Session_Helper.h>
#include <mcuxClEcc.h>

Macros

#define MAX_CPUWA_SIZE
#define MAX_PKCWA_SIZE

Functions

 MCUXCLEXAMPLE_FUNCTION (mcuxClEcc_ArithmeticOperation_PointAdd_NIST_P224_example)
 Performs an example point addition of two points on NIST_P224.

Variables

static const uint8_t pPointP1 [MCUXCLECC_WEIERECC_NIST_P224_SIZE_PRIMEP *2u]
static const uint8_t pPointP2 [MCUXCLECC_WEIERECC_NIST_P224_SIZE_PRIMEP *2u]
static const uint8_t pRefResult [MCUXCLECC_WEIERECC_NIST_P224_SIZE_PRIMEP *2u]

Detailed Description

Example for the mcuxClEcc component.

Function Documentation

◆ MCUXCLEXAMPLE_FUNCTION()

MCUXCLEXAMPLE_FUNCTION ( mcuxClEcc_ArithmeticOperation_PointAdd_NIST_P224_example )

Performs an example point addition of two points on NIST_P224.

Return values
MCUXCLEXAMPLE_STATUS_OKThe example code completed successfully
MCUXCLEXAMPLE_STATUS_ERRORThe example code failed