Parameter structure for function mcuxClEcc_Sign. More...
#include <mcuxClEcc_Types.h>
Data Fields | |
mcuxClEcc_DomainParam_t | curveParam |
[in] structure of InputBuffers for curve parameters and length of parameters. | |
mcuxCl_InputBuffer_t | pHash |
[in] InputBuffer for string of message digest (hash), of which the length is byteLenHash (in optLen). | |
const uint8_t * | pPrivateKey |
[in] pointer to octet string of private key, which is of the same format as base point order n. | |
mcuxCl_Buffer_t | pSignature |
[out] Buffer for memory area in which signature R and S will be exported if signature is generated successfully. | |
uint32_t | optLen |
[in] packed options (reserved) and lengths: bits 0~7: byteLenHash: length of the string of message digest; bits 8~31: reserved. | |
const mcuxClEcc_ECDSA_SignatureProtocolDescriptor_t * | pMode |
[in] pointer to ECDSA protocol descriptor. | |
Parameter structure for function mcuxClEcc_Sign.
mcuxClEcc_DomainParam_t mcuxClEcc_Sign_Param_t::curveParam |
[in] structure of InputBuffers for curve parameters and length of parameters.
mcuxCl_InputBuffer_t mcuxClEcc_Sign_Param_t::pHash |
[in] InputBuffer for 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.
mcuxCl_Buffer_t mcuxClEcc_Sign_Param_t::pSignature |
[out] Buffer for 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.
const mcuxClEcc_ECDSA_SignatureProtocolDescriptor_t* mcuxClEcc_Sign_Param_t::pMode |
[in] pointer to ECDSA protocol descriptor.