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 6e37266a2..63d3ee418 100644
--- a/src/include/gnunet_crypto_lib.h
+++ b/src/include/gnunet_crypto_lib.h
@@ -764,6 +764,18 @@ GNUNET_CRYPTO_rsa_key_create_from_file (const char *filename);
764 764
765 765
766/** 766/**
767 * Setup a hostkey file for a peer given the name of the
768 * configuration file (!). This function is used so that
769 * at a later point code can be certain that reading a
770 * hostkey is fast (for example in time-dependent testcases).
771 *
772 * @param cfg_name name of the configuration file to use
773 */
774void
775GNUNET_CRYPTO_setup_hostkey (const char *cfg_name);
776
777
778/**
767 * Deterministically (!) create a private key using only the 779 * Deterministically (!) create a private key using only the
768 * given HashCode as input to the PRNG. 780 * given HashCode as input to the PRNG.
769 * 781 *