CRYPTO_FROM_ED25519_PRIVATE(3MONOCYPHER) 3MONOCYPHER CRYPTO_FROM_ED25519_PRIVATE(3MONOCYPHER)

NAME

crypto_from_ed25519_private, crypto_from_ed25519_publicconversion of key pairs for EdDSA with BLAKE2b to X25519 key pairs

SYNOPSIS

#include <monocypher-ed25519.h>
void
crypto_from_ed25519_private(uint8_t x25519[32], const uint8_t eddsa[32]);
void
crypto_from_ed25519_public(uint8_t x25519[32], const uint8_t eddsa[32]);

DESCRIPTION

These functions work like crypto_from_eddsa_private(3monocypher) and crypto_from_eddsa_public(3monocypher), except that they operate on Ed25519 key pairs rather than key pairs for EdDSA with BLAKE2b. Please see the documentation for those functions for details.

IMPLEMENTATION DETAILS

crypto_from_ed25519_public() is actually implemented as a macro that aliases to crypto_from_eddsa_public(3monocypher).

HISTORY

The crypto_from_ed25519_private() and crypto_from_ed25519_public() functions first appeared in Monocypher 3.1.0.
May 24, 2020 Linux 4.15.0-106-generic