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... | |

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 300 of file gnunet_crypto_lib.h.

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 306 of file gnunet_crypto_lib.h.

Referenced by GNUNET_CRYPTO_edx25519_key_get_public(), and GNUNET_CRYPTO_edx25519_private_key_derive().

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 312 of file gnunet_crypto_lib.h.

Referenced by GNUNET_CRYPTO_edx25519_private_key_derive().

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

- src/include/gnunet_crypto_lib.h