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