summaryrefslogtreecommitdiff
path: root/crypto/apr_crypto_openssl.c
diff options
context:
space:
mode:
authorRainer Jung <rjung@apache.org>2010-07-25 17:38:56 +0000
committerRainer Jung <rjung@apache.org>2010-07-25 17:38:56 +0000
commite08638a21de24f3920b7a4a0f179f8597cedfab4 (patch)
treee37509d466bd456dd5ba35b92f64865616f2c88f /crypto/apr_crypto_openssl.c
parent184d02286f457bcecd4370bc253cabdd0d68b6ea (diff)
downloadapr-e08638a21de24f3920b7a4a0f179f8597cedfab4.tar.gz
Fix APR crypto doxygen docs (function params).
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@979075 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'crypto/apr_crypto_openssl.c')
-rw-r--r--crypto/apr_crypto_openssl.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/crypto/apr_crypto_openssl.c b/crypto/apr_crypto_openssl.c
index 55a0c2f47..0e60758d1 100644
--- a/crypto/apr_crypto_openssl.c
+++ b/crypto/apr_crypto_openssl.c
@@ -109,7 +109,6 @@ static apr_status_t crypto_init(apr_pool_t *pool,
/**
* @brief Clean encryption / decryption context.
* @note After cleanup, a context is free to be reused if necessary.
- * @param driver - driver to use
* @param ctx The block context to use.
* @return Returns APR_ENOTIMPL if not supported.
*/
@@ -132,7 +131,6 @@ static apr_status_t crypto_block_cleanup_helper(void *data) {
/**
* @brief Clean encryption / decryption context.
* @note After cleanup, a context is free to be reused if necessary.
- * @param driver - driver to use
* @param f The context to use.
* @return Returns APR_ENOTIMPL if not supported.
*/
@@ -157,10 +155,10 @@ static apr_status_t crypto_cleanup_helper(void *data) {
* algorithms and other parameters will be set per context. More than
* one context can be created at one time. A cleanup will be automatically
* registered with the given pool to guarantee a graceful shutdown.
- * @param driver - driver to use
* @param pool - process pool
+ * @param provider - provider to use
* @param params - array of key parameters
- * @param context - context pointer will be written here
+ * @param ff - context pointer will be written here
* @return APR_ENOENGINE when the engine specified does not exist. APR_EINITENGINE
* if the engine cannot be initialised.
*/
@@ -219,7 +217,6 @@ static apr_status_t crypto_make(apr_pool_t *pool, const apr_crypto_driver_t *pro
* operations.
* @note If *key is NULL, a apr_crypto_key_t will be created from a pool. If
* *key is not NULL, *key must point at a previously created structure.
- * @param driver - driver to use
* @param p The pool to use.
* @param f The context to use.
* @param pass The passphrase to use.
@@ -229,6 +226,7 @@ static apr_status_t crypto_make(apr_pool_t *pool, const apr_crypto_driver_t *pro
* @param type 3DES_192, AES_128, AES_192, AES_256.
* @param mode Electronic Code Book / Cipher Block Chaining.
* @param doPad Pad if necessary.
+ * @param iterations Iteration count
* @param key The key returned, see note.
* @param ivSize The size of the initialisation vector will be returned, based
* on whether an IV is relevant for this type of crypto.
@@ -335,12 +333,8 @@ static apr_status_t crypto_passphrase(apr_pool_t *p, const apr_crypto_t *f,
* *ctx is not NULL, *ctx must point at a previously created structure.
* @param p The pool to use.
* @param f The block context to use.
- * @param type 3DES_192, AES_128, AES_192, AES_256.
- * @param mode Electronic Code Book / Cipher Block Chaining.
* @param key The key
- * @param keyLen The key length in bytes
* @param iv Optional initialisation vector.
- * @param doPad Pad if necessary.
* @param ctx The block context returned, see note.
* @param blockSize The block size of the cipher.
* @return Returns APR_ENOIV if an initialisation vector is required but not specified.