commit | 4c067eb92b004254bc1c890f773f6d4bef9618f1 | [log] [tgz] |
---|---|---|
author | Paul Bakker <p.j.bakker@polarssl.org> | Sun May 17 10:25:19 2009 +0000 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Sun May 17 10:25:19 2009 +0000 |
tree | 7b1c753941ba49ac4179fb17b89c30ea7e5f4f7d | |
parent | cde51572df987e4cd945fe6a8659eac647a17ea2 [diff] [blame] |
- Added extra comments explaining CBC mode should receive multiples of block size as input.
diff --git a/include/polarssl/camellia.h b/include/polarssl/camellia.h index 1b144e7..9bf5e91 100644 --- a/include/polarssl/camellia.h +++ b/include/polarssl/camellia.h
@@ -72,6 +72,8 @@ /** * \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