Data Fields
EDDSA_OperationSign Struct Reference

Struct containing the parameters required for generating an EdDSA digital signature. More...

#include <EDDSA.h>

Collaboration diagram for EDDSA_OperationSign:
Collaboration graph
[legend]

Data Fields

const ECCParams_CurveParamscurve
 
const CryptoKeymyPrivateKey
 
const CryptoKeymyPublicKey
 
const uint8_t * preHashedMessage
 
size_t preHashedMessageLength
 
uint8_t * R
 
uint8_t * S
 

Detailed Description

Struct containing the parameters required for generating an EdDSA digital signature.

Field Documentation

§ curve

const ECCParams_CurveParams* EDDSA_OperationSign::curve

A pointer to the elliptic curve parameters

§ myPrivateKey

const CryptoKey* EDDSA_OperationSign::myPrivateKey

A pointer to the randomly generated private key "k" in little endian. Must be 32 bytes for Ed25519.

§ myPublicKey

const CryptoKey* EDDSA_OperationSign::myPublicKey

A pointer public EdDSA key A = s*B in compressed public key format. Must be 32 bytes for Ed25519.

§ preHashedMessage

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.

§ preHashedMessageLength

size_t EDDSA_OperationSign::preHashedMessageLength

Length of the message buffer in bytes.

§ R

uint8_t* EDDSA_OperationSign::R

Signature component R = r*B in little endian. Must be 32 bytes for Ed25519.

§ S

uint8_t* EDDSA_OperationSign::S

Signature component S = r + x*s mod n in little endian. Must be 32 bytes for Ed25519.


The documentation for this struct was generated from the following file:
© Copyright 1995-2021, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale