MCUX CLNS
MCUX Crypto Library Normal Secure
mcuxClEcc_Verify_Param_t Struct Reference

Parameter structure for function mcuxClEcc_Verify. More...

#include <mcuxClEcc_Types.h>

Data Fields

mcuxClEcc_DomainParam_t curveParam
 [in] structure of pointers to curve parameters and length of parameters. More...
 
const uint8_t * pPrecG
 [in] pointer to octet string of pre-computed point of base point G, which is of the same format as base point G. More...
 
const uint8_t * pHash
 [in] pointer to string of message digest (hash), of which the length is byteLenHash (in optLen). More...
 
const uint8_t * pSignature
 [in] pointer to octet string of signature R and S. More...
 
const uint8_t * pPublicKey
 [in] pointer to octet string of public key, which is of the same format as base point G. More...
 
uint8_t * pOutputR
 [out] pointer to memory area in which signature R calculated by verify function will be exported if signature is valid. More...
 
uint32_t optLen
 [in] packed options (reserved) and lengths: bits 0~7: byteLenHash: length of the string of message digest; bits 8~31: reserved. More...
 

Detailed Description

Parameter structure for function mcuxClEcc_Verify.

Field Documentation

◆ curveParam

mcuxClEcc_DomainParam_t mcuxClEcc_Verify_Param_t::curveParam

[in] structure of pointers to curve parameters and length of parameters.

◆ pPrecG

const uint8_t* mcuxClEcc_Verify_Param_t::pPrecG

[in] pointer to octet string of pre-computed point of base point G, which is of the same format as base point G.

It is calculated as (2 ^ (nByteLength * 4)) * G.

◆ pHash

const uint8_t* mcuxClEcc_Verify_Param_t::pHash

[in] pointer to string of message digest (hash), of which the length is byteLenHash (in optLen).

◆ pSignature

const uint8_t* mcuxClEcc_Verify_Param_t::pSignature

[in] pointer to octet string of signature R and S.

Each of R and S is a Big-endian octet string of the exact length curveParam.byteLenN. The string of R is followed by the string of S.

◆ pPublicKey

const uint8_t* mcuxClEcc_Verify_Param_t::pPublicKey

[in] pointer to octet string of public key, which is of the same format as base point G.

◆ pOutputR

uint8_t* mcuxClEcc_Verify_Param_t::pOutputR

[out] pointer to memory area in which signature R calculated by verify function will be exported if signature is valid.

It will be stored as a Big-endian octet string of the exact length curveParam.byteLenN.

◆ optLen

uint32_t mcuxClEcc_Verify_Param_t::optLen

[in] packed options (reserved) and lengths: bits 0~7: byteLenHash: length of the string of message digest; bits 8~31: reserved.