Parameter structure for function mcuxClEcc_Sign. 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 * | pHash |
[in] pointer to string of message digest (hash), of which the length is byteLenHash (in optLen). More... | |
const uint8_t * | pPrivateKey |
[in] pointer to octet string of private key, which is of the same format as base point order n. More... | |
uint8_t * | pSignature |
[out] pointer to memory area in which signature R and S will be exported if signature is generated successfully. 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... | |
Parameter structure for function mcuxClEcc_Sign.
mcuxClEcc_DomainParam_t mcuxClEcc_Sign_Param_t::curveParam |
[in] structure of pointers to curve parameters and length of parameters.
const uint8_t* mcuxClEcc_Sign_Param_t::pHash |
[in] pointer to string of message digest (hash), of which the length is byteLenHash (in optLen).
const uint8_t* mcuxClEcc_Sign_Param_t::pPrivateKey |
[in] pointer to octet string of private key, which is of the same format as base point order n.
uint8_t* mcuxClEcc_Sign_Param_t::pSignature |
[out] pointer to memory area in which signature R and S will be exported if signature is generated successfully.
They will be stored as Big-endian octet strings of the exact length curveParam.byteLenN. The string of R is followed by the string of S.
uint32_t mcuxClEcc_Sign_Param_t::optLen |
[in] packed options (reserved) and lengths: bits 0~7: byteLenHash: length of the string of message digest; bits 8~31: reserved.