diff options
Diffstat (limited to 'src/include/gnunet_crypto_lib.h')
-rw-r--r-- | src/include/gnunet_crypto_lib.h | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/src/include/gnunet_crypto_lib.h b/src/include/gnunet_crypto_lib.h index 6120b48d8..fb299267b 100644 --- a/src/include/gnunet_crypto_lib.h +++ b/src/include/gnunet_crypto_lib.h | |||
@@ -323,10 +323,6 @@ struct GNUNET_CRYPTO_AesSessionKey | |||
323 | */ | 323 | */ |
324 | unsigned char key[GNUNET_CRYPTO_AES_KEY_LENGTH]; | 324 | unsigned char key[GNUNET_CRYPTO_AES_KEY_LENGTH]; |
325 | 325 | ||
326 | /** | ||
327 | * checksum! | ||
328 | */ | ||
329 | uint32_t crc32 GNUNET_PACKED; | ||
330 | }; | 326 | }; |
331 | GNUNET_NETWORK_STRUCT_END | 327 | GNUNET_NETWORK_STRUCT_END |
332 | 328 | ||
@@ -451,17 +447,6 @@ GNUNET_CRYPTO_aes_create_session_key (struct GNUNET_CRYPTO_AesSessionKey *key); | |||
451 | 447 | ||
452 | 448 | ||
453 | /** | 449 | /** |
454 | * Check that a new session key is well-formed. | ||
455 | * | ||
456 | * @param key key to check | ||
457 | * @return GNUNET_OK if the key is valid | ||
458 | */ | ||
459 | int | ||
460 | GNUNET_CRYPTO_aes_check_session_key (const struct GNUNET_CRYPTO_AesSessionKey | ||
461 | *key); | ||
462 | |||
463 | |||
464 | /** | ||
465 | * Encrypt a block with the public key of another | 450 | * Encrypt a block with the public key of another |
466 | * host that uses the same cyper. | 451 | * host that uses the same cyper. |
467 | * | 452 | * |
@@ -1199,7 +1184,7 @@ GNUNET_CRYPTO_ecc_key_get_public (const struct GNUNET_CRYPTO_EccPrivateKey *priv | |||
1199 | * @return string representing 'pub' | 1184 | * @return string representing 'pub' |
1200 | */ | 1185 | */ |
1201 | char * | 1186 | char * |
1202 | GNUNET_CRYPTO_ecc_public_key_to_string (struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded *pub); | 1187 | GNUNET_CRYPTO_ecc_public_key_to_string (const struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded *pub); |
1203 | 1188 | ||
1204 | 1189 | ||
1205 | /** | 1190 | /** |