diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/gnunet_crypto_lib.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/gnunet_crypto_lib.h b/src/include/gnunet_crypto_lib.h index 08f848b1c..8bb851ff1 100644 --- a/src/include/gnunet_crypto_lib.h +++ b/src/include/gnunet_crypto_lib.h | |||
@@ -446,14 +446,14 @@ GNUNET_CRYPTO_symmetric_create_session_key (struct GNUNET_CRYPTO_SymmetricSessio | |||
446 | * Encrypt a block using a symmetric sessionkey. | 446 | * Encrypt a block using a symmetric sessionkey. |
447 | * | 447 | * |
448 | * @param block the block to encrypt | 448 | * @param block the block to encrypt |
449 | * @param len the size of the block | 449 | * @param size the size of the @a block |
450 | * @param sessionkey the key used to encrypt | 450 | * @param sessionkey the key used to encrypt |
451 | * @param iv the initialization vector to use, use INITVALUE | 451 | * @param iv the initialization vector to use, use INITVALUE |
452 | * for streams. | 452 | * for streams. |
453 | * @return the size of the encrypted block, -1 for errors | 453 | * @return the size of the encrypted block, -1 for errors |
454 | */ | 454 | */ |
455 | ssize_t | 455 | ssize_t |
456 | GNUNET_CRYPTO_symmetric_encrypt (const void *block, size_t len, | 456 | GNUNET_CRYPTO_symmetric_encrypt (const void *block, size_t size, |
457 | const struct GNUNET_CRYPTO_SymmetricSessionKey *sessionkey, | 457 | const struct GNUNET_CRYPTO_SymmetricSessionKey *sessionkey, |
458 | const struct GNUNET_CRYPTO_SymmetricInitializationVector *iv, | 458 | const struct GNUNET_CRYPTO_SymmetricInitializationVector *iv, |
459 | void *result); | 459 | void *result); |