diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-08-06 14:18:31 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-08-06 14:18:31 +0000 |
commit | fe76c075e315c0351e2fe465434ae39087daf014 (patch) | |
tree | 436887ccaf331932a3c13a8b9d2a2a710dad4be6 /src/include/gnunet_testing_lib.h | |
parent | 7eb2835d8a494c83aedb720a2ac6f6e5ba23f22f (diff) | |
download | gnunet-fe76c075e315c0351e2fe465434ae39087daf014.tar.gz gnunet-fe76c075e315c0351e2fe465434ae39087daf014.zip |
moving to new, fixed-size encoding of public and private ECC keys everywhere, also improving ECC API to better support ECRS/GADS operations
Diffstat (limited to 'src/include/gnunet_testing_lib.h')
-rw-r--r-- | src/include/gnunet_testing_lib.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/include/gnunet_testing_lib.h b/src/include/gnunet_testing_lib.h index 6bb92e05d..3b6fabb6e 100644 --- a/src/include/gnunet_testing_lib.h +++ b/src/include/gnunet_testing_lib.h | |||
@@ -46,12 +46,9 @@ extern "C" | |||
46 | #endif | 46 | #endif |
47 | 47 | ||
48 | /** | 48 | /** |
49 | * Size of each hostkey in the hostkey file (in BYTES). This is the | 49 | * Size of each hostkey in the hostkey file (in BYTES). |
50 | * maximum length of the S-expressions generated by libgcrypt for the | ||
51 | * curves (rounded up to the next full KB to make IO nicer); it is NOT | ||
52 | * the number of bits in the key. | ||
53 | */ | 50 | */ |
54 | #define GNUNET_TESTING_HOSTKEYFILESIZE 1024 | 51 | #define GNUNET_TESTING_HOSTKEYFILESIZE sizeof (struct GNUNET_CRYPTO_EccPrivateKey) |
55 | 52 | ||
56 | /** | 53 | /** |
57 | * Handle for a system on which GNUnet peers are executed; | 54 | * Handle for a system on which GNUnet peers are executed; |