aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_crypto_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_crypto_lib.h')
-rw-r--r--src/include/gnunet_crypto_lib.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/include/gnunet_crypto_lib.h b/src/include/gnunet_crypto_lib.h
index a334b50d0..ae73c9d40 100644
--- a/src/include/gnunet_crypto_lib.h
+++ b/src/include/gnunet_crypto_lib.h
@@ -1985,6 +1985,18 @@ GNUNET_CRYPTO_eddsa_sign_with_scalar (
1985 1985
1986 1986
1987/** 1987/**
1988 * Extract the public key of the given private scalar.
1989 *
1990 * @param s the private scalar
1991 * @param pkey the resulting public key
1992 */
1993void
1994GNUNET_CRYPTO_eddsa_key_get_public_from_scalar (
1995 const struct GNUNET_CRYPTO_EddsaPrivateScalar *s,
1996 struct GNUNET_CRYPTO_EddsaPublicKey *pkey);
1997
1998
1999/**
1988 * Output the given MPI value to the given buffer in network 2000 * Output the given MPI value to the given buffer in network
1989 * byte order. The MPI @a val may not be negative. 2001 * byte order. The MPI @a val may not be negative.
1990 * 2002 *