Struct containing the parameters required for signing a message. More...
#include <ECDSA.h>
Data Fields | |
const ECCParams_CurveParams * | curve |
const CryptoKey * | myPrivateKey |
const CryptoKey * | pmsn |
const uint8_t * | hash |
uint8_t * | r |
uint8_t * | s |
Struct containing the parameters required for signing a message.
const ECCParams_CurveParams* ECDSA_OperationSign::curve |
A pointer to the elliptic curve parameters
const CryptoKey* ECDSA_OperationSign::myPrivateKey |
A pointer to the private ECC key that will sign the hash of the message
const CryptoKey* ECDSA_OperationSign::pmsn |
A pointer to a per message secret number (PMSN). The number must be provided by the application and be (0 < PMSN < curve order). Must be of the same length as other params of the curve used.
const uint8_t* ECDSA_OperationSign::hash |
A pointer to the hash of the message. Must be the same length as the other curve parameters.
uint8_t* ECDSA_OperationSign::r |
A pointer to the buffer the r component of the signature will be written to. Must be of the same length as other params of the curve used.
uint8_t* ECDSA_OperationSign::s |
A pointer to the buffer the s component of the signature will be written to. Must be of the same length as other params of the curve used.