From c0983aabe493d89551e03aef88b6c212ff7e3c9e Mon Sep 17 00:00:00 2001 From: Paul Bakker Date: Sun, 17 May 2009 10:30:00 +0000 Subject: [PATCH] - Integrated comments for CBC mode into 0.11 branch --- ChangeLog | 4 ++++ include/polarssl/aes.h | 4 +++- include/polarssl/camellia.h | 2 ++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c904040fa..9a1a52d86 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ PolarSSL ChangeLog += Version 0.11.1 released on 2009-05-17 + * Fixed missing functionality for SHA-224, SHA-256, SHA384, + SHA-512 in rsa_pkcs1_sign() + = Version 0.11.0 released on 2009-05-03 * Fixed a bug in mpi_gcd() so that it also works when both input numbers are even and added testcases to check diff --git a/include/polarssl/aes.h b/include/polarssl/aes.h index 83fe8f2f6..dc971c19e 100644 --- a/include/polarssl/aes.h +++ b/include/polarssl/aes.h @@ -73,6 +73,8 @@ void aes_crypt_ecb( aes_context *ctx, /** * \brief AES-CBC buffer encryption/decryption + * Length should be a multiple of the block + * size (16 bytes) * * \param ctx AES context * \param mode AES_ENCRYPT or AES_DECRYPT @@ -89,7 +91,7 @@ void aes_crypt_cbc( aes_context *ctx, unsigned char *output ); /** - * \brief AES-CFB128 buffer encryption/decryption + * \brief AES-CFB128 buffer encryption/decryption. * * \param ctx AES context * \param mode AES_ENCRYPT or AES_DECRYPT diff --git a/include/polarssl/camellia.h b/include/polarssl/camellia.h index 1b144e790..9bf5e91f5 100644 --- a/include/polarssl/camellia.h +++ b/include/polarssl/camellia.h @@ -72,6 +72,8 @@ void camellia_crypt_ecb( camellia_context *ctx, /** * \brief CAMELLIA-CBC buffer encryption/decryption + * Length should be a multiple of the block + * size (16 bytes) * * \param ctx CAMELLIA context * \param mode CAMELLIA_ENCRYPT or CAMELLIA_DECRYPT