aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/modes
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/modes')
-rw-r--r--src/lib/modes/cipher_mode.h2
-rw-r--r--src/lib/modes/mode_pad/mode_pad.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/modes/cipher_mode.h b/src/lib/modes/cipher_mode.h
index 2abaa7ac8..f08989a9e 100644
--- a/src/lib/modes/cipher_mode.h
+++ b/src/lib/modes/cipher_mode.h
@@ -78,7 +78,7 @@ class BOTAN_DLL Cipher_Mode
/**
* Process some data. Input must be in size update_granularity() byte blocks.
- * @param blocks in/out parameter which will possibly be resized
+ * @param buffer in/out parameter which will possibly be resized
* @param offset an offset into blocks to begin processing
*/
void update(secure_vector<byte>& buffer, size_t offset = 0)
diff --git a/src/lib/modes/mode_pad/mode_pad.h b/src/lib/modes/mode_pad/mode_pad.h
index ab0941f54..d52fbd7b6 100644
--- a/src/lib/modes/mode_pad/mode_pad.h
+++ b/src/lib/modes/mode_pad/mode_pad.h
@@ -28,8 +28,8 @@ class BOTAN_DLL BlockCipherModePaddingMethod
/**
* Add padding bytes to buffer.
* @param buffer data to pad
- * @param size of the final block in bytes
- * @param size of each block in bytes
+ * @param final_block_bytes size of the final block in bytes
+ * @param block_size size of each block in bytes
*/
virtual void add_padding(secure_vector<byte>& buffer,
size_t final_block_bytes,