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

Example for secp256r1 key agreement. More...

#include "common.h"
#include <mcuxClEls.h>
#include <mcuxClSession.h>
#include <mcuxClKey.h>
#include <mcuxCsslFlowProtection.h>
#include <mcuxClToolchain.h>
#include <stdbool.h>
#include <mcuxClPsaDriver.h>
#include <psa_crypto_driver_wrappers.h>
#include <mcuxClCore_Examples.h>

Macros

#define LIFETIME_INTERNAL
 
#define LIFETIME_EXTERNAL
 
#define PSA_SECP_R1_CURVE_BITS
 
#define PSA_SECP_R1_PRIVATE_KEY_SIZE
 
#define PSA_SECP_R1_PUBLIC_KEY_SIZE
 
#define PSA_SECP_R1_RAW_KEY_AGREEMENT_OUTPUT_SIZE
 

Functions

static const uint8_t pAlicePrivKeyData[PSA_SECP_R1_PRIVATE_KEY_SIZE] __attribute__ ((aligned(4)))
 
 MCUXCLEXAMPLE_FUNCTION (mcuxClPsaDriver_key_agreement_SECP_R1_example)
 

Detailed Description

Example for secp256r1 key agreement.