Struct containing the parameters required for generating an EdDSA digital signature. More...
#include <EDDSA.h>
Data Fields | |
const ECCParams_CurveParams * | curve |
const CryptoKey * | myPrivateKey |
const CryptoKey * | myPublicKey |
const uint8_t * | preHashedMessage |
size_t | preHashedMessageLength |
uint8_t * | R |
uint8_t * | S |
Struct containing the parameters required for generating an EdDSA digital signature.
const ECCParams_CurveParams* EDDSA_OperationSign::curve |
A pointer to the elliptic curve parameters
const CryptoKey* EDDSA_OperationSign::myPrivateKey |
A pointer to the randomly generated private key "k" in little endian. Must be 32 bytes for Ed25519.
const CryptoKey* EDDSA_OperationSign::myPublicKey |
A pointer public EdDSA key A = s*B in compressed public key format. Must be 32 bytes for Ed25519.
const uint8_t* EDDSA_OperationSign::preHashedMessage |
A pointer to the (prehashed) message in little endian. In the PureEdDSA scheme, the prehash function is the identity, PH(M) = M.
size_t EDDSA_OperationSign::preHashedMessageLength |
Length of the message buffer in bytes.
uint8_t* EDDSA_OperationSign::R |
Signature component R = r*B in little endian. Must be 32 bytes for Ed25519.
uint8_t* EDDSA_OperationSign::S |
Signature component S = r + x*s mod n in little endian. Must be 32 bytes for Ed25519.