diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-07-09 07:40:34 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-07-09 07:40:34 +0000 |
commit | 72c8645af31896829b674b575c5375706f362a30 (patch) | |
tree | 2e4f8bb5fbab55cbeb476feb95bb88bba1a7fa38 /src/include/gnunet_crypto_lib.h | |
parent | 7c7b5d67e64f7d47aedcb6a7af2ccf513cc2113a (diff) | |
download | gnunet-72c8645af31896829b674b575c5375706f362a30.tar.gz gnunet-72c8645af31896829b674b575c5375706f362a30.zip |
-remove async ecc key generation, not needed
Diffstat (limited to 'src/include/gnunet_crypto_lib.h')
-rw-r--r-- | src/include/gnunet_crypto_lib.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/include/gnunet_crypto_lib.h b/src/include/gnunet_crypto_lib.h index 8592f0da5..3df6c4a30 100644 --- a/src/include/gnunet_crypto_lib.h +++ b/src/include/gnunet_crypto_lib.h | |||
@@ -1288,12 +1288,6 @@ GNUNET_CRYPTO_ecc_key_create_from_configuration (const struct GNUNET_CONFIGURATI | |||
1288 | 1288 | ||
1289 | 1289 | ||
1290 | /** | 1290 | /** |
1291 | * Handle to cancel private key generation and state for the | ||
1292 | * key generation operation. | ||
1293 | */ | ||
1294 | struct GNUNET_CRYPTO_EccKeyGenerationContext; | ||
1295 | |||
1296 | /** | ||
1297 | * Create a new private key. Caller must free return value. Blocking version | 1291 | * Create a new private key. Caller must free return value. Blocking version |
1298 | * (blocks to gather entropy). | 1292 | * (blocks to gather entropy). |
1299 | * | 1293 | * |
@@ -1304,31 +1298,6 @@ GNUNET_CRYPTO_ecc_key_create (void); | |||
1304 | 1298 | ||
1305 | 1299 | ||
1306 | /** | 1300 | /** |
1307 | * Create a new private key by reading it from a file. If the files | ||
1308 | * does not exist, create a new key and write it to the file. If the | ||
1309 | * contents of the file are invalid the old file is deleted and a | ||
1310 | * fresh key is created. | ||
1311 | * | ||
1312 | * @param filename name of file to use for storage | ||
1313 | * @param cont function to call when done (or on errors) | ||
1314 | * @param cont_cls closure for 'cont' | ||
1315 | * @return handle to abort operation, NULL on fatal errors (cont will not be called if NULL is returned) | ||
1316 | */ | ||
1317 | struct GNUNET_CRYPTO_EccKeyGenerationContext * | ||
1318 | GNUNET_CRYPTO_ecc_key_create_start (const char *filename, | ||
1319 | GNUNET_CRYPTO_EccKeyCallback cont, | ||
1320 | void *cont_cls); | ||
1321 | |||
1322 | |||
1323 | /** | ||
1324 | * Abort ECC key generation. | ||
1325 | * | ||
1326 | * @param gc key generation context to abort | ||
1327 | */ | ||
1328 | void | ||
1329 | GNUNET_CRYPTO_ecc_key_create_stop (struct GNUNET_CRYPTO_EccKeyGenerationContext *gc); | ||
1330 | |||
1331 | /** | ||
1332 | * Setup a hostkey file for a peer given the name of the | 1301 | * Setup a hostkey file for a peer given the name of the |
1333 | * configuration file (!). This function is used so that | 1302 | * configuration file (!). This function is used so that |
1334 | * at a later point code can be certain that reading a | 1303 | * at a later point code can be certain that reading a |