diff options
author | Martin Schanzenbach <mschanzenbach@posteo.de> | 2021-05-03 18:49:17 +0200 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2021-05-03 18:49:17 +0200 |
commit | d552acf5e7114f92d8251276ef76827a9db92257 (patch) | |
tree | 4b5ed54763b6acbd8292d52ef9fda9a789c56ec8 /src/include | |
parent | 5bb2578678064ff4d537fcbc8d9a552a6779892d (diff) | |
download | gnunet-d552acf5e7114f92d8251276ef76827a9db92257.tar.gz gnunet-d552acf5e7114f92d8251276ef76827a9db92257.zip |
-add more tests for eddsa and gnsrecord
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/gnunet_crypto_lib.h | 12 |
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 | */ | ||
1993 | void | ||
1994 | GNUNET_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 | * |