diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-02-05 20:49:21 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-02-05 20:49:21 +0000 |
commit | ca35f67faee8371fa763bdf49f04a8d5d4cdc021 (patch) | |
tree | 5535df5e5a2428ed838c6a0e60b2c6c68a7842c5 /src/core/gnunet-service-core_kx.h | |
parent | dd7cca21c5dbaef4d56f92bab3932f0f73d092d1 (diff) | |
download | gnunet-ca35f67faee8371fa763bdf49f04a8d5d4cdc021.tar.gz gnunet-ca35f67faee8371fa763bdf49f04a8d5d4cdc021.zip |
switching to ECDHE cryptography f, implementation is incomplete and INSECURE, do not use for anything but testing
Diffstat (limited to 'src/core/gnunet-service-core_kx.h')
-rw-r--r-- | src/core/gnunet-service-core_kx.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/gnunet-service-core_kx.h b/src/core/gnunet-service-core_kx.h index fcb561e01..6e6d30d8d 100644 --- a/src/core/gnunet-service-core_kx.h +++ b/src/core/gnunet-service-core_kx.h | |||
@@ -37,15 +37,15 @@ struct GSC_KeyExchangeInfo; | |||
37 | 37 | ||
38 | 38 | ||
39 | /** | 39 | /** |
40 | * We received a SET_KEY message. Validate and update | 40 | * We received a EPHEMERAL_KEY message. Validate and update |
41 | * our key material and status. | 41 | * our key material and status. |
42 | * | 42 | * |
43 | * @param kx key exchange status for the corresponding peer | 43 | * @param kx key exchange status for the corresponding peer |
44 | * @param msg the set key message we received | 44 | * @param msg the set key message we received |
45 | */ | 45 | */ |
46 | void | 46 | void |
47 | GSC_KX_handle_set_key (struct GSC_KeyExchangeInfo *kx, | 47 | GSC_KX_handle_ephemeral_key (struct GSC_KeyExchangeInfo *kx, |
48 | const struct GNUNET_MessageHeader *msg); | 48 | const struct GNUNET_MessageHeader *msg); |
49 | 49 | ||
50 | 50 | ||
51 | /** | 51 | /** |
@@ -125,7 +125,7 @@ GSC_KX_stop (struct GSC_KeyExchangeInfo *kx); | |||
125 | * @return GNUNET_OK on success, GNUNET_SYSERR on failure | 125 | * @return GNUNET_OK on success, GNUNET_SYSERR on failure |
126 | */ | 126 | */ |
127 | int | 127 | int |
128 | GSC_KX_init (struct GNUNET_CRYPTO_RsaPrivateKey *pk); | 128 | GSC_KX_init (struct GNUNET_CRYPTO_EccPrivateKey *pk); |
129 | 129 | ||
130 | 130 | ||
131 | /** | 131 | /** |