GNUnet 0.22.2
GNUNET_CRYPTO_Edx25519PrivateKey Struct Reference

Private ECC key material encoded for transmission. More...

#include <gnunet_crypto_lib.h>

Data Fields

unsigned char a [256/8]
 a is a value mod n, where n has at most 256 bits. More...
 
unsigned char b [256/8]
 b consists of 32 bytes which where originally the lower 32bytes of the key expansion. More...
 

Detailed Description

Private ECC key material encoded for transmission.

To be used only for Edx25519 signatures. An initial key corresponds to data from the key expansion and clamping in the EdDSA key generation.

Definition at line 303 of file gnunet_crypto_lib.h.

Field Documentation

◆ a

unsigned char GNUNET_CRYPTO_Edx25519PrivateKey::a[256/8]

a is a value mod n, where n has at most 256 bits.

It is the first half of the seed-expansion of EdDSA and will be clamped.

Definition at line 309 of file gnunet_crypto_lib.h.

Referenced by GNUNET_CRYPTO_edx25519_key_get_public(), GNUNET_CRYPTO_edx25519_private_key_derive(), and GNUNET_CRYPTO_edx25519_sign_().

◆ b

unsigned char GNUNET_CRYPTO_Edx25519PrivateKey::b[256/8]

b consists of 32 bytes which where originally the lower 32bytes of the key expansion.

Subsequent calls to derive_private will change this value, too.

Definition at line 315 of file gnunet_crypto_lib.h.

Referenced by GNUNET_CRYPTO_edx25519_private_key_derive(), and GNUNET_CRYPTO_edx25519_sign_().


The documentation for this struct was generated from the following file: