- Added extra comments explaining CBC mode should receive
multiples of block size as input.
diff --git a/include/polarssl/aes.h b/include/polarssl/aes.h
index 83fe8f2..dc971c1 100644
--- a/include/polarssl/aes.h
+++ b/include/polarssl/aes.h
@@ -73,6 +73,8 @@
/**
* \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 @@
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