- Fixed typos in copied text (Fixed ticket #39)
diff --git a/include/polarssl/cipher.h b/include/polarssl/cipher.h
index 0f6dda5..f1196da 100644
--- a/include/polarssl/cipher.h
+++ b/include/polarssl/cipher.h
@@ -5,7 +5,7 @@
*
* \author Adriaan de Jong <dejong@fox-it.com>
*
- * Copyright (C) 2006-2010, Brainspark B.V.
+ * Copyright (C) 2006-2011, Brainspark B.V.
*
* This file is part of PolarSSL (http://www.polarssl.org)
* Lead Maintainer: Paul Bakker <polarssl_maintainer at polarssl.org>
@@ -167,7 +167,7 @@
} cipher_info_t;
/**
- * Generic message digest context.
+ * Generic cipher context.
*/
typedef struct {
/** Information about the associated cipher */
@@ -392,7 +392,7 @@
* contained within it will be padded with the size of
* the last block, and written to the output buffer.
*
- * \param ctx Generic message digest context
+ * \param ctx Generic cipher context
* \param output buffer to write data to. Needs block_size data available.
* \param olen length of the data written to the output buffer.
*
diff --git a/include/polarssl/md.h b/include/polarssl/md.h
index aaafa8b..eca8646 100644
--- a/include/polarssl/md.h
+++ b/include/polarssl/md.h
@@ -5,7 +5,7 @@
*
* \author Adriaan de Jong <dejong@fox-it.com>
*
- * Copyright (C) 2006-2010, Brainspark B.V.
+ * Copyright (C) 2006-2011, Brainspark B.V.
*
* This file is part of PolarSSL (http://www.polarssl.org)
* Lead Maintainer: Paul Bakker <polarssl_maintainer at polarssl.org>
@@ -176,7 +176,7 @@
*
* \returns \c 0 on success, \c POLARSSL_ERR_MD_BAD_INPUT_DATA on
* parameter failure, \c POLARSSL_ERR_MD_ALLOC_FAILED if
- * allocation of the cipher-specific context failed.
+ * allocation of the digest-specific context failed.
*/
int md_init_ctx( md_context_t *ctx, const md_info_t *md_info );