MCUX CLNS
MCUX Crypto Library Normal Secure
Loading...
Searching...
No Matches
McuxClEcc_EdDsaDescriptors

mcuxClEcc definitions of EdDSA variant descriptors More...

Variables

const mcuxClSignature_ModeDescriptor_t mcuxClSignature_ModeDescriptor_Ed25519
 Ed25519 Signature mode descriptor.
static mcuxClSignature_Mode_t mcuxClSignature_Mode_Ed25519
 Ed25519 Signature mode.

Detailed Description

mcuxClEcc definitions of EdDSA variant descriptors

Variable Documentation

◆ mcuxClSignature_ModeDescriptor_Ed25519

const mcuxClSignature_ModeDescriptor_t mcuxClSignature_ModeDescriptor_Ed25519
extern

Ed25519 Signature mode descriptor.

◆ mcuxClSignature_Mode_Ed25519

mcuxClSignature_Mode_t mcuxClSignature_Mode_Ed25519
static

Ed25519 Signature mode.

This mode shall be used to realize Ed25519 as described in RFC 8032 (https://www.rfc-editor.org/rfc/rfc8032). In particular

  • the size of the input message can be arbitrary
  • the dom2(f,c) hash prefix is the empty string as specified in Section 5.1 of RFC 8032

NOTE: To be able to perform an Ed25519 signature generation using this mode, the private key handle must be properly linked to a key handle for the associated public key using the function mcuxClKey_linkKeyPair. This is necessary to make the public key accessible during an Ed25519 signature generation. If this is not satisfied the Ed25519 signature generation will fail. If the key pair has been generated using the mcuxClKey_generate_keypair function, this linking step is already performed by mcuxClKey_generate_keypair.

Examples
mcuxClEcc_EdDSA_Ed25519_example.c, and mcuxClEcc_EdDSA_GenerateSignature_Ed25519_example.c.