Struct containing the parameters required for signing a message. More...
#include <ECDSA.h>
Data Fields | |
ECDSA_CurveType | curveType |
const ECCParams_CurveParams * | curve |
const CryptoKey * | myPrivateKey |
const uint8_t * | hash |
uint8_t * | r |
uint8_t * | s |
Struct containing the parameters required for signing a message.
ECDSA_CurveType ECDSA_OperationSign::curveType |
An ECDSA_CurveType value indicating which EC curve to use for the operation
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 uint8_t* ECDSA_OperationSign::hash |
A pointer to the hash of the message in octet string format. 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. Formatted in octet string format. 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.