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, 10 insertions, 2 deletions
diff --git a/src/include/gnunet_crypto_lib.h b/src/include/gnunet_crypto_lib.h
index 5f209efea..52bb983b0 100644
--- a/src/include/gnunet_crypto_lib.h
+++ b/src/include/gnunet_crypto_lib.h
@@ -884,8 +884,7 @@ GNUNET_CRYPTO_ecc_key_create_from_configuration (const struct GNUNET_CONFIGURATI
884 884
885 885
886/** 886/**
887 * Create a new private key. Caller must free return value. Blocking version 887 * Create a new private key. Caller must free return value.
888 * (blocks to gather entropy).
889 * 888 *
890 * @return fresh private key 889 * @return fresh private key
891 */ 890 */
@@ -894,6 +893,15 @@ GNUNET_CRYPTO_ecc_key_create (void);
894 893
895 894
896/** 895/**
896 * Get the shared private key we use for anonymous users.
897 *
898 * @return "anonymous" private key
899 */
900const struct GNUNET_CRYPTO_EccPrivateKey *
901GNUNET_CRYPTO_ecc_key_get_anonymous (void);
902
903
904/**
897 * Setup a hostkey file for a peer given the name of the 905 * Setup a hostkey file for a peer given the name of the
898 * configuration file (!). This function is used so that 906 * configuration file (!). This function is used so that
899 * at a later point code can be certain that reading a 907 * at a later point code can be certain that reading a