Functions
ECCParamsCC26X4_s.h File Reference
#include <ti/drivers/cryptoutils/ecc/ECCParams.h>
Include dependency graph for ECCParamsCC26X4_s.h:

Go to the source code of this file.

Functions

const ECCParams_CurveParamsECCParams_s_getCurveParams (const ECCParams_CurveParams *curveParams)
 Returns a pointer to curve params stored in secure memory. More...
 
int_fast16_t ECCParams_s_getUncompressedGeneratorPoint (const ECCParams_CurveParams *curveParams, uint8_t *buffer, size_t length)
 Veneer to extract the curve generator point from an ecliptic curve description. More...
 

Function Documentation

§ ECCParams_s_getCurveParams()

const ECCParams_CurveParams* ECCParams_s_getCurveParams ( const ECCParams_CurveParams curveParams)

Returns a pointer to curve params stored in secure memory.

Parameters
curveParamsPoints to curve param struct provided by non-secure code which references a curve by its name.
Returns
Pointer to the curve params stored in secure memory.

§ ECCParams_s_getUncompressedGeneratorPoint()

int_fast16_t ECCParams_s_getUncompressedGeneratorPoint ( const ECCParams_CurveParams curveParams,
uint8_t *  buffer,
size_t  length 
)

Veneer to extract the curve generator point from an ecliptic curve description.

Note
See ECCParams_s_getUncompressedGeneratorPoint() in ECCParam.h for full description, parameters, and return values. PSA_ERROR_PROGRAMMER_ERROR is an additional return value.
Return values
PSA_ERROR_PROGRAMMER_ERRORif any args point to secure addresses.
© Copyright 1995-2023, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale