Parameter structure for function mcuxClEcc_KeyGen. More...
#include <mcuxClEcc_Types.h>
Data Fields | |
mcuxClEcc_DomainParam_t | curveParam |
[in] structure of pointers to curve parameters and length of parameters. More... | |
uint8_t * | pPrivateKey |
[out] pointer to memory area, where the private key will be exported if KeyGen is executed successfully. More... | |
uint8_t * | pPublicKey |
[out] pointer to memory area, where the public key will be exported if KeyGen is executed successfully. More... | |
uint32_t | optLen |
[in] packed options (reserved): bits 0~31: reserved. More... | |
Parameter structure for function mcuxClEcc_KeyGen.
mcuxClEcc_DomainParam_t mcuxClEcc_KeyGen_Param_t::curveParam |
[in] structure of pointers to curve parameters and length of parameters.
uint8_t* mcuxClEcc_KeyGen_Param_t::pPrivateKey |
[out] pointer to memory area, where the private key will be exported if KeyGen is executed successfully.
It will be stored as a Big-endian octet string of the exact length curveParam.byteLenN.
uint8_t* mcuxClEcc_KeyGen_Param_t::pPublicKey |
[out] pointer to memory area, where the public key will be exported if KeyGen is executed successfully.
It will be stored in the same format as the base point G.
uint32_t mcuxClEcc_KeyGen_Param_t::optLen |
[in] packed options (reserved): bits 0~31: reserved.
CAUTION always set optLen = 0.